DAP+NETCDF Using the netCDF-4 Data Model

Slides:



Advertisements
Similar presentations
1 NASA CEOP Status & Demo CEOS WGISS-25 Sanya, China February 27, 2008 Yonsook Enloe.
Advertisements

James Gallagher OPeNDAP 1/10/14
Unidata Seminar Series - 30 January 2004 OPeNDAP and THREDDS: Access and Discovery of Distributed Scientific Data Yuan Ho Ethan Davis UCAR Unidata.
The HDF Group ESIP Summer Meeting Easy access HDF files via Hyrax Kent Yang The HDF Group 1 July 8 – 11, 2014.
Recent Work in Progress
A Common Data Model In the Middle Tier Enabling Data Access in Workflows … HDF/HDF-EOS Workshop XIV September 29, 2010 Doug Lindholm Laboratory for Atmospheric.
Streaming NetCDF John Caron July What does NetCDF do for you? Data Storage: machine-, OS-, compiler-independent Standard API (Application Programming.
The Future of NetCDF Russ Rew UCAR Unidata Program Center Acknowledgments: John Caron, Ed Hartnett, NASA’s Earth Science Technology Office, National Science.
Unidata TDS Workshop THREDDS Data Server Overview October 2014.
Session 2: Using OPeNDAP-enabled Applications to Access Australian Data Services and Repositories eResearch Australasia 2011, ½ Day Morning Workshop, Thursday.
OPeNDAP and the Data Access Protocol (DAP) Original version by Dave Fulker.
The HDF Group ESIP Summer Meeting HDF OPeNDAP update Kent Yang The HDF Group 1 July 8 – 11, 2014.
MapServer-OGR-OPeNDAP: An Integrated System for Uniform Access to Land and Oceanographic Datasets Frank Warmerdam Consultant Thomas E. Burk University.
Unidata’s TDS Workshop TDS Overview – Part II October 2012.
OOI CyberInfrastructure: Technology Overview - Hyrax January 2009 Claudiu Farcas OOI CI Architecture & Design Team UCSD/Calit2.
Unidata TDS Workshop TDS Overview – Part I XX-XX October 2014.
OPeNDAP Developer’s Workshop Feb OPeNDAP 4 Data Server – Hyrax James Gallagher and Nathan Potter 21 Feb 2007.
February 2-3, 2006SRB Workshop, San Diego P eter Cao, NCSA Mike Wan, SDSC Sponsored by NLADR, NFS PACI Project in Support of NCSA-SDSC Collaboration Object-level.
Mid-Course Review: NetCDF in the Current Proposal Period Russ Rew
December 1, 2005HDF & HDF-EOS Workshop IX P eter Cao, NCSA December 1, 2005 Sponsored by NLADR, NFS PACI Project in Support of NCSA-SDSC Collaboration.
1 Dapper and Argo Joe Sirott PMEL/NOAA. 2 What is Dapper? Web server that provides distributed access to in-situ data via OPeNDAP protocol Clients include.
VB and C# Programming Basics. Overview Basic operations String processing Date processing Control structures Functions and subroutines.
Integrating netCDF and OPeNDAP (The DrNO Project) Dr. Dennis Heimbigner Unidata Go-ESSP Workshop Seattle, WA, Sept
DAP4 James Gallagher & Ethan Davis OPeNDAP and Unidata.
Unidata TDS Workshop THREDDS Data Server Overview
Easily Serving and Accessing HDF-EOS2 Datasets Using DODS Technologies Richard Chinman, UCAR-IITA, DODS Project Manager
Accessing Remote Datasets using the DAP protocol through the netCDF interface. Dr. Dennis Heimbigner Unidata netCDF Workshop August 3-4, 2009.
Advanced Utilities Extending ncgen to support the netCDF-4 Data Model Dr. Dennis Heimbigner Unidata netCDF Workshop August 3-4, 2009.
1 DAPPER: An OPENDAP Server for In-Situ Data Joe Sirott Donald W. Denbo, Willa H Zhu University of Washington PMEL/NOAA.
Unidata’s TDS Workshop TDS Overview – Part I July 2011.
Remote Data Access with OPeNDAP Dr. Dennis Heimbigner Unidata netCDF Workshop October 25, 2012.
The HDF Group Data Interoperability The HDF Group Staff Sep , 2010HDF/HDF-EOS Workshop XIV1.
The HDF Group Introduction to netCDF-4 Elena Pourmal The HDF Group 110/17/2015.
OPeNDAP Hyrax Harnessing the power of the BES OPeNDAP Hyrax Back-End Server Patrick West
Information Technology: GrADS INTEGRATED USER INTERFACE Maps, Charts, Animations Expressions, Functions of Original Variables General slices of { 4D Grids.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
NetCDF and Scientific Data Durability Russ Rew, UCAR Unidata ESIP Federation Summer Meeting
Weathertop Consulting, LLC Server-side OPeNDAP Analysis – Concrete steps toward a generalized framework via a reference implementation using F-TDS Roland.
The NetCDF/OPeNDAP (NO) Project or “What part of NO do you not understand?”
LAS and THREDDS: Partners for Education Roland Schweitzer Steve Hankin Jonathan Callahan Joe Mclean Kevin O’Brien Ansley Manke Yonghua Wei.
Unidata Technologies Relevant to GO-ESSP: An Update Russ Rew
9/21/04 James Gallagher Server-Side: The Basics This part of the workshop contains an overview of the two servers which OPeNDAP has developed. One uses.
Update on Unidata Technologies for Data Access Russ Rew
Utilities for netCDF-4 Dr. Dennis Heimbigner Unidata Advanced netCDF Workshop July 25, 2011.
TSDS (HPDE DAP). Objectives (1) develop a standard API for time series-like data, (2) develop a software package, TSDS (Time Series Data Server), that.
Unidata Infrastructure for Data Services Russ Rew GO-ESSP Workshop, LLNL
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Data Browsing/Mining/Metadata
Other Services in Hyrax
HDF5 Metadata and Page Buffering
netCDF Support for In-Memory Files
Tools to Build Clients.
Efficiently serving HDF5 via OPeNDAP
Remote Data Access Update
Extending the NetCDF Supported Data Formats using a Dispatch Layer
Transport and Access of Data, Metadata, and Semantics using RDF
Unidata Advanced netCDF Workshop
Access HDF5 Datasets via OPeNDAP’s Data Access Protocol (DAP)
NetCDF and Scientific Data Standard
Remote Data Access Update
Chapter 40 Remote Method Invocation
Accessing Remote Datasets through the netCDF interface.
OPeNDAP: Accessing Data in a Distributed, Heterogeneous Environment
Dispatch Layer and the NetCDF Architecture
Chapter 46 Remote Method Invocation
Chapter 46 Remote Method Invocation
ExPLORE Complex Oceanographic Data
Future Development Plans
OPeNDAP/Hyrax Interfaces
Presentation transcript:

DAP+NETCDF Using the netCDF-4 Data Model Dr. Dennis Heimbigner Unidata netCDF Workshop August 3-4, 2009

Overview RECAP: netCDF-DAP Integration RECAP: Architecture DAP Elements Example DDS and DAS DAP to netCDF-4 Translation netCDF-3 versus netCDF-4 Translation Extending the URL Format Constraints: Projections Constraints: Selections Figuring Out Constraints Client Parameters Revisited Building and Installing netCDF-4 + DAP Debugging Notes

RECAP: NETCDF-DAP Integration Unidata has integrated the DAP protocol into the standard netCDF distribution. It replaces the OPeNDAP provided libnc-dap library It closely mimics the original libnc-dap translation Implemented completely in C, versus libnc-dap, which is C++ This talk is primarily about the support for the netCDF-4 data model

RECAP: Architecture / Flow GRIB netCDF-3 HDF5 . Internet DAP Converter Remote Data Server DAP to netCDF Converter NCO (NC operators) NCDUMP Other Programs Data Request Using DAP URL Data in DAP Format netCDF library Part of the netCDF Library Web Server

DAP Elements DDS - describes the format of the data DAS - describes associated attributes DATADDS - the actual data; aka DODS DATADDS contains two things: A subset of the DDS followed by The actual data

Web Debugging If you are knowledgeable about DAP, you can look at the underlying DDS, DAS, DATADDS, and more, using a web browser Procedure: Remove the client parameters Add to the base url one of the following extensions: .dds, .das, .asc (or .ascii), .html, .info

Example DDS and DAS Dataset { Sequence { String Drifter_ID; String Date_Sampled; Float64 Latitude; Float64 Longitude; Float64 SST; ... } Drifters; } EOS.DBO; Attributes { FacilityGlobal { String DataCenter "COAS"; String DrifterType "MetOcean"; } Drifter_ID { String Description “Instrument unique identifier Date_Sampled { String Description "Date/time"; String Timezone "GMT"; }...

DAP to NETCDF-4 Translation The client parameter [mode=netcdf4] will cause the DAP DDS and data to be translated to the netCDF-4 data model netCDF-4 model is more powerful than DAP, so the translation only uses part of netCDF-4 Versus the netCDF-3 (classic) translation Lossless All DAP primitive types handled (no upgrading) DAP sequences are translated to combinations of netCDF-4 compound types and vlen types Performance improvement No need for string or sequence dimensions

NETCDF-3 vs netCDF-4 translation netcdf Drifters { dimensions: Drifters = 5 ; // Sequence // dimension stringdim64 = 64 ; // String // dimension variables: char Drifters.Drifter_ID(Drifters, stringdim64) ; double Drifters.Latitude(Drifters); double Drifters.Longitude(Drifters); double Drifters.SST(Drifters); netcdf Drifters { types: compound Drifters_record_t { string Drifter_ID ; double Latitude ; double Longitude ; double SST; }; Drifters_record_t(*) Drifters_t ; variables: Drifters_t Drifters ; … …

Extending the DAP URL Format <clientparams><baseurl>?<constraint> Additional client parameters Constraint tells the OPeNDAP server what subset of the dataset to send Constraint is divided into two parts Projections Selections Currently disabled Data Specified By Full DDS Data Specified By Constraints

Client Parameters Revisited Explicitly specify [mode=netcdf4] in order to get the netcdf-4 translation Or specify NC_NETCDF4 mode to nc_open() Additional [show=…] cases [show=dds] (attribute “_dds”) [show=das] (attribute “_das”) [show=datadds] (attribute “_datadds”) String attribute defining the DDS, DAS, or DDS part of the DATADS, respectively, as obtained from the OPeNDAP server

Constraints: Projections Projections specify array slices of underlying OPeNDAP variables to send http://test.opendap.org/dods/dts?windW[0:10:2] Format: ?<projection>,<projection>,… Projection is DAP variable name followed by a slice specification [first:stride:last] Note: last, not count

Constraints: Selections Selection constraints tell the OPeNDAP server to subset parts of the dataset based on the values in the dataset Can only be applied to DAP Sequences http://test.opendap.org/dap/data/&CS02.light>0 Format: &<selection>&<selection>&… Multiple selections are treated as logical “and” Selections always follow the projections, if any in the URL

Figuring out Constraints How does one know what constraints to apply? The problem is that they are defined in terms of the underlying DAP data model => Breaks the netCDF abstraction For projections, the “show=projection” parameter can help by showing the underlying DAP variables For Selections, you need to know something about the values in the original dataset Look at the .info file?

Build and Install NETCDF4 + DAP Add --enable-dap and --enable-netcdf-4 to your list of ./configure flags Specify the curl library (libcurl) if ./configure cannot find it --with-curl=<path to curl library> As usual, of course, specify --with-hdf5 and --with-zlib

Example OPeNDAP Data Sources http://test.opendap.org:8080/dods/dts http://test.opendap.org http://test.opendap.org/dap/data/ff http://www.opendap.org/data/datasets.cgi ?xmlfilename=datasets.xml&exfunction=none

Questions?

Demo Sites http://test.opendap.org:8080/dods/dts/Drifters http://test.opendap.org/dap/data/ff http://www.usgodae.org/dods/GDS/coamps_cent_am http://www.opendap.org/data/datasets.cgi?xmlfilename=datasets.xml&exfunction=none