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

Method chunk

xarray/core/variable.py:2804–2814  ·  view source on GitHub ↗
(
        self,
        chunks={},  # noqa: B006  # even though it's unsafe, it is being used intentionally here (#4667)
        name=None,
        lock=False,
        inline_array=False,
        chunked_array_type=None,
        from_array_kwargs=None,
    )

Source from the content-addressed store, hash-verified

2802 )
2803
2804 def chunk(
2805 self,
2806 chunks={}, # noqa: B006 # even though it's unsafe, it is being used intentionally here (#4667)
2807 name=None,
2808 lock=False,
2809 inline_array=False,
2810 chunked_array_type=None,
2811 from_array_kwargs=None,
2812 ):
2813 # Dummy - do not chunk. This method is invoked e.g. by Dataset.chunk()
2814 return self.copy(deep=False)
2815
2816 def _as_sparse(self, sparse_format=_default, fill_value=_default):
2817 # Dummy

Callers

nothing calls this directly

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected