nansencenter / django-geo-spaas-harvesting

Harvest data into a GeoSPaaS catalog
GNU General Public License v3.0
1 stars 1 forks source link

Harvest VIIRS Chlorophyll-a from GSFC #58

Closed aperrin66 closed 3 years ago

aperrin66 commented 4 years ago

To investigate.

See https://oceancolor.gsfc.nasa.gov/data/download_methods/

Here are examples of search queries:

curl 'https://oceandata.sci.gsfc.nasa.gov/api/file_search/' --data-raw 'search=*L2_SNPP_OC.nc+&sdate=2020-09-01&edate=2020-09-02&dtype=L2&sensor=VIIRS&subID=&subType=1&std_only=1&results_as_file=1&addurl=1&file_search=file_search'

curl 'https://oceandata.sci.gsfc.nasa.gov/api/file_search/' --data-raw 'search=*L2_JPSS1_OC.nc++&sdate=2020-09-01&edate=2020-09-02&dtype=L2&sensor=VIIRSJ1&subID=&subType=1&std_only=1&results_as_file=1&addurl=1&file_search=file_search'
aperrin66 commented 3 years ago

The Earthdata search API looks better, it provides metadata as well as links to the files:

https://cmr.earthdata.nasa.gov/search/granules.json?page_size=10&short_name=VIIRSN_L2_OC&sort_key=start_date&temporal=2020-09-01T00:00:00Z,2020-09-02T00:00:00Z