+ All Categories
Home > Documents > Data integration with the Climate Science Modelling Language

Data integration with the Climate Science Modelling Language

Date post: 04-Jan-2016
Category:
Upload: marilu
View: 31 times
Download: 2 times
Share this document with a friend
Description:
Data integration with the Climate Science Modelling Language. Andrew Woolf 1 , Bryan Lawrence 2 , Roy Lowry 3 , Kerstin Kleese van Dam 1 , Ray Cramer 3 , Marta Gutierrez 2 , Siva Kondapalli 3 , Susan Latham 2 , Dominic Lowe 2 , Kevin O’Neill 1 , Ag Stephens 2 1 CCLRC e-Science Centre - PowerPoint PPT Presentation
20
Fourth GO-ESSP Meeting Rutherford Appleton Lab Chilton, UK 7 June, 2005 1 http://ndg.nerc.ac.uk/csml Data integration with the Climate Science Modelling Language Andrew Woolf 1 , Bryan Lawrence 2 , Roy Lowry 3 , Kerstin Kleese van Dam 1 , Ray Cramer 3 , Marta Gutierrez 2 , Siva Kondapalli 3 , Susan Latham 2 , Dominic Lowe 2 , Kevin O’Neill 1 , Ag Stephens 2 1 CCLRC e-Science Centre 2 British Atmospheric Data Centre 3 British Oceanographic Data Centre
Transcript
Page 1: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

1

http://ndg.nerc.ac.uk/csml

Data integration with theClimate Science Modelling Language

Andrew Woolf1, Bryan Lawrence2, Roy Lowry3, Kerstin Kleese van Dam1, Ray Cramer3, Marta Gutierrez2, Siva Kondapalli3, Susan

Latham2, Dominic Lowe2, Kevin O’Neill1, Ag Stephens2

1CCLRC e-Science Centre2British Atmospheric Data Centre

3British Oceanographic Data Centre

Page 2: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

2

http://ndg.nerc.ac.uk/csml

Outline

Background

Standards – a framework for interoperability

Climate Science Modelling Language (CSML)

Perspectives

Page 3: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

3

http://ndg.nerc.ac.uk/csml

Background

Data integration requirements:• scalability across providers• warehousing not an option• enhance access and use, ‘outwards-facing’ (e.g. impacts

community, policymakers)• storage heterogeneity

Semantics as integration ‘key’• fundamentally, an information community is defined by

shared semantics• common language across providers (and users)• supports wrapper/mediator architecture

Page 4: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

4

http://ndg.nerc.ac.uk/csml

Standards

Emerging ISO standards• TC211 – around 40 standards for geographic information

• Cover activity spectrum: discovery access use

• Provide a framework for data integration

NDG

Universe of discourse

...

startTime[1]bottomTime[1]salinity[*]temperature[*]depth[*]

CTDProfile

...

...

Feature types

ISO 19103

<?xml version="1.0" encoding="UTF-8"?> <schema targetNamespace="http://ndg.nerc.ac.uk/csml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:csml="http://ndg.nerc.ac.uk/csml" xmlns:om="http://www.opengis.net/om" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1"> <annotation> <documentation>CSML application schema</documentation> </annotation> <!--====================================================================== --> <import namespace="http://www.opengis.net/gml" schemaLocation="GML-3.1.0/base/gml.xsd"/> <import namespace="http://www.opengis.net/om" schemaLocation="phenomenon.xsd"/> <!--====================================================================== --> <!--===== Root element for CSML dataset =====--> <!--====================================================================== --> <complexType name="DatasetType"> <complexContent> <extension base="gml:AbstractGMLType"> <sequence> <element ref="csml:UnitDefinitions" minOccurs="0" maxOccurs="unbounded"/> <element ref="csml:ReferenceSystemDefinitions" minOccurs="0" maxOccurs="unbounded"/> <element ref="csml:PhenomenonDefinitions" minOccurs="0"/> <element ref="csml:_ArrayDescriptor" minOccurs="0" maxOccurs="unbounded"/> <element ref="gml:FeatureCollection" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType> <element name="Dataset" type="csml:DatasetType"/> <!--====================================================================== --> <!--===== Dictionary/definition elements =====--> <!--====================================================================== --> <complexType name="ReferenceSystemDefinitionsType"> <complexContent> <extension base="gml:DictionaryType"/> </complexContent> </complexType> <element name="ReferenceSystemDefinitions" type="csml:ReferenceSystemDefinitionsType"/> <complexType name="ReferenceSystemDefinitionsPropertyType"> <sequence> <element ref="csml:ReferenceSystemDefinitions" minOccurs="0"/> </sequence> <attributeGroup ref="gml:AssociationAttributeGroup"/> </complexType>

Application schema

ISO 19109

FTC

ISO 19110 <gml:definitionMember> <om:Phenomenon gml:id="taxon"> <gml:description>The taxon name</gml:description> <gml:name codeSpace="http://www.vliz.be">taxon</gml:name> </om:Phenomenon> </gml:definitionMember> </NDGPhenomenonDefinitions> <!--===================================================================--> <gml:FeatureCollection> <!-- ============================================================== --> <gml:featureMember> <NDGPointFeature gml:id="ICES_100"> <NDGPointDomain> <domainReference> <NDGPosition srsName="urn:EPSG:geographicCRS:4979" axisLabels="Lat Long" uomLabels="degree degree"> <location>55.25 6.5</location> </NDGPosition> </domainReference> </NDGPointDomain> <gml:rangeSet> <gml:DataBlock> <gml:rangeParameters> <gml:CompositeValue> <gml:valueComponents> <gml:measure uom="#tn"/> <gml:measure uom="#amount"/> <gml:measure uom="#gsm"/> </gml:valueComponents> </gml:CompositeValue> </gml:rangeParameters> <gml:tupleList> 'ANTHOZOA',63.1,missing 'Scoloplos armiger',66.1,missing 'Spio filicornis',10,missing 'Spiophanes bombyx',60.3,missing 'Capitellidae',131.8,missing 'Pholoe',10,missing 'Owenia fusiformis',23.4,missing 'Hypereteone lactea',6.8,missing 'Anaitides groenlandica',13.2,missing 'Anaitides mucosa',6.8,missing

ISO 19118

Page 5: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

5

http://ndg.nerc.ac.uk/csml

Standards

Geographic ‘features’• “abstraction of real world

phenomena” [ISO 19101]• Type or instance• Encapsulate important

semantics in universe of discourse

Application schema• Defines semantic content and

logical structure of datasets• ISO standards provide toolkit:

• spatial/temporal referencing

• geometry (1-, 2-, 3-D)• topology• dictionaries (phenomena,

units, etc.)• GML – canonical encoding

[from ISO 19109 “Geographic information – Rules for Application Schema”]

Page 6: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

6

http://ndg.nerc.ac.uk/csml

Standards

The importance of governance• Information community defined by shared semantics

• Need community process to manage those semantics (definitions, models, vocabularies, taxonomies, etc.)

• e.g. CF conventions for netCDF files

• Role of Feature Type Catalogues [ISO 19110] and registers [ISO 19135]

Governance as driver for granularity• Remit / interest determines appropriate granularity

• ref. IOC, IHO, WMO

abstract generic highly specialised

feature types spectrum

<temperatureProfile/><measurement type=“Radiosonde” measurand=“temperature”/> <Sonde parameter=“temperature”/>

Page 7: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

7

http://ndg.nerc.ac.uk/csml

Climate ScienceModelling Language

Aims:• provide semantic integration mechanism for NDG data• explore new standards-based interoperability framework• emphasise content, not container

Design principles:• offload semantics onto parameter type (‘phenomenon’, observable,

measurand)• e.g. wind-profiler, balloon temperature sounding

• offload semantics onto CRS• e.g. scanning radar, sounding radar

• ‘sensible plotting’ as discriminant• ‘in-principle’ unsupervised portrayal

• explicitly aim for small number of weakly-typed features (in accordance with governance principle and NDG remit)

Page 8: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

8

http://ndg.nerc.ac.uk/csml

Climate ScienceModelling Language

CSML feature types• defined on basis of geometric and topologic structure

CSML feature type Description Examples

TrajectoryFeature Discrete path in time and space of a platform or instrument. ship’s cruise track, aircraft’s flight path

PointFeature Single point measurement. raingauge measurement

ProfileFeature Single ‘profile’ of some parameter along a directed line in space.

wind sounding, XBT, CTD, radiosonde

GridFeature Single time-snapshot of a gridded field. gridded analysis field

PointSeriesFeature Series of single datum measurements. tidegauge, rainfall timeseries

ProfileSeriesFeature Series of profile-type measurements.

vertical or scanning radar, shipborne ADCP, thermistor chain timeseries

