From e47f1ad7037d98688d8d70ce449670160ab59f5a Mon Sep 17 00:00:00 2001 From: "Pacific Islands Ocean Observing System (PacIOOS)" Date: Tue, 31 Jan 2017 10:30:19 -1000 Subject: [PATCH] platform, instrument, and location keywords 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. --- src/main/resources/xsl/nciso/UnidataDD2MI.xsl | 213 +++++++++++++++--- 1 file changed, 180 insertions(+), 33 deletions(-) diff --git a/src/main/resources/xsl/nciso/UnidataDD2MI.xsl b/src/main/resources/xsl/nciso/UnidataDD2MI.xsl index 44966e1..97063f2 100755 --- a/src/main/resources/xsl/nciso/UnidataDD2MI.xsl +++ b/src/main/resources/xsl/nciso/UnidataDD2MI.xsl @@ -3,6 +3,7 @@ Recent Modifications + 2017-01-31. Add platform and instrument keywords; also, look for location keywords in global attributes in addition to THREDDSMetadata. John Maurer jmaurer@hawaii.edu 2017-01-26. Disable output escaping on location keywords to avoid double-escaping the ">" separators to ">". John Maurer jmaurer@hawaii.edu 2017-01-11. gmd:credit can pull from global attributes "acknowledgment" (UDDC) or "acknowledgement" (ACDD). John Maurer jmaurer@hawaii.edu 2016-02-26. Strip white space from before/after keywords. John Maurer jmaurer@hawaii.edu @@ -66,7 +67,20 @@ - + + + + + + + + GCMD Location Keywords + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +