Creating unlimited dimensions with xarray.Dataset.to_netcdf
See original GitHub issue@shoyer you wrote in a comment on another issue
xray doesn’t use or set unlimited dimensions. (It’s pretty irrelevant for us, given that NumPy arrays can be stored in either row-major or column-major order.)
I see that xarray does not need UNLIMITED
dimensions internally. But I need to create a netCDF file that I subsequently can append to (along the time
dimension, in this case). Can this be done?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:18 (15 by maintainers)
Top Results From Across the Web
xarray.Dataset.to_netcdf
By default, no dimensions are treated as unlimited dimensions. Note that unlimited_dims may also be set via dataset.encoding["unlimited_dims"] . compute ( bool ...
Read more >Incremental storage to netcdf using xarray - Stack Overflow
Now I am trying to save the dataset to netcdf file. ... I have specified 'dtime' as unlimited dimension to make it extendable...
Read more >How to Create Xarray Datasets - Towards Data Science
Xarray is an open-source Python package for working with labeled multi-dimensional datasets. It is indispensable when working with NetCDF ...
Read more >Append data to NetCDF file along unlimited dimension?
I hope somebody ran into this issue before. According to the xarray docs it does not seem that one can append xarray.Dataset variables...
Read more >omfit_classes.omfit_data — OMFIT
Dataset _load = Dataset.load import xarray.core.dataarray DataArray ... complex_dim='i', *args, **kw): r""" Method for saving xarray Dataset to NetCDF, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All - I’m actively working on this. I have an initial implementation and will get it cleaned up here in the next few days. Stay tuned.
The ability to set unlimited dimension would be really useful for me as well.