Can we retain the keyword hierarchy in the catalogue's metadata?
When searching for "OCEAN TEMPERATURE" in the Science Keywords there are two duplicated options. However, these are not the same because they are part of different hierarchies.
This results in:
OCEAN TEMPERATURE
*from: https://ant-nz.geodata.nz/geonetwork/srv/eng/catalog.search#/metadata/4a38ad3e-f0c9-4bf1-acd5-173ed41360a4
However, if we only retain the lowest level of the hierarchy we can't determine what keyword hierarchy "Ocean Temperature" belongs to (there are multiple hierarchies that use "OCEAN TEMPERATURE":
EARTH SCIENCE -> OCEANS -> OCEAN TEMPERATURE -> OCEAN MIXED LAYER
EARTH SCIENCE -> OCEANS -> OCEAN TEMPERATURE -> POTENTIAL TEMPERATURE
EARTH SCIENCE SERVICES -> ENVIRONMENTAL ADVISORIES > MARINE ADVISORIES -> OCEAN TEMPERATURE
+ more....
You can see in a metadata record at the GCMD that this hierarchy is retained:
https://cmr.earthdata.nasa.gov/search/concepts/C1214305813-AU_AADC.iso19115
EARTH SCIENCE > HUMAN DIMENSIONS > ENVIRONMENTAL IMPACTS > HEAVY METALS CONCENTRATION > NONE > NONE > NONE
By implementing this, the JSON will need to deal with this differently because its keywords should continue to use the lowest level of the hierarchy because if it used every keyword across the hierarchy it would end up with so many keywords the function of the keywords for searching would relate to so many records its utility would become redundant.
Can we retain the keyword hierarchy in the catalogue's metadata?
When searching for "OCEAN TEMPERATURE" in the Science Keywords there are two duplicated options. However, these are not the same because they are part of different hierarchies.
This results in: