cwic + opensearch: it works with browsers, too archie warnock ([email protected]) lingjun kang...
TRANSCRIPT
![Page 1: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/1.jpg)
CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO
Archie Warnock ([email protected])
Lingjun Kang ([email protected])
Genyong Yu ([email protected])
![Page 2: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/2.jpg)
Summary• Not all data providers are accessible via OpenSearch• CWIC provides an OpenSearch (and CSW) gateways to
remote data partners, regardless of their native search protocol
• Custom clients like CWIC-Smart use this capability to greatly simplify and enhance the process
• BUT• Your browser can do OpenSearch, too
![Page 3: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/3.jpg)
Background• This is the essence of the two-step search
Search Collections at IDNIDN provides pointers to CWIC granule search and a template
URL to search CWICCWIC OpenSearch provides a template URL to search remote
data partners• Clients (ideally, fully-programmatic ones) can do this
for you• BUT
• Your browser can do this, too
![Page 4: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/4.jpg)
Search IDN OSDD• ISRO INSAT-3D Imager L2B SST
• Request generic IDN OSDD (it tells you how to search the IDN)http://gcmd.gsfc.nasa.gov/KeywordSearch/default/openSearch.jsp?clientId=CWIC
• Find the IDN OSDD URL template in the Atom response<Url type="application/atom+xml" template="http://gcmd.gsfc.nasa.gov/KeywordSearch/OpenSearch.do?searchTerms={searchTerms}&count={count?}&startPage={startPage?}&geoBox={geo:box?}&timeStart={time:start?}&timeEnd={time:end?}&MetadataType=0&output=atom&Portal=GCMD&clientId=CWIC">
![Page 5: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/5.jpg)
IDN Response
• ISRO INSAT-3D Imager L2B SST (continued)• Use the URL template to request the dataset OSDD
http://gcmd.gsfc.nasa.gov/KeywordSearch/OpenSearch.do?searchTerms=INSAT*&MetadataType=0&output=atom&Portal=cwic&clientId=fromgcmd
• Find the CWIC OSDD URL Template in the Atom response<entry> <!-- cwic Specific OpenSearch --> <link rel="search" type="application/opensearchdescription+xml“ title="CEOS WGISS Integrated Catalog (CWIC)” href="http://cwic.wgiss.ceos.org/opensearch/datasets/ 3DIMG_L2B_SST/osdd.xml?clientId=fromgcmd"/>
![Page 6: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/6.jpg)
Search CWIC OSDD
• Use CWIC OSDD for INSAT-3D Imager L2B SST• Request the OSDD for the dataset (it tells you how to search)
http://cwic.wgiss.ceos.org/opensearch/datasets/3DIMG_L2B_SST/osdd.xml?clientId=fromgcmd
• Find the template in the Atom response<Url type="application/atom+xml" template="http://cwic.wgiss.ceos.org/opensearch/granules.atom?datasetId=3DIMG_L2B_SST&startIndex={startIndex?}&count={count?}&timeStart={time:start?}&timeEnd={time:end?}&geoBox={geo:box?}&clientId=fromgcmd">
![Page 7: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/7.jpg)
Search CWIC for Granules
• Search CWIC for ISRO INSAT-3D Imager L2B SST granules• Get the request URL (it does the search)
http://cwicdev.wgiss.ceos.org/opensearch/granules.atom?datasetId=3DIMG_L2B_SST&startPage=1&count=1&timeStart=2013-10-01T00:00:00Z&timeEnd=2015-05-04T23:59:59Z&geoBox=0.843296,-81.04153,163.15671,81.04153&clientId=fromgcmd
• Look for granules in the Atom response<entry> <title>3DIMG_20OCT2014_1330_L2B_SST</title> <id>http://cwicdev.wgiss.ceos.org/opensearch/granules.atom? uid=3DIMG_L2B_SST:MOSDAC:3DIMG_L2B_SST:20OCT2014:1330</id>...
![Page 8: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/8.jpg)
ISRO GranuleContinued -…<georss:box>-81.04 163.15 81.04 0.84</georss:box><link title="large_thumbnail" href="http://www.mosdac.gov.in/servlet/Image?image=preview&loc=/mosdac_preview/3D_IMG/preview/2014/20OCT/3DIMG_20OCT2014_1330_L2B_SST.jpg" rel="enclosure"/><link title="Browse image URL" href="http://www.mosdac.gov.in/servlet/Image?image=preview&loc=/mosdac_preview/3D_IMG/preview_thumb/2014/20OCT/3DIMG_20OCT2014_1330_L2B_SST.jpg" rel="icon"/><link title="Browser" href="http://www.mosdac.gov.in/servlet/Image?image=preview&loc=/mosdac_preview/3D_IMG/preview_thumb/2014/20OCT/3DIMG_20OCT2014_1330_L2B_SST.jpg" rel="enclosure"/><link title="MOSDAC" href="http://mosdac.gov.in/DirectOrder.do?mode=getProduct&metadataid=2285454" rel="enclosure"/><link title="Order" href="http://mosdac.gov.in/DirectOrder.do?mode=getProduct&metadataid=2285454" rel="enclosure"/>
![Page 9: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/9.jpg)
ISRO Browse Image
![Page 10: CWIC + OPENSEARCH: IT WORKS WITH BROWSERS, TOO Archie Warnock (warnock@awcubed.com) Lingjun Kang (lkang3@masonlive.gmu.edu) Genyong Yu (gyu@gmu.edu)](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf841a28abf838c87054/html5/thumbnails/10.jpg)
In Conclusion
• We mean it when we say OpenSearch is simpleEasy to implement (for programmers – it’s just HTTP)Functional, even without a specialized clientUsers gain access to remote collections that don’t natively
support OpenSearch by going through CWIC