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

Allow data to be omitted from netCDF files during cfdm.write #221

Closed
davidhassell opened this issue Oct 28, 2022 · 0 comments · Fixed by #222
Closed

Allow data to be omitted from netCDF files during cfdm.write #221

davidhassell opened this issue Oct 28, 2022 · 0 comments · Fixed by #222
Labels
enhancement New feature or request netCDF write Relating to writing netCDF datasets
Milestone

Comments

@davidhassell
Copy link
Contributor

It would be useful to be able to not write to disk the data from selected construct types.

This would not affect the amount of netCDF variables and dimensions that are written to the file, nor the netCDF variables' attributes, but would not create data on disk for the requested variables thus resulting in a smaller file than it otherwise would have been.

When the new file is read then the data of these variables will be represented by an array of all missing data.

This will be useful for cases when there is a need to store a file's metadata structure for inspection, but the data values are immaterial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request netCDF write Relating to writing netCDF datasets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant