MCPcopy Index your code
hub / github.com/pydata/xarray / _get_keep_attrs

Method _get_keep_attrs

xarray/computation/rolling.py:254–258  ·  view source on GitHub ↗
(self, keep_attrs)

Source from the content-addressed store, hash-verified

252 raise ValueError(f"Mapping argument is necessary for {self.ndim}d-rolling.")
253
254 def _get_keep_attrs(self, keep_attrs):
255 if keep_attrs is None:
256 keep_attrs = _get_keep_attrs(default=True)
257
258 return keep_attrs
259
260
261class DataArrayRolling(Rolling["DataArray"]):

Callers 9

methodMethod · 0.95
countMethod · 0.95
_constructMethod · 0.45
reduceMethod · 0.45
_array_reduceMethod · 0.45
constructMethod · 0.45
wrapped_funcMethod · 0.45
wrapped_funcMethod · 0.45

Calls 1

_get_keep_attrsFunction · 0.90

Tested by

no test coverage detected