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

Function da

xarray/tests/test_cftimeindex_resample.py:127–130  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

125
126
127def da(index) -> xr.DataArray:
128 return xr.DataArray(
129 np.arange(100.0, 100.0 + index.size), coords=[index], dims=["time"]
130 )
131
132
133@pytest.mark.parametrize(

Callers 7

test_calendarsFunction · 0.70
test_originFunction · 0.70
test_timedelta_offsetFunction · 0.70

Calls 1

arangeMethod · 0.80

Tested by

no test coverage detected