DAP4 James Gallagher & Ethan Davis OPeNDAP and Unidata.

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
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.
® OGC Web Services Initiative, Phase 9 (OWS-9): Innovations Thread - OPeNDAP James Gallagher and Nathan Potter, OPeNDAP © 2012 Open Geospatial Consortium.
The Future of NetCDF Russ Rew UCAR Unidata Program Center Acknowledgments: John Caron, Ed Hartnett, NASA’s Earth Science Technology Office, National Science.
1 Chapter 12 Working With Access 2000 on the Internet.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
OPeNDAP Present and Future An Overview Encompassing Current Projects & Potential New Directions Dave Fulker and James Gallagher.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Unidata TDS Workshop THREDDS Data Server Overview October 2014.
Introduction Downloading and sifting through large volumes of data stored in differing formats can be a time-consuming and sometimes frustrating process.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
THREDDS Data Server, OGC WCS, CRS, and CF Ethan Davis UCAR Unidata 2008 GO-ESSP, Seattle.
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.
Implementation of Model Data Interoperability for IOOS: Successes and Lessons Learned Rich Signell USGS Woods Hole, MA / NOAA Silver Spring USA Model Data.
The HDF Group ESIP Summer Meeting HDF OPeNDAP update Kent Yang The HDF Group 1 July 8 – 11, 2014.
AIRNow Web Services Data to Go! Prepared by Steven A. Ludewig, Timothy S. Dye Sonoma Technology, Inc. Petaluma, CA John E. White U.S. Environmental Protection.
MapServer-OGR-OPeNDAP: An Integrated System for Uniform Access to Land and Oceanographic Datasets Frank Warmerdam Consultant Thomas E. Burk University.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
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.
THREDDS Data Server Ethan Davis GEOSS Climate Workshop 23 September 2011.
Coverages and the DAP2 Data Model James Gallagher.
MapServer Support for Web Coverage Services Stephen Lime - Minnesota DNR Dr. Thomas E. Burk - University of Minnesota MUM Ottawa, Canada.
1 Integrated Services Program The Virginia Metadata Training Workshop Summer, 2006 Lyle Hornbaker Integrated Services Program
Mid-Course Review: NetCDF in the Current Proposal Period Russ Rew
Accomplishments and Remaining Challenges: THREDDS Data Server and Common Data Model Ethan Davis Unidata Policy Committee Meeting May 2011.
Nadir Saghar, Tony Pan, Ashish Sharma REST for Data Services.
Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.
HDF5 OPeNDAP Project Update and Demo MuQun Yang and Hyo-Kyung Lee (The HDF Group) James Gallagher (OPeNDAP, Inc.) 1HDF and HDF-EOS Workshop XII10/17/2008.
Integrating netCDF and OPeNDAP (The DrNO Project) Dr. Dennis Heimbigner Unidata Go-ESSP Workshop Seattle, WA, Sept
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Unidata TDS Workshop THREDDS Data Server Overview
Accessing Remote Datasets using the DAP protocol through the netCDF interface. Dr. Dennis Heimbigner Unidata netCDF Workshop August 3-4, 2009.
1 NASA CEOP Status & Demo CEOS WGISS-24 Oberpfaffenhofen, Germany October 15, 2007 Yonsook Enloe.
HDF OPeNDAP Project Update MuQun Yang and Hyo-Kyung Lee The HDF Group March 31, Annual briefing to ESDIS10/31/2015.
Recent developments with the THREDDS Data Server (TDS) and related Tools: covering TDS, NCML, WCS, forecast aggregation and not including stuff covered.
NetCDF file generated from ASDC CERES SSF Subsetter ATMOSPHERIC SCIENCE DATA CENTER Conversion of Archived HDF Satellite Level 2 Swath Data Products to.
Unidata’s TDS Workshop TDS Overview – Part I July 2011.
HDF4 OPeNDAP Project Progress Report MuQun Yang and Hyo-Kyung Lee 1 HDF Developers' Meeting11/24/2015.
A Data Access Framework for ESMF Model Outputs Roland Schweitzer Steve Hankin Jonathan Callahan Kevin O’Brien Ansley Manke.
HDF5 OPeNDAP Project Update and Demo MuQun Yang and Hyo-Kyung Lee (The HDF Group) James Gallagher (OPeNDAP, Inc.) 1HDF and HDF-EOS Workshop XII, Aurora,
NetCDF and Scientific Data Durability Russ Rew, UCAR Unidata ESIP Federation Summer Meeting
Data Interoperability at the IRI: translating between data cultures Benno Blumenthal International Research Institute for Climate Prediction Columbia University.
Weathertop Consulting, LLC Server-side OPeNDAP Analysis – Concrete steps toward a generalized framework via a reference implementation using F-TDS Roland.
OPeNDAP Developer’s Workshop Feb Server-side Functions for Geo-spatial Selection James Gallagher 22 Feb 2007.
ERDDAP The Next Generation of Data Servers Bob Simons DOC / NOAA / NMFS / SWFSC / ERD Monterey, CA Disclaimer: The opinions expressed.
GES DISC Services Push Harder? Be Careful? Change Direction? What about adding ______?
CF 2.0 Coming Soon? (Climate and Forecast Conventions for netCDF) Ethan Davis ESO Developing Standards - ESIP Summer Mtg 14 July 2015.
OGC Web Services with complex data Stephen Pascoe How OGC Web Services relate to GML Application Schema.
Rich Signell Roland Viger Curtis Price USGS Community for Data Integration Feb 15, 2012.
1 2.5 DISTRIBUTED DATA INTEGRATION WTF-CEOP (WGISS Test Facility for CEOP) May 2007 Yonsook Enloe (NASA/SGT) Chris Lynnes (NASA)
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
NcBrowse: A Graphical netCDF File Browser Donald Denbo NOAA-PMEL/UW-JISAO
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.
HDF5 OPeNDAP Project Update and Demo MuQun Yang and Hyo-Kyung Lee (The HDF Group) James Gallagher (OPeNDAP, Inc.) 1HDF and HDF-EOS Workshop XII, Aurora,
DAP+NETCDF Using the netCDF-4 Data Model
MERRA Data Access and Services
Access HDF5 Datasets via OPeNDAP’s Data Access Protocol (DAP)
Remote Data Access Update
Future Development Plans
OPeNDAP/Hyrax Interfaces
Adapting an existing web server to S3
Presentation transcript:

DAP4 James Gallagher & Ethan Davis OPeNDAP and Unidata

Motivation ●Long-standing goal to correct flaws in DAP2 o Sequence constraints ill defined o Support for curvilinear grids lacking ●Other related technology has advanced o Groups in HDF5 & NetCDF4 o CDM Shared dimensions ●Web Services now pervasive o leverage this to increase DAP's usefulness

Goals ●Define DAP4 o Data model o Web services o Extensible ●Publish specification ●Release two servers ●Release two clients

DAP4 Specification Volume 1: Data Model and Constraints Volume 2: Web Services Extensions: ●CSV/Text (aka ASCII) data response* ●NetCDF data response* ●JSON responses* ●Asynchronous response

DAP4 Data Model ● Coverages: Replace Grids with a more general model: Arrays, shared dimensions and maps o ‘Coverage’ is slang for ‘discrete coverage’ (cf OGC) o Maps define the Domain of a discrete function o The Array defines the Range o Shared dimensions provide the connection between Domain and Range ● Tabular data: Sequences (tables that ‘nest’) ● Projection: subsetting based on data types ● Filters: subsetting based on values (Seq now; Arrays maybe?)

DAP4 Web Service ●Design to support simple scripts o Resource types identified by standard file extensions (“.dsr”, “.dmr”, “.dap”) ●Designed with REST in mind o Resource types identified by content negotiation o Hypertext with links

The Services Response ● DSR: Dataset Services Response ● DSR: Dataset Services Response is the ‘service endpoint’ ● This contains links to all of the other responses available from the server for a specific dataset ● A key point for/of REST ● In DAP2 the ‘base URL’ was undefined; in DAP4 the base URL for a dataset is the DSR

Content Negotiation ● DSR provides links to all of the other responses ● However, a server must implement Content Negotiation. ● i.e., a browser asking for the DMR winds up displaying a (HTML) web interface while a smart client parses XML

Dataset Metadata ● Called the DMR, this holds the information from DAP2's DDS & DAS ● Encoding: XML ● This response holds all of the variables and Attributes ● This defines the environment in which the Constraint will be evaluated

Data and Constraints ● As with DAP2, Data is returned in a two-part response o Binary uses 'reader makes right' (not XDR) ● Can request one or more variables and/or Structure fields ● Can ‘slice’ the dimensions of array variables ● Can filter Tabular (Sequence) data o A flaw in DAP2 where multiple Sequences could not be requested has been fixed o The DAP4 'filter' syntax could also support Array filtering

Goals - Revisited ●Define DAP4 - Yes o Data model o Web services o Extensible ●Publish specification - On the web ●Release two servers - Hyrax close (9/2014) & TDS yes (9/2014) ●Release two clients o netCDF Java; C not yet o C++ library

Online Information Specification: Online at docs.opendap.org* Test Servers: Hyrax-based**; TDS-based Software: C++ (libdap), Java (netCDF Java)

DAP4 Adoption Use Cases Use cases GSFC Other use cases Topics: New data model elements New web services Extensions - new return types and behaviors

UC1 Subsetter Spatial/Variable Subsetter. Our Simple Subset Wizard (SSW) works by constructing URLs to download spatial / variable subsets from the server as netCDF files ( This has allowed us to stop writing custom subsetter programs for each dataset or group of datasets. ●Constructing URLs is different but this difference is primarily syntax and not semantics ●DDS & DAS replaced by the DMR means new parsing code must be written OR a new library used ●The CE syntax is slightly different (although slicing arrays uses the same syntax with some new features that the code might find useful) ●The DSR is completely new and using that could simplify working with new data sources

UC2 Giovanni Giovanni ( provides data exploration capabilities for datasets from GES DISC as well as a few select other providers. Data are acquired from servers via OPeNDAP, saved as netCDF/CF1, which is the Giovanni internal standard. This allows the deployment of many netCDF-capable tools for analysis and data manipulation purposes. ●Wait for netCDF-C to support DAP4 ●NCO already supports netCDF enhanced data model (not sequences) o Should work without change on any dataset not containing sequences

UC3 MapServer vrt files MapServer provides WMS services for GES DISC data. Rather than site individual instances on each data server, we use the.vrt (Virtual files) capability in MapServer to set up the OPeNDAP connections needed to acquire data for the MapServer. ●This will depend on GDAL updating to support DAP4 - not currently planned, but also not overwhelmingly hard - there is an active user community for GDAL and it may update the 'DAP' driver. The code currently uses libdap (C++) which supports DAP4.

UC4 NcML We are currently experimenting with the NcML aggregation capability to see if it is feasible to offer the ability to generate time series at a point using just Hyrax and the NcML handler. ●The NcML handler in Hyrax will need modifications to work with DAP4. This may take significant effort since the NcML software is moderately complex. ●Complicating the above, Unidata may drop support for NcML aggregation

UC5 Sequence filtering We have code that filters sequences ●The syntax for filtering sequences has changed, but not much ●The old syntax: Given a Sequence 's' the old (DAP2) filter is 's.time, s.lat, s.lon, s.sst & s.lat>10 & s.lon<20' ●The new (DAP4) syntax is: o 'd4ce = /s | lat>10, lon<20' or o 'd4ce = /s.time; /s.lat; /s.lon; /s.sst | lat>10, lon<20' or o 'd4ce = /s.{time;llat;lon;sst} | lat>10, lon<20' ●Note that the new syntax does not use '&' so we can use the query string of the URL as per the IETF specification ●We can ask for two Sequences and provide separate filters for both: o 'd4ce = \s1 | lat >10, lat -80, lon <-20

UC6 Using netCDF-C My client application uses the netCDF-C library for OPeNDAP access. ●Wait for netCDF-C to support DAP4 ●Needed changes depend on how netCDF-C is used and on the structure of the dataset being accessed o If dataset is recognized by netCDF-C as a classic model dataset:  Don’t need to change anything! o If dataset is recognized by netCDF-C as an enhanced model dataset  No change if client understands enhance data model  Otherwise, need to update for enhanced data model. o DAP4 sequence filtering is not yet supported in netCDF-C