Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting time as an unlimited dimension in netCDF #81

Closed
ctroupin opened this issue Mar 30, 2021 · 0 comments
Closed

Setting time as an unlimited dimension in netCDF #81

ctroupin opened this issue Mar 30, 2021 · 0 comments

Comments

@ctroupin
Copy link
Member

Shouldn't we define the time in the netCDF file storing the climatology as a record dimension?

A dimension length is an arbitrary positive integer, except that only one dimension in a classic netCDF dataset can have the length UNLIMITED. In a netCDF-4 dataset, any number of unlimited dimensions can be used.
Such a dimension is called the unlimited dimension or the record dimension. A variable with an unlimited dimension can grow to any length along that dimension. The unlimited dimension index is like a record number in conventional record-oriented files.

Doing so, we don't have to edit the files with nco to merge new files with previous products.
Also maybe the dimension observations (used for obslon, obslat etc) could be unlimited. To discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants