Skip to content

Add flags to dfo.odf for variables handling  #69

@JessyBarrette

Description

@JessyBarrette

Issue

As of now a number of different parsers are generating and or mapping the original variable store within a source file to a variable vocabulary.

Some of those variables map to multiple vocabulary terms, as example for the GF3 term TEMP_01 will map to the following BODC terms based on the organization (IML vs BIO), the variable label, its units and the instrument associated:

  • TEMPPR01 Temperature of the water body
  • TEMPP681 Temperature (IPTS-68) of the water body
  • TEMPP901 Temperature (ITS-90) of the water body

By default the tool outputs all the original variables as well as the mapped variables from BODC.
This has for goal to make it easier to present all the potential mapping within ERDDAP.
However this can significantly increase the size of the generated files with extra variables which are not mandatory.

Suggestion

In some cases, only the original variables are desired and within the others only the most precise BODC term would be needed.

It would good to add a optional flag within the dfo.odf parser to handle the different cases:

  1. original: Keep original variable names (still populate the variables attributes to the most accurate BODC term)
  2. rename: Map ODF variables to BODC's most accurate term
  3. multi: Generate all BODC associated variables (present stage)

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions