CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

9
CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan [email protected]

description

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

Transcript of CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

Page 1: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

CEOS CWIC Report:Metadata Mapping Table

Cocoa Beach, FL

WGISS-37, April 2014Michael [email protected]

mike
Page 2: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

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 descriptiono assign new value to entries

• GET call - retrieving matching entries• Delete call- remove entry from table

2

Page 3: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

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

Page 4: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

Brief overview: Recommend fields (table)

FieldName Field Type Field descriptionGroup varchar(1024) Creator or provider

associated with the value. Example: ceos.wgiss.cwic

Name varchar(1024) Name given to field value. Example: public_data_sets

Value Medium List of approved valid keywords Example: cwic_public_all, cwic_public_csw, cwic_public_opensearch

Description Medium Description of available input values. Example: Collection approved for CWIC distribution through CSW server

4

Page 5: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

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

Page 6: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

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

curl \-X POST \ -d <code>"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

6

Page 7: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

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

Page 8: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

Example: GET call

Output of GET call: <?xml version="1.0" encoding="UTF-8"?>

<tags><header/><results> <Entry_ID>MOD021KM</Entry_ID><Metadata> <Group>org.ceos.wgiss.cwic</Group> <Name>public_data_sets</Name> <Description>Set to cwic_public when this record is to be included in the CWIC repository</Description> <Update_Date>2014-04-09 16:33:31.0</Update_Date> <Value>cwic_public</Value></Metadata><Metadata> <Group>org.ceos.wgiss.cwic</Group> <Name>echo10.DataSetID</Name> <Description>the ID of the record in the ECHO system</Description> <Update_Date>2014-04-09 16:46:05.0</Update_Date> <Value>MODIS/Terra Calibrated Radiances 5-Min L1B Swath 1km V005</Value></Metadata></results></tags>

8

Page 9: CEOS CWIC Report: Metadata Mapping Table Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan

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