Open pramod-thupaki opened 3 years ago
The following notebook: https://colab.research.google.com/github/cioos-siooc/cioos-siooc-standards/blob/jessy-dev/ocean_standards/Retrieve_NERC_Terms.ipynb#scrollTo=nVyYhcBY3RrW present an example of how to retrieve the P01 terms from the NVS server and use that regex method above to retrieve the specific terms for interest.
I've been looking a bit more into this and I think one pretty robust avenue to map BODC terms to CF would be to leverage the BODC label format through a regex of the expression. That way, we can identify the lowest term which is the best match to a CF term. Any more specific terms would still fall into that too:
Here's a first example of such mapping with the first term in the dictionary been the expression to match within the P01 labels . The sub dictionary P07 present the matching standard_name(s).
Using such method can easily regroup together the different levels of P01 terms. A similar method can likely be use for other mapping to P01.