Open oliviermarti opened 1 year ago
Information on that is located in .encoding
dd.encoding
{'unlimited_dims': {'time'},
'source': '/home/kai/python/gists/xarray/tas_Amon_IPSL-CM6A-LR_piControl_r1i1p1f1_gr_185001-234912.nc'}
@oliviermarti After trying to find the related information in the documentation, I totally understand the question.
Here are some pointers, but the documentation should really be improved so that this is more discoverable:
https://docs.xarray.dev/en/stable/search.html?q=%22unlimited_dims%22#
Maybe those who have this in everyday use can immediately see where the docs can be enhanced.
@kmuehlbauer thanks for the help, and thanks for the doc :-)
What is your issue?
When one reads a netCDF file, there is not solution to determine if there is an unlimited dimension, and determine which one.
I really need to be able to handle that. I need to process a variable, and write the result with the exact same informations about dimensions and coordinates, with all attributes and characteristics.
Thanks,
Olivier