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

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
andrei_mitrich
Posts: 9
Joined: Tue Oct 24, 2023 6:48 am America/New_York
Answers: 0

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

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

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

Filters:

dschuck
Posts: 8
Joined: Thu Oct 31, 2024 9:32 am America/New_York
Answers: 0
Been thanked: 1 time

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

by dschuck » Mon Apr 14, 2025 9:24 am America/New_York

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.

andrei_mitrich
Posts: 9
Joined: Tue Oct 24, 2023 6:48 am America/New_York
Answers: 0

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

by andrei_mitrich » Mon Apr 14, 2025 9:57 am America/New_York

Thank you, very useful!

Post Reply