Tom Nicholas

Results 1090 comments of Tom Nicholas

Thanks for raising this @etienneschalk ! I generally agree that methods for going to/from JSON would be generally useful, and that the methods should be consistent across `Dataset`/`DataTree`, but the...

@pydata/xarray are any of these failures blocking us from releasing? I'm itching to release both `xarray.DataTree` (tracked here https://github.com/pydata/xarray/issues/8572#issuecomment-2436055217) and zarr-python v3 compatibility.

Thanks for these thoughts @DahnJ ! I'm still processing them (and I think I need to read them a few more times) but I want to get clear on the...

I guess your 4th entry is "chunk physical coordinates", which seems to be the locations of {centroids / boundaries / ...} of chunks (i) in label space (iii). From https://earthmover-community.slack.com/archives/C07NQCBSTB7/p1747515390511479:...

@mpiannucci pointed out that the HRRR people do something vaguely similar: https://mesowest.utah.edu/html/hrrr/zarr_documentation/html/python_data_loading.html

> If we set the seed, we get the same hierarchy Excellent! Thank you for the detailed response here. > Maybe there are better solutions. You might want to look...

> I would like to have a function xr.to_netcdf that writes a list (or a dictionary) of datasets to a single NetCDF4 file. If you've read through all of #4118...

> In my case, we are talking about a very unusual application of the NetCDF4 groups feature: We store literally thousands of very small NetCDF datasets in a single file....

> I don't think our project would add DataTree as a new dependency just for this as long as we have a very easy and viable solution of ourselves. FYI...

FYI I think your `_xr_open_dataset_multi` function can now be replaced with [`xr.open_groups`](https://docs.xarray.dev/en/latest/generated/xarray.open_groups.html#xarray.open_groups). That function only opens the file once, but returns a `dict[str, xr.Dataset]`. > Furthermore, when using `save_mfdataset` with...