Skip to content

Capture VNAMEs when converting NA to NC #61

@agstephens

Description

@agstephens

@FObersteiner said:

One thing that came up for me was that it might be useful (for me at least ^^) to dump VNAMEs when converting na to nc (i.e. to a global attribute maybe). The VNAMEs I have to deal with are not exactly standard and I want to provide sufficient info on those variables in the netCDF file as well (so the user doesn't have to open the na file additionally).

@agstephens said:

Do you want to propose a global attribute such as vnames_from_source_data ?

@FObersteiner said:

yes, that sounds reasonable.
Another option might be to set the original VNAME from the na file as an attribute of the xr.DataArray (make a "vname_from_source_data" tag).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions