Page 1 of 1

How to find out legitimate 'short_name' parameter values for data downloads.

Posted: Mon Apr 14, 2025 5:13 am America/New_York
by andrei_mitrich
Hi,

I am trying to search for files available for downloading for few sensors.

I have one working example, for MODISA level 1A:

curl "https://cmr.earthdata.nasa.gov/search/granules.csv?page_size=2000&sort_key=start_date&short_name=MODISA_L1&provider=OB_DAAC&day_night_flag=day&temporal=2020-01-01,2020-03-31"

It works all right, but I cannot figure out how to adapt the command to other sensors, in particular L1A files for SNPP VIIRS and NOAA20 VIIRS. Looks like wild card does not work here, need exact names. I tried guessing and only have found so far one more potentially useful for me working key word: `short_name=MODISA_L2_OC`.

Thank you.
Andrei

Re: How to find out legitimate 'short_name' parameter values for data downloads.

Posted: Mon Apr 14, 2025 9:24 am America/New_York
by dschuck
This will give you a csv containing a "Short Name" column containing the short names you're seeking, I believe:

curl "https://cmr.earthdata.nasa.gov/search/collections.csv?options\[short_name\]\[pattern\]=true&short_name=MODISA_*&provider=OB_DAAC&page_size=100"

For me, that produces a csv with 63 rows of data.

Re: How to find out legitimate 'short_name' parameter values for data downloads.

Posted: Mon Apr 14, 2025 9:57 am America/New_York
by andrei_mitrich
Thank you, very useful!