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

Function _is_standard_calendar

xarray/coding/times.py:104–105  ·  view source on GitHub ↗
(calendar: str)

Source from the content-addressed store, hash-verified

102
103
104def _is_standard_calendar(calendar: str) -> bool:
105 return calendar.lower() in _STANDARD_CALENDARS
106
107
108def _is_numpy_compatible_time_range(times):

Callers 6

get_date_typeFunction · 0.90
date_rangeFunction · 0.90
decode_cf_datetimeFunction · 0.85
_should_cftime_be_usedFunction · 0.85

Calls 1

lowerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…