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

Method calendar

xarray/coding/cftimeindex.py:692–697  ·  view source on GitHub ↗

The calendar used by the datetimes in the index.

(self)

Source from the content-addressed store, hash-verified

690
691 @property
692 def calendar(self):
693 """The calendar used by the datetimes in the index."""
694 if not self._data.size:
695 return None
696
697 return infer_calendar_name(self)
698
699 @property
700 def freq(self):

Callers

nothing calls this directly

Calls 1

infer_calendar_nameFunction · 0.90

Tested by

no test coverage detected