GridSeriesFeature Timeseries of gridded parameter fields.numerical weather prediction model, ocean general circulation model

Page 9: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

9

http://ndg.nerc.ac.uk/csml

Climate ScienceModelling Language

CSML feature types• examples...

ProfileSeriesFeature

ProfileFeature

GridFeature

Page 10: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

10

http://ndg.nerc.ac.uk/csml

Climate ScienceModelling Language

Application schema• logical structure and semantic content of NDG ‘Dataset’• Based on GML 3.1

«Type»GML::AbstractGMLType

«Type»Dataset

«Type»UnitDefinitions

«Type»ReferenceSystemDefinitions

«Type»PhenomenonDefinitions

«Type»AbstractArrayDescriptor

«Type»GML::FeatureCollection

**

*

*

*

*

*

*

*

*

Page 11: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

11

http://ndg.nerc.ac.uk/csml

Climate ScienceModelling Language

Numerical array descriptors• provides ‘wrapper’ architecture

for legacy data files• Connected’ to data model

numerical content through ‘xlink:href’

Subtypes:• InlineArray• ArrayGenerator• FileExtract (NASAAmes,

NetCDF, GRIB)

Composite design pattern for aggregation

+arraySize[1]+uom[0..1]+numericType[0..1]+numericTransform[0..1]+regExpTransform[0..1]

«Type»AbstractArrayDescriptor

+aggType[1]+aggIndex[1]

«Type»AggregatedArray

1

+component

*

+values[*]

«Type»InlineArray

+expression[1]

«Type»ArrayGenerator

+fileName[1]

«Type»AbstractFileExtract

+variableName[1]+index[0..1]

«Type»NASAAmesExtract

+variableName[1]

«Type»NetCDFExtract

+parameterCode[1]+recordNumber[0..1]+fileOffset[0..1]

«Type»GRIBExtract

+id+metaDataProperty+description+name

«Type»GML::AbstractGMLType

Page 12: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

12

http://ndg.nerc.ac.uk/csml

Climate ScienceModelling Language

Provides semantic abstraction layer

instantiateNetCDF(DatasetID, FeatureID)

<CSML>+writeNetCDF()

CSMLAbstractFeature(SAX) demarshalling

+read()

AbstractFileExtract

<CSML>

filestore

<CSML>

NetCDF

WCS

WFS

OPeNDAP

....

<CSML>

Page 13: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

13

http://ndg.nerc.ac.uk/csml

Perspectives

Status:• Initial feature types defined

• First draft application schema complete

• Trial software tooling being coded (parser, netCDF instantiation)

• Initial deployment trial across BODC, BADC datasets

Future:• Separate out wrapper implementation (array descriptors)

• Disallow ‘internal’ dictionaries

• More strongly-typed features?

• Follow (and pursue!) GML evolution, enhance compliance

• Expand tooling

Related work• WMO, IOC, IHO

• MarineXML

• MOTIIVE (INSPIRE)

Page 14: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

14

http://ndg.nerc.ac.uk/csml

“MarineXML is an initiative of the IOC/IODE of UNESCO to improve marine data exchange within the marine community. The European Commission has provided a funding contribution to this initiative as part of its 5th Framework Programme to undertake a ‘pre-standardisation’ task of identifying the approaches the marine community should adopt regarding XML technology to achieve improved data exchange.”

EU project – MarineXML

<gml:definitionMember> <om:Phenomenon gml:id="taxon"> <gml:description>The taxon name</gml:description> <gml:name codeSpace="http://www.vliz.be">taxon</gml:name> </om:Phenomenon> </gml:definitionMember> </NDGPhenomenonDefinitions> <!--===================================================================--> <gml:FeatureCollection> <!-- ============================================================== --> <gml:featureMember> <NDGPointFeature gml:id="ICES_100"> <NDGPointDomain> <domainReference> <NDGPosition srsName="urn:EPSG:geographicCRS:4979" axisLabels="Lat Long" uomLabels="degree degree"> <location>55.25 6.5</location> </NDGPosition> </domainReference> </NDGPointDomain> <gml:rangeSet> <gml:DataBlock> <gml:rangeParameters> <gml:CompositeValue> <gml:valueComponents> <gml:measure uom="#tn"/> <gml:measure uom="#amount"/> <gml:measure uom="#gsm"/> </gml:valueComponents> </gml:CompositeValue> </gml:rangeParameters> <gml:tupleList> 'ANTHOZOA',63.1,missing 'Scoloplos armiger',66.1,missing 'Spio filicornis',10,missing 'Spiophanes bombyx',60.3,missing 'Capitellidae',131.8,missing 'Pholoe',10,missing 'Owenia fusiformis',23.4,missing 'Hypereteone lactea',6.8,missing 'Anaitides groenlandica',13.2,missing 'Anaitides mucosa',6.8,missing

“... there is a momentum from organisations such as IHO and WMO to adopt consistent approaches for the vocabulary of their data along the reference implementation of ISO Standards prescribed by the [Open Geospatial Consortium]...”

“The NDG format proved a robust recipient for the data from each community. It produced economical files with few redundant elements, striking about the right balance between weak and strong typing.”

Perspectiveshttp://www.marinexml.net

Page 15: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

15

http://ndg.nerc.ac.uk/csml

Food forGO-ESSP thought

CF vs GML ???

CF

structure

vocabs

Dictionaries

GML dictionary

FeatureTypes

mapping

refers to

Page 16: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

16

http://ndg.nerc.ac.uk/csml

Food forGO-ESSP thought

Dictionaries we need:• units (udunits, POSC)• ‘phenomena’ (CF, BODC)• CRS (EPSG)

Governance roadmap:• ISO 19110 “Feature cataloguing methodology”• ISO 19126 “Profile FACC Data Dictionary”• ISO 19135 “Procedures for registration of geographical information items”• IOC 19xxx registries:

IOC (Recommendation IODE-XVIII.7, May 2005)

Recommends the establishment of a MarineXML Steering Group with the following terms of reference:

(i) establish a Pilot Project to set up an ISO 19100 series of standards compliant standards register, with possible collaboration with IHO, to be hosted by the IODE Project Office;

(ii) monitor and assist with XML development activities in other IODE/JCOMM groups, such as ETDMP, GEBICH and SGMEDI.

Page 17: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

17

http://ndg.nerc.ac.uk/csml

Food forGO-ESSP thought

GALEON

Use case

GALEON NDG

1 THREDDS catalog WCS ‘Capabilities XML’ MOLES WCS ‘Capabilities XML’

2 ncML-G WCS describeCoverage() CSML WCS describeCoverage()

3 {netCDF,OPeNDAP} getCoverage() GeoTIFF 4 {netCDF,OPeNDAP} getCoverage() ncML-

GML{netCDF,OPeNDAP} getCoverage() CSML

5 {netCDF,OPeNDAP} getCoverage() ncML-GML + netCDF

{netCDF,OPeNDAP} getCoverage() CSML + netCDF

6 clients (e.g. DODS library for WCS)

7 rasdaman/PostgreSQL getCoverage()

Thoughts:• WCS requires support for at least {GeoTIFF | HDF-EOS | DTED | NITF | GML}

• ...however, CF-netCDF should ideally be one of these

• WCS spec shouldn’t be modified for anyone’s pet format

Page 18: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

18

http://ndg.nerc.ac.uk/csml

NDG & OGCe.g.: netCDF data through W{M,C}S

• http://glue.badc.rl.ac.uk/cgi-bin/mapserv?map=/var/www/html/jiscInterop/nerc.map

Page 19: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

19

http://ndg.nerc.ac.uk/csml

Food forGO-ESSP thought

> foreach i (1 2 3 4)

grep ’iso|ogc|gis|gml’ GO-ESSP/* | wc

This year so far:• Lawrence

• Middleton

• Hankin

• Tandy

• O’Brien & Hankin

• (~ 40%)

Page 20: Data integration with the Climate Science Modelling Language

Fourth GO-ESSP MeetingRutherford Appleton Lab

Chilton, UK7 June, 2005

20

http://ndg.nerc.ac.uk/csml

AUKEGGS

Collaboration between NERC DataGrid (UK) and SEEGrid community (Australia)

• https://www.seegrid.csiro.au/twiki/bin/view/AUKEGGS/WebHome

Aims:• NDG deployment at TPAC ‘Digital Library for Oceans and Climate’

• Joint OGC demonstrator with NOO Oceans Portal

• ‘Grid-enabling’ OGC web services by profiling against WSRF

• Legacy data integration patterns (e.g. wrappers for relational/file)

• Sept workshop, Edinburgh: “Grid Middleware and Geospatial Standards for Earth System Science Data”


Recommended