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

Function _is_leap_year

xarray/coding/calendar_ops.py:235–237  ·  view source on GitHub ↗
(years, calendar)

Source from the content-addressed store, hash-verified

233
234
235def _is_leap_year(years, calendar):
236 func = np.vectorize(cftime.is_leap_year)
237 return func(years, calendar=calendar)
238
239
240def _days_in_year(years, calendar):

Callers 1

_days_in_yearFunction · 0.85

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…