Download presentation
Presentation is loading. Please wait.
Published byEthelbert Byrd Modified over 9 years ago
1
CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan Michael.P.Morahan@nasa.gov
2
Metadata Mapping Table: Agenda Brief overview Description of feature recommend feature fields (table) Use case example POST call o add new group and new value with description o assign new value to entries GET call - retrieving matching entries Delete call- remove entry from table 2
3
Brief overview: Description of feature Is a feature for tagging metadata records with arbitrary "flags” to allow external partners to organize collections of metadata. This would allow partners to create collection subsets highly customized to a specialized discipline or interest outside of what is defined in metadata. Partners creating collections of metadata need not be involved with the metadata authoring process and no changes are required on the authors part. These tags are not publicly displayed in any web interface. The tags can be used in creating IDN portal subsets or any other searches on IDN. 3
4
Brief overview: Recommend fields (table) FieldNameField TypeField description Groupvarchar(1024)Creator or provider associated with the value. Example: ceos.wgiss.cwic Namevarchar(1024)Name given to field value. Example: public_data_sets ValueMediumList of approved valid keywords Example: cwic_public_all, cwic_public_csw, cwic_public_opensearch DescriptionMediumDescription of available input values. Example: Collection approved for CWIC distribution through CSW server 4
5
Example: POST call Adding new value to the Mapping table Group: org.ceos.wgiss.cwic o Name: public_data_sets Value: cwic_public Description: "Set to cwic_public when this record is to be included in the CWIC repository” o Name: echo10.DataSetID Value: "MODIS/Terra Calibrated Radiances 5-Min L1B Swath 1km V005" Description: the ID of the record in the ECHO system 5
6
Example: POST call curl \ -X POST \ -d "value=cwic_public&text=true+when+public" \ http://gcmddemo.gsfc.nasa.gov/mws/tags/dif/org.ceos.wgiss.cwic/public_data_sets/MOD021KM http://gcmddemo.gsfc.nasa.gov/mws/tags/dif/org.ceos.wgiss.cwic/public_data_sets/MOD021KM curl \ -X POST \ -d "value=MODIS/Terra+Calibrated+Radiances+5- Min+L1B+Swath+1km+V005" \ http://gcmddemo.gsfc.nasa.gov/mws/tags/dif/org.ceos.wgiss.cwic/echo10.DataSetID/MOD021KM http://gcmddemo.gsfc.nasa.gov/mws/tags/dif/org.ceos.wgiss.cwic/echo10.DataSetID/MOD021KM 6
7
Example: GET call Query to GET tagged entries: curl http://gcmddemo.gsfc.nasa.gov/mws/tags/dif/org.ceos.wgiss.cwic/public_data_sets/?entryId=MOD021KM => "cwic_public" 7
8
Example: GET call Output of GET call: MOD021KM org.ceos.wgiss.cwic public_data_sets Set to cwic_public when this record is to be included in the CWIC repository 2014-04-09 16:33:31.0 cwic_public org.ceos.wgiss.cwic echo10.DataSetID the ID of the record in the ECHO system 2014-04-09 16:46:05.0 MODIS/Terra Calibrated Radiances 5-Min L1B Swath 1km V005 8
9
Example: Remove call Removing entries: curl -X DELETE http://gcmddemo.gsfc.nasa.gov/mws/tags/dif/org.ceos.wgiss.cwic/public_data_sets/MOD021KM/ 9
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.