API

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
ASDC - micook
User Services
User Services
Posts: 22
Joined: Tue Dec 03, 2024 1:17 pm America/New_York
Answers: 0

API

by ASDC - micook » Thu Apr 24, 2025 12:11 pm America/New_York

Hi,

i was wondering if you guys have an API-based instruction to automatically download TEMPO dataset on a cluster (e.g., NASA Discover)?

Best,

Filters:

carl_malings
Posts: 4
Joined: Tue Sep 24, 2024 12:17 pm America/New_York
Answers: 0

Re: API

by carl_malings » Thu Apr 24, 2025 1:38 pm America/New_York

Harmony (https://harmony.earthdata.nasa.gov/) is probably the closest thing; it is an API for making requests for datasets and subsetting services for various data, including TEMPO.

ASDC has a jupyter notebook example illustrating its use for TEMPO: https://github.com/nasa/ASDC_Data_and_User_Services/blob/main/TEMPO/how_to_examine_TEMPO_data_using_earthaccess_and_harmony-py.ipynb

There is another example for S3 data access:
https://github.com/nasa/ASDC_Data_and_User_Services/blob/main/TEMPO/S3-Access-TEMPO-L3_v4.ipynb

This should work for any cluster with internet access; NASA Discover may already have TEMPO data somewhere. I don't see it on the list (https://www.nccs.nasa.gov/services/data-collections) but maybe you can ask an admin about it.

ASDC - hazem.mahmoud88
Subject Matter Expert
Subject Matter Expert
Posts: 9
Joined: Tue Aug 02, 2022 7:54 pm America/New_York
Answers: 0

Re: API

by ASDC - hazem.mahmoud88 » Mon Apr 28, 2025 7:18 pm America/New_York

Thank you for sharing earthaccess and harmony-py, @carl_malings !
I will add pyrsig api. You can learn more under RSIG in the following storymap https://storymaps.arcgis.com/stories/01e82aefbc8b4d7a951fe089c818bc0c
RSIG tutorial is in the following link:
https://github.com/nasa/ASDC_Data_and_User_Services/blob/main/TEMPO/tempo_geoxo_meeting_haqast.ipynb.

Respectfully,
Hazem

ASDC - micook
User Services
User Services
Posts: 22
Joined: Tue Dec 03, 2024 1:17 pm America/New_York
Answers: 0

Re: API

by ASDC - micook » Thu May 01, 2025 2:06 pm America/New_York

Thanks, this was really helpful! I managed to put together a code to automate downloading TEMPO data.

carl_malings
Posts: 4
Joined: Tue Sep 24, 2024 12:17 pm America/New_York
Answers: 0

Re: API

by carl_malings » Thu May 01, 2025 2:08 pm America/New_York

Awesome!

Post Reply