incorporating iso metadata using hdf product...

13
SESIP_0716_AJ Incorporating ISO Metadata Using HDF Product Designer Aleksandar Jelenak, John Kozimor, Ted Habermann The HDF Group This work was supported by NASA/GSFC under Raytheon Co. contract number NNG15HZ39C

Upload: hoanglien

Post on 11-Jun-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

Incorporating ISO Metadata Using HDF Product Designer

Aleksandar Jelenak, John Kozimor, Ted Habermann

The HDF Group

This work was supported by NASA/GSFC under Raytheon Co. contract number

NNG15HZ39C

Page 2: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

2

The Problem

The need for more contextual data (metadata) in HDF5 files is growing.

Page 3: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

3

The Solution

Use the current conventions to the their fullest extent.

Store the rest of metadata using the ISO 19115 standards.

Page 4: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

4

HDF Product Designer Can Help• Support for the most widely used

Earth science metadata conventions.• The latest release (v1.4) allows

import of ISO metadata objects into user designs.

Page 5: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

5

1. Use Case2. Overview3. Recommendations4. Conceptual Model

(UML)5. Implementation

(XML)6. Implementation

(NcML)HPD Design Name7. Usage (UMM)8. Crosswalks

https://wiki.earthdata.nasa.gov/x/qorT

Page 6: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

6

Convention Support

Page 7: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

7

Convention Support

Page 8: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

8

Importing ISO ObjectsSeparate project with pre-built ISO metadata components.

Page 9: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

9

Importing ISO Objects

All groups in the ISO design have default role and type attributes. Do not change these!

Repeating roles have "_<uniqueID>" added to their names

Page 10: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

10

Export As…JSON

Export

Python,MATLAB

,IDL

code

HDF5Templat

eFile

Page 11: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

11

Sample of Python Code# Group: /gmi:acquisitionInformationgrp_1 = f.create_group('gmi:acquisitionInformation')# Creating attributes for /gmi:acquisitionInformationgrp_1.attrs['role'] = "gmi:acquisitionInformation"grp_1.attrs['type'] = "gmi:MI_AcquisitionInformation"

# Group: /gmi:acquisitionInformation/gmi:instrumentgrp_2 = grp_1.create_group('gmi:instrument')# Creating attributes for /gmi:acquisitionInformation/gmi:instrumentgrp_2.attrs['role'] = "gmi:instrument"grp_2.attrs['type'] = "gmi:MI_Instrument"grp_2.attrs['id'] = "instrument_1"

# Group: /gmi:acquisitionInformation/gmi:instrument/gmi:citationgrp_3 = grp_2.create_group('gmi:citation')# Creating attributes for /gmi:acquisitionInformation/gmi:instrument/gmi:citationgrp_3.attrs['role'] = "gmi:citation"grp_3.attrs['type'] = "gmd:CI_Citation"grp_3.attrs['id'] = "fgdccitation_26722.114902.35002"

# Group: /gmi:acquisitionInformation/gmi:instrument/gmi:citation/gmd:dategrp_4 = grp_3.create_group('gmd:date')# Creating attributes for /gmi:acquisitionInformation/gmi:instrument/gmi:citation/gmd:dategrp_4.attrs['role'] = "gmd:date"grp_4.attrs['type'] = "gmd:CI_Date"

Page 12: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

12

HDF5 Template File

Keyword values in HDF5

Page 13: Incorporating ISO Metadata Using HDF Product Designerhdfeos.org/workshops/ws19/presentations/2016_ESIP_HP… · PPT file · Web view2016-08-03 · Incorporating ISO Metadata Using

SESIP_0716_AJ

13

This work was supported by NASA/GSFC under Raytheon Co. contract number NNG15HZ39C