Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform, instrument, and location keywords #29

Open
wants to merge 1 commit into
base: 2.2.x
Choose a base branch
from

Conversation

pacioos
Copy link
Contributor

@pacioos pacioos commented Jan 31, 2017

@amilan17 This update looks for the following keywords and their vocabularies in global attributes and adds them to the ncISO output:

platform
platform_vocabulary
instrument
instrument_vocabulary
locations
locations_vocabulary

Note that the platform, platform_vocabulary, instrument, and instrument_vocabulary attributes are already "suggested" global attributes in the ACDD-1.3 convention. I have proposed adding locations and locations_vocabulary into the next ACDD version with favorable initial response from ESIP. Note that I previously modified ncISO to look for location keywords in THREDDSMetadata. This update continues to look there but gives precedence to the global attributes if present, especially because locations_vocabulary is not captured in THREDDSMetadata. As with the existing "keywords" attribute, I look for either comma-separated or space-separated values.

Below are examples of using these fields. Note that ">" symbols would be encoded as ">":

platform: "In Situ Ocean-based Platforms > Buoys, In Situ Ocean-based Platforms > Moorings"
platform_vocabulary: "GCMD Platform Keywords"

instrument: "In Situ/Laboratory Instruments > Chemical Meters/Analyzers > > > Fluorometers, In Situ/Laboratory Instruments > Chemical Meters/Analyzers > > > Oxygen Meters, In Situ/Laboratory Instruments > Conductivity Sensors, In Situ/Laboratory Instruments > Photon/Optical Detectors > > > Turbidity Meters, In Situ/Laboratory Instruments > Profilers/Sounders > > > CTD, In Situ/Laboratory Instruments > Temperature/Humidity Sensors > > > Temperature Sensors"
instrument_vocabulary: "GCMD Instrument Keywords"

locations: "Continent > North America > United States Of America > Hawaii, Ocean > Pacific Ocean > Central Pacific Ocean > Hawaiian Islands > Oahu > Ala Wai Canal, Ocean > Pacific Ocean > Central Pacific Ocean > Hawaiian Islands > Oahu > Honolulu"
locations_vocabulary: "GCMD Location Keywords"

Each category creates its own "gmd:descriptiveKeywords" group in the ncISO output with separate "gmd:keyword" values and a "gmd:thesaurusName". Platform and instruments, like the "keywords" attribute, get assigned a "gmd:MD_KeywordTypeCode" of "theme" while locations are assigned "place".

This update looks for the following keywords and their vocabularies in global attributes and adds them to the ncISO output:

platform
platform_vocabulary
instrument
instrument_vocabulary
locations
locations_vocabulary

Note that platform and instrument are already "suggested" global attributes in the ACDD-1.3 convention. I have proposed adding locations and locations_vocabulary into the next ACDD version with favorable initial response from ESIP. Note that I previously modified ncISO to look for location keywords in THREDDSMetadata. This update continues to look there but gives precedence to the global attributes if present, especially because locations_vocabulary is not captured in THREDDSMetadata.
@CLAassistant
Copy link

CLAassistant commented Jun 28, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants