Interactive interface for browsing global, full-resolution satellite imagery
Updated collections search endpoint from ECHO to CMR
Ryan Boller9bc97c7d6340
diff --git a/web/service/data/cmr.cgi b/web/service/data/cmr.cgiindex b4088d803..ab8efe708 100755--- a/web/service/data/cmr.cgi+++ b/web/service/data/cmr.cgi@@ -22,11 +22,9 @@ from urllib2 import Request, urlopen, HTTPErrorgranule_endpoint = "".join(["https://cmr.earthdata.nasa.gov/search/","concepts/search.json?"])-# ["https://api.echo.nasa.gov/catalog-rest/echo_catalog/",-# "granules/search.json?client_id=worldview"])collection_endpoint = "".join(- ["https://api.echo.nasa.gov/catalog-rest/echo_catalog/",- "datasets.json?"])+ ["https://cmr.earthdata.nasa.gov/search/",+ "collections.json?"])class RequestError(Exception):"""