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

Method setup

asv_bench/benchmarks/dataset_io.py:351–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

349
350class IOReadMultipleNetCDF3(IOReadMultipleNetCDF4):
351 def setup(self):
352 # TODO: Lazily skipped in CI as it is very demanding and slow.
353 # Improve times and remove errors.
354 _skip_slow()
355
356 requires_dask()
357
358 self.make_ds()
359 self.format = "NETCDF3_64BIT"
360 xr.save_mfdataset(self.ds_list, self.filenames_list, format=self.format)
361
362 def time_load_dataset_scipy(self):
363 xr.open_mfdataset(self.filenames_list, engine="scipy").load()

Callers

nothing calls this directly

Calls 3

_skip_slowFunction · 0.85
requires_daskFunction · 0.85
make_dsMethod · 0.45

Tested by

no test coverage detected