Page 1 CSISS Center for Spatial Information Science and Systems CWIC Development Team Meeting, 2014 CWIC OpenSearch Design and Implementation Yuanzheng.

Slides:



Advertisements
Similar presentations
CWIC Development Team Yuanzheng Shao Lingjun Kang Archie Warnock
Advertisements

Proposed update of Technical Guidance for INSPIRE Download services based on SOS Matthes Rieke, Dr. Albert Remke (m.rieke, 52°North.
CWIC Start OpenSearch prototype January 28 th 2014 Calin Duma CWIC and GCMD OpenSearch Implementations.
CWIC Exception & Error Handling Archie Warnock Lingjun Kang Genyong Yu
1 Web Search Interfaces. 2 Web Search Interface Web search engines of course need a web-based interface. Search page must accept a query string and submit.
CWIC Metrics Eugene G. Yu Lingjun Kang Archie Warnock
Support for Client Partners Eugene G. Yu Lingjun Kang Archie Warnock
CEOS IDN Report Cocoa Beach, FL WGISS-37, April 2014 Michael Morahan
WGISS-37 Meeting Tuesday April 15 th 2014, 1:00PM CWIC-Smart A generic OpenSearch client Calin Duma Doug Newman
Slide: 1 CWIC Status Report Yonsook Enloe WGISS-39, Tsukuba May 13, 2015.
CWIC/IDN synchronization Lingjun Kang Michael Morahan
Feature Collections Subsetting 1. Overview 2. NCSS 2.1. Dataset description 2.2. Grid requests 2.3. Grid as point requests 3. CdmrFeature.
Earth Data Open Search Specifications Doug Newman (NASA ECHO) CWIC January 2014.
GCMD/IDN STATUS AND PLANS Stephen Wharton CWIC Meeting February19, 2015.
Page 1 CSISS Center for Spatial Information Science and Systems Design and Implementation of CWIC Metrics Weiguo Han, Liping Di, Yuanzheng Shao, Lingjun.
1 OPeNDAP/ECHO Demo Integrating and Chaining services September, 2006 CEOS WGISS 22 Annapolis, MD.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
1 Maintaining the momentum of OpenSearch in Earth Science data discovery Doug Newman (NASA ECHO) & Dr Chris Lynnes (GES DISC) 12/11/13 10:50am PT IN32A-03.
Page 1 CSISS Center for Spatial Information Science and Systems WGISS-37 meeting,2014 CWIC OpenSearch Implementation Yuanzheng Shao, Lingjun Kang, Archie.
Chapter 6 Server-side Programming: Java Servlets
Page 1 CSISS Center for Spatial Information Science and Systems CWIC Development Team Meeting, 2014 Overview CWIC/IDN Synchronization Lingjun Kang
WGISS 37 CCMEO Data Provider Status Patrick King April 15, 2014.
WGISS-40: IDN Report Michael Morahan WGISS-40 Fall meeting / Harwell, United Kingdom
Archie Warnock, A/WWW Enterprises OCG Catalog Specification v2.0 Overview and Discussion Archie Warnock, Doug Nebert Yonsook Enloe, Jolyon Martin May 14,
Page 1 CSISS Center for Spatial Information Science and Systems Access HDF-EOS data with OGC Web Coverage Service - Earth Observation Application Profile.
Page 1 CSISS Center for Spatial Information Science and Systems CWIC Metrics: Current and Future Weiguo Han, Liping Di, Yuanzheng Shao, Lingjun Kang Center.
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
Preliminary Ocean Project Page 1 WGISS SG May 15, C. Caspar G. Tandurella P. Goncalves G. Fallourd I. Petiteville Preliminary Ocean Project Phase.
CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock Lingjun Kang Genyong Yu
CWIC Development Team Archie Warnock CWIC Development Team Workshop, Greenbelt, MD January 2014.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Archibald Warnock FGDC Activities CIP/INFEO Interoperability and ISO CD2 Metadata Activities.
Federated Space-Time Query for Earth Science Data Using OpenSearch Conventions ESIP Federated Search Cluster Chris Lynnes Bruce Beaumont Ruth Duerr Hook.
CWIC Developers Meeting January 28 th 2014 Calin Duma CSW and OpenSearch from the CWIC Start client perspective.
Slide: 1 CWIC Status Report Yonsook Enloe WGISS-40, Harwell UK Oct 1, 2015.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Page 1 CSISS Center for Spatial Information Science and Systems CWIC Development Team Meeting, 2014 CWIC Server-Client Interactions Yuanzheng Shao, Lingjun.
CEOS Open Search Best Practices Doug Newman (NASA ECHO) CWIC January 2014.
Page 1 Federated Earth Observation (FedEO) Status CEOS WGISS Meeting #40 28 Sep – 02 Oct, 2015 Harwell, UK Hosted by UKSA M.Albani, P.Mougnaud, A.Della.
What is ECHO? ECHO Open Search ECHO Facts NASA’s Earth Observing System ClearingHOuse (ECHO) acts as the core metadata.
CWIC Open Search Best Practices Doug Newman (NASA ECHO) CEOS WGISS-37 April 15th 2014 Presenter: Archie Warnock (A/WWW Enterprises)
1 ECHO ECHO 9.0 for Data Partners Rob Baker January 23, 2007.
CEOS OpenSearch Project Yoshiyuki Kudo (JAXA) WGISS-37.
Page 1 CSISS Center for Spatial Information Science and Systems CWIC Development Team Meeting, 2014 Adding more ECHO datasets to CWIC Lingjun Kang
Page 1 OpenSearch Project CEOS WGISS Meeting #40 Interoperability Interest Group M.Albani, P.Mougnaud, A.Della Vecchia (ESA) Yves Coene (Spacebel) WGISS#40.
ECHO Technical Interchange Meeting 2013 Timothy Goff 1 Raytheon EED Program | ECHO Technical Interchange 2013.
CWIC Development Team Yuanzheng Shao Lingjun Kang Archie Warnock
Page /06/2014HMA-S Final Presentation HMA-S Final Presentation OGC ROSEO Protocol D. Marchionni, Telespazio S.p.A. June 11, 2014.
CWIC Status Report Yonsook Enloe yonsook. k.
M. Albani, P. Mougnaud, A. Della Vecchia (ESA)
HMAS - Task 4 OpenSearch Extensions
Michael Morahan CEOS WGISS-43 Meeting
CAP-378 and “Conhecer para não ignorar”
EUMETSAT CWIC Status Report
ESIP Federated Search Cluster
OpenSearch: the data search API for everyone
CWIC Status Report Yonsook Enloe yonsook. k.
CWIC Status Report Yonsook Enloe yonsook. k.
CWICSmart A programmatically-derived user interface for Open Search implementations WGISS-39 Doug Newman (NASA EOSDIS – Raytheon) This work was supported.
WGISS Connected Data Assets April 5, 2017 Yonsook Enloe
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Tweaking CWIC Practices to Fit
CEOS WGISS INTEGRATED CATALOG (CWIC)
EUMETSAT CMR/CWIC Status Report
WGISS Connected Data Assets Client Guide Oct 23, 2018 Archie Warnock
Status OpenSearch Standardisation Activities - HMA-S Project
ESIP Winter Meeting 2016 January 2016
OpenSearch and JSON-LD for enhanced Earth observation data and service discovery Dr. Ingo Simonis Workshop on making spatial data discoverable through.
WGISS WGISS Connected Data Assets Status Report October, 2019 CWIC Team Eugene Yu (GMU), Archie Warnock (A/WWW), Li Lin (GMU)
Presentation transcript:

Page 1 CSISS Center for Spatial Information Science and Systems CWIC Development Team Meeting, 2014 CWIC OpenSearch Design and Implementation Yuanzheng Shao, Lingjun Kang, Archie Warnock {yshao3, CWIC Workshop, Jan 28-30, 2014 Greenbelt, MD

Page 2 CSISS Center for Spatial Information Science and Systems Outline CWIC OpenSearch Design –Standards –OSDD –Request –Response –Error Handling CWIC OpenSearch implementation –Scenario –Integrated catalog INPE GHRSST USGS/LSI –Next

Page 3 CSISS Center for Spatial Information Science and Systems OGC r8 –OGC OpenSearch Geo and Time Extensions –Latest version, to be approved. –Voting page ( ect_id=82&tab=5) OpenSearch Draft 5 – raft_5 ATOM Syndication Format – CWIC OpenSearch Design - Standards

Page 4 CSISS Center for Spatial Information Science and Systems Aim –generating OpenSearch description document dynamically based on the dataset identifier. Instruct the granule-level querying –Customized response for each dataset, hard-coded the dataset identifier in the query template Parameter –datasetId: used to specify dataset identifier (DIF Entry ID) Sample OSDD request ( for Landsat_8 dataset ) – asetId=Landsat_8http://cwicdev.wgiss.ceos.org/opensearch/datasets.atom?dat asetId=Landsat_8 CWIC OpenSearch Design - OSDD

Page 5 CSISS Center for Spatial Information Science and Systems Sample Response CWIC OpenSearch CEOS WGISS Integrated Catalog OpenSearch CWIC,CEOS,WGISS,OpenSearch CWIC Development Team INPE open en-us UTF-8 UTF-8 CWIC OpenSearch Design - OSDD

Page 6 CSISS Center for Spatial Information Science and Systems Issue –How to generate the response without passing dataset identifier? Error output General response (See ) CWIC OpenSearch Design - OSDD

Page 7 CSISS Center for Spatial Information Science and Systems Dataset Identifier (Mandatory) –The dataset identifier (datasetId) parameter is used to specify the dataset identifier which could be retrieved from IDN as DIF Entry ID. This parameter is a required parameter. The client can not specify more than one dataset in single request –Required namespace: xmlns:cwic=" Error handling for non-exist Dataset Identifier –Set HTTP Status code to 400 –Generate user-friendly exception message in –Send the response to client CWIC OpenSearch Design – Request (datasetId)

Page 8 CSISS Center for Spatial Information Science and Systems Temporal Extension (Optional) –Adopted OGC r8 –Required namespace: xmlns:time=" Parameter Values –time:start - a string describing the start of the temporal interval to search (bigger or equal to) –time:end - a string describing the end of the temporal interval to search (smaller or equal to). Format –Character string with the start of the temporal interval according to RFC-3339 date only: YYYY-MM-DD date-time: YYYY-MM-DDTHH:MI:SSZ CWIC OpenSearch Design – Request (temporal)

Page 9 CSISS Center for Spatial Information Science and Systems GEO Extension (Optional) –Adopted OGC r8 –Required namespace: xmlns:geo=" Parameter Value –geo:box - the bouding box specifying the area of interest Format –the box is defined by "west, south, east, north" coordinates of longitude, latitude, in an EPSG:4326 decimal degrees. CWIC OpenSearch Design – Request (GEO)

Page 10 CSISS Center for Spatial Information Science and Systems Used namespace in ATOM Response CWIC OpenSearch Design – ATOM Response Namespace URL xmlnshttp:// xmlns:opensearchhttp://a9.com/-/spec/opensearch/1.1/ xmlns:dchttp://purl.org/dc/elements/1.1 xmlns:georsshttp:// xmlns:geohttp://a9.com/- /opensearch/extensions/geo/1.0/ xmlns:timehttp://a9.com/- /opensearch/extensions/time/1.0/ xmlns:cwichttp://cwic.wgiss.ceos.org/opensearch/ex tensions/1.0/ openSearch or opensearch

Page 11 CSISS Center for Spatial Information Science and Systems element CWIC OpenSearch Design – ATOM Response Element Value titleFixed value: CWIC OpenSearch Response updatedCurrent system date/time authorFixed value: CEOS WGISS Integrated Catalog (CWIC) - CWIC Contact - Web: idFixed value: linkProvide the “self” link corresponding to the request linkProvide the “search” link corresponding to the OSDD request opensearch:totalResultsThe number of search results available for the current search. opensearch:startPageReplaced with the page number of the set of search results desired by the search client. opensearch:itemsPerPageThe number of search results returned per page. opensearch:QueryDefines a search query that can be performed by search clients.

Page 12 CSISS Center for Spatial Information Science and Systems / element CWIC OpenSearch Design – ATOM Response Element Value titlegranule name idFixed URL prefix followed by granule identifier. For example: SST_s2348_e2352-v01.nc.bz2 updatedgranule update time authorFixed value for each data provider georss:boxbounding box of specific entry dc:datetemporal range of specific entry summarya text construct that conveys a short summary, abstract, or excerpt of an entry. linksee next slide

Page 13 CSISS Center for Spatial Information Science and Systems / / element CWIC OpenSearch Design – ATOM Response Type of link Definitionrel valuemime-type datalink representing a data file or other science data resource; enclosureapplication/x-netcdf, application/x-hdf, etc. metadatafile with (usually) structured information about corresponding data files describedBy (ESIP) via (OGC) text/xml browserimage of the data typically used for making data request decisions iconimage/jpeg, image/png etc. ordergranule ordering urlenclosuretext/html

Page 14 CSISS Center for Spatial Information Science and Systems / / for OPeNDAP CWIC OpenSearch Design – ATOM Response Type of link Definitionrel value mime-type Onlinkurn:x-esri:specification:ServiceType:ArcIMS:Metadata:Onlinkenclosuretext/html Thumbnailurn:x-esri:specification:ServiceType:ArcIMS:Metadata:Thumbnailiconimage/png (for GHRSST) Documenturn:x-esri:specification:ServiceType:ArcIMS:Metadata:Documentviatext/xml TDSurn:x-esri:specification:ServiceType:TDSenclosureapplication/x-bzip2 FTPurn:x-esri:specification:ServiceType:FTPenclosureapplication/x-bzip2 OPeNDAPurn:x-esri:specification:ServiceType:OPeNDAPenclosuretext/html LASurn:x-esri:specification:ServiceType:LASiconimage/png (for GHRSST) Downloadurn:x-esri:specification:ServiceType:Downloadenclosureapplication/x-bzip2 WMS/WCSurn:x-esri:specification:ServiceType:WMS urn:x-esri:specification:ServiceType:WCS enclosuretext/xml

Page 15 CSISS Center for Spatial Information Science and Systems CWIC OpenSearch Design - Error Handling

Page 16 CSISS Center for Spatial Information Science and Systems CWIC OpenSearch uses the HTTP status codes for client (4xx) and server (5xx) errors. –Client-side issues 400 Bad Request: The request has an invalid syntax (i.e. badly formatted geometry) 413 Request Entity Too Large: The request originates too many returnable hits –For server side errors 500 Internal Server Error: Default code for the server side for an execution error 501 Not Implemented: When requesting an unimplemented feature (e.g. relation operator not supported) 503 Service Unavailable: When the search service is temporarily not available (due to overload or other reasons) 504 Gateway Timeout: When the search engine is a broker or aggregator to other services that fail to produce a answer within a giving time frame CWIC OpenSearch Design – Error Handling

Page 17 CSISS Center for Spatial Information Science and Systems Zero-result handling –Zero-result is not an error! HTTP status code sets to 200 –Response shall contain a valid ATOM response without element –Specify human-readable message in element –Set the value of element to 0 CWIC OpenSearch Design – Error Handling

Page 18 CSISS Center for Spatial Information Science and Systems Zero-result sample response CWIC OpenSearch Design – Error Handling CWIC OpenSearch Response No results found for your specific dataset and query parameters T21:18:20Z CEOS WGISS Integrated Catalog (CWIC) - CWIC Contact - Web:

Page 19 CSISS Center for Spatial Information Science and Systems CWIC OpenSearch Implementation

Page 20 CSISS Center for Spatial Information Science and Systems Existing catalog analysis –Provide OpenSearch API, like ECHO and CCMEO Solution: Reuse native OpenSearch API, and convert the response to universal CWIC OpenSearch response –Provide CSW API, like GHRSST Solution: Convert CWIC OpenSearch request to CSW request, interact with remote CSW catalog, parse CSW response and convert it to universal CWIC OpenSearch response –Provide SOAP API, like USGS/LSI Solution: Convert CWIC OpenSearch request to SOAP request, interact with SOAP API, parse SOAP response and convert it to universal CWIC OpenSearch response –Provide HTTP GET, like INPE Solution: Issue GET request, retrieve XML response, parse the XML and convert to universal CWIC OpenSearch response CWIC OpenSearch Implementation – Scenario

Page 21 CSISS Center for Spatial Information Science and Systems Supported catalogs –INPE –USGS/LSI –GHRSST Ongoing integrated catalogs –ECHO –CCMEO Demo –CWIC-Start CWIC OpenSearch Implementation

Page 22 CSISS Center for Spatial Information Science and Systems Discussion