Hi,
Is it possible to select only day product with the file_search tool? Like the Day/Night buttons on https://oceancolor.gsfc.nasa.gov/cgi/browse.pl?sen=am
Sorry if the answer is already in the forum but I did not found it.
Thanks in advance,
Julien
Select only day product with file_search tool?
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Select only day product with file_search tool?
Julien,
Unfortunately, no. But you could use the Common Metadata Repository API, e.g.:
Then just prepend the retrieved filename with https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/ to download the file.
Sean
Unfortunately, no. But you could use the Common Metadata Repository API, e.g.:
curl -i "https://cmr.earthdata.nasa.gov/search/granules.csv?provider=OB_DAAC&short_name=MODISA_L2_SST&bounding_box=-105,18,-82,30&temporal=2019-03-01T10:00:00Z,2019-03-10T12:00:00Z&day_night_flag=day"
Then just prepend the retrieved filename with https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/ to download the file.
Sean