-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
dataset writeRelating to writing datasetsRelating to writing datasetsenhancementNew feature or requestNew feature or request
Milestone
Description
(Copied from NCAS-CMS/cfdm#221)
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.
This is implemented in cfdm v1.10.0.1, and just needs the omit_data keyword to be brought into cf.write.
sadielbartholomew
Metadata
Metadata
Assignees
Labels
dataset writeRelating to writing datasetsRelating to writing datasetsenhancementNew feature or requestNew feature or request