rosetta
rosetta copied to clipboard
Add custom global attributes
We need our NetCDF files to contain a number of global attributes, some required and some optional, mostly following ACDD (and some other, e.g. some from OceanSITES data format reference).
E.g. we require id, naming_authority, iso_topic_category, keywords...
One can of course use a tool like nco to add these files after the file has been generated by Rosetta, but I think it is advantageous to add this functionality into Rosetta so the user only has to deal with one tool.
Totally makes sense. I could see exposing this ability in two ways in the interface:
- A button which adds a row of two free text inputs - one for metadata keyword and one for value.
- A button that adds bulk keywords with free text input for the values. The bulk keywords would come from a list of keywords for ACDD, NODC templates, etc.
What do you think?
Both please :)
In general, the user should select the keyword from a list, but he should also be allowed to add custom keywords if they have requirements that does not match with any predefined keyword list. E.g. an "other" option where a text-field pops up when its selected.
Also, why are non-standard attribute names used (at least I'm not aware of the standard, please feel free to enlighten me :)
Specifically: dataAuthor and dataSource E.g. in ACDD, you have creator, publisher and contributor which I believe should be used instead of dataAuthor and platform, instrument and source which should be used instead of dataSource