Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

NcML/NetCDF Dataset
as Form of
OGC Web Coverage Service

Ben Domenico (for the arm-waving sections)
Stefano Nativi (for the substantive content)

Draft last modified: August 15, 2005

Background

One might ask what is to be gained by having netCDF as one form of coverage supported by WCS. There is much to be gained by both the Earth science community that used netCDF as well as by the GIS community. Among the main reasons for bringing the two together are:

Thus the inclusion of netCDF as a WCS format adds only one new data access interface that in turn brings in collections of forecast model data via a variety of protocols that are already in use in the data provider community. A draft conceptual overview of this approach is provided in THREDDS-Integrated Dataset Discovery and Access Overview

The General Idea

To incorporate netCDF as an alternative for WCS data access, extentions are needed for both the netCDF interface and the WCS specifcation. The key tasks would be:

  1. To extend the netCDF software implementing a mediation component which maps netCDF (plus conventions) data content model onto WCS data content model.
  2. To extend the WCS specification in order to support the returning of datasets characterized by a content modeled according to netCDF data content model; such datasets must be encoded in one of three possible format: netCDF file, ncML document, ncML-GML document.

Figure 1 depicts the rationale concepts as well as the extension needs.

Fig. 1 – the WCS extension to accommodate netCDF datasets

Data Model Mediation


Figure 2 shows the model mediation scenario. WCS data content model is based on ISO 19100 specifications; GML 3.x is based on ISO 19100 specifications.


Fig. 2 Model Mediation

We have already mediated the THREDDS Dataset Inventory Catalog (DIC) content model to ISO 19115 model. Besides, the ncML-GML specifications mediates from ncML-CS to GML 3.0, sorting out issues related to the lack of some metadata (we should extend the present netCDF conventions, or introduce a new one).

If such mediations, duly formalized, could be included in the WCS extension document for netCDF, they could be the basis for initiating the integration of netCDF into WCS.

Example case for netCDF WCS

For the purposes of clarifying the discussion with a specific example, we can use a collection of forecast model output files in netCDF fomr with an associated catalog. This collection is described in:

http://www.unidata.ucar.edu/projects/THREDDS/DataPublications/SampleDataPublicationFor2005AMS.htm

which provides access to the catalog and datasets via a desktop analysis and display tool that currently accesses the datasets via the OPeNDAP protocol.

If we use this case study collection for a WCS experiment, we'd have to create coverage information for the two main classes of forecast model output contained in the collection:

To support these datasets in a WCS server via a netCDF interface, the server would have to respond to GetCapabilities, DescribeCoverage, and GetCoverage requests as noted in the sections below..

GetCapabilities

GetCapabilities responses include information about available coverages:

DescribeCoverage

NcML (including NcML-GML) will be used for:

DescribeCoverage responses include information about specific coverages:

For an overview of the primary characteristics of NcML in tabular form, please see: NcML: The Key Components

For a detailed description of NcML-GML, please see NetCDF Markup Language (NcML) and its GML-based extension (NcML-GML).

GetCoverage

The currently supported WCS formats are:

A WCS server has to support one of these formats. We are proposing to add NetCDF Dataset as an additional access form. This could be included as an "other" encoding initially, but it would be good to have it as an additional supported encoding eventually.

The GetCoverage request specifies:

A NetCDF Dataset interface would have to respond to such a request with the data in netCDF dataset form.

 

 

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690