Difference between revisions of "Nsidc.ds.osdd"
From Earth Science Information Partners (ESIP)
(New page: ==Sample NSIDC Dataset Level OpenSearch Description Document== <pre> <?xml version="1.0" encoding="UTF-8"?> <!-- OpenSearch description document for nsidc.org. Author: Matthew SA...) |
|||
| Line 5: | Line 5: | ||
OpenSearch description document for nsidc.org. | OpenSearch description document for nsidc.org. | ||
| − | Author: Matthew | + | Author: Matthew Savoie |
Date: 2009-10-09 | Date: 2009-10-09 | ||
| Line 57: | Line 57: | ||
indexOffset="1" | indexOffset="1" | ||
pageOffset="1" | pageOffset="1" | ||
| − | template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={ | + | template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={nsidc:start?}&dtend={nsidc:end?}&format=atom"/> |
<Url type="text/html" | <Url type="text/html" | ||
| Line 63: | Line 63: | ||
indexOffset="1" | indexOffset="1" | ||
pageOffset="1" | pageOffset="1" | ||
| − | template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={ | + | template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={nsidc:start?}&dtend={nsidc:end?}&format=html"/> |
| Line 80: | Line 80: | ||
<Attribution>© 2009 National Snow and Ice Data Center.</Attribution> | <Attribution>© 2009 National Snow and Ice Data Center.</Attribution> | ||
</OpenSearchDescription> | </OpenSearchDescription> | ||
| + | |||
</pre> | </pre> | ||
Revision as of 08:23, October 15, 2009
Sample NSIDC Dataset Level OpenSearch Description Document
<?xml version="1.0" encoding="UTF-8"?>
<!--
OpenSearch description document for nsidc.org.
Author: Matthew Savoie
Date: 2009-10-09
Copyright (c) 2009 National Snow and Ice Data Center. All rights reserved.
-->
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:nsidc="http://nsidc.org/-/opensearch/extensions/"
xmlns:geo="http://a9.com/-/opensearch/extensions/geo/1.0/" >
<!-- Note: nsidc namespace could be esipsearch if we decide to go standard -->
<!-- Admin Details -->
<ShortName>NSIDC Search</ShortName>
<LongName>OpenSearch interface for nsidc.org</LongName>
<Description>This is the opensearch description document that describes how to query our server for dataset level information.</Description>
<Tags>nsidc.org opensearch</Tags>
<Contact>webservices@nsidc.org</Contact>
<!-- Images -->
<!--
2009-10-09: Waiting for a 16x16 icon. And the other should really be 64x64 icon?
-->
<Image width="16" height="16" type="image/x-icon">http://nsidc.org/?</Image>
<Image width="76" height="60" type="image/jpeg">http://nsidc.org/images/logo_nsidc_76x60.jpg</Image>
<!-- URL Template for refreshing this file -->
<Url type="application/opensearchdescription+xml"
rel="self"
template="http://nsidc.org/opensearch/datset"/>
<!-- URL Template for HTML results Dataset level search -->
<Url type="text/html"
rel="results"
indexOffset="1"
pageOffset="1"
template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={nsidc:start?}&dtend={nsidc:end?}&format=html"/>
<!-- Question: I'm not certain I need the version in the URL or if the
namespace above does everything we need? Would we ever want to have
two OS versions at the same time? -->
<!-- Question: Whould we use nsidc:start and nsidc:end since we're going to
limit times to GMT? I think so... so I'm including it. Other places
use time:start and time:end -->
<!-- URL Template for ATOM results Dataset level search -->
<Url type="text/xml"
rel="results"
indexOffset="1"
pageOffset="1"
template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={nsidc:start?}&dtend={nsidc:end?}&format=atom"/>
<Url type="text/html"
rel="results"
indexOffset="1"
pageOffset="1"
template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={nsidc:start?}&dtend={nsidc:end?}&format=html"/>
<!-- Example Queries -->
<Query role="example" variable="Air Temperature" />
<Query role="example" variable="Brightness Temperature"
dtstart="2000-01-01T00:00:00Z"
dtend="2000-01-31T23:59:59Z" />
<!-- Control Params -->
<Language>en-us</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Attribution>© 2009 National Snow and Ice Data Center.</Attribution>
</OpenSearchDescription>