rosetta icon indicating copy to clipboard operation
rosetta copied to clipboard

Add custom global attributes

Open aleksandervines opened this issue 8 years ago • 3 comments

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.

aleksandervines avatar May 24 '16 12:05 aleksandervines

Totally makes sense. I could see exposing this ability in two ways in the interface:

  1. A button which adds a row of two free text inputs - one for metadata keyword and one for value.
  2. 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?

lesserwhirls avatar May 30 '16 13:05 lesserwhirls

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.

aleksandervines avatar Jun 01 '16 11:06 aleksandervines

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

aleksandervines avatar Oct 13 '16 13:10 aleksandervines