MCPcopy
hub / github.com/pydata/xarray / has_tick_resample_freq

Function has_tick_resample_freq

xarray/tests/test_cftimeindex_resample.py:63–66  ·  view source on GitHub ↗
(freqs)

Source from the content-addressed store, hash-verified

61
62
63def has_tick_resample_freq(freqs):
64 resample_freq, _ = freqs
65 resample_freq_as_offset = to_offset(resample_freq)
66 return isinstance(resample_freq_as_offset, CFTIME_TICKS)
67
68
69def has_non_tick_resample_freq(freqs):

Callers 1

Calls 1

to_offsetFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…