pp-mo / ncdata

Free and efficient exchange of data between netcdf files, Xarray and Iris
https://ncdata.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Consider specific support to control chunking #55

Open pp-mo opened 8 months ago

pp-mo commented 8 months ago

The existing ncdata.netcdf4.from_nc4 takes a very crude approach to dask, so far only using dask "auto" chunking ~so far not even using "auto" chunking but insisting on the variable fitting in a single chunk~ ~-- that at least could surely be improved on ??~

The rationale is that we generally expect to take our data loads from iris/xarray.

But the "secondary usage" for file adjustments is still a valid future development. We should probably allow for an intelligent chunking strategy and/or direct (per-variable) user control.

pp-mo commented 8 months ago

intelligent chunking strategy and/or direct (per-variable) user control.

Like in both xarray and (shortly to be) Iris