Page 1 of 1

API

Posted: Thu Apr 24, 2025 12:11 pm America/New_York
by ASDC - micook
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,

Re: API

Posted: Thu Apr 24, 2025 1:38 pm America/New_York
by carl_malings
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.

Re: API

Posted: Mon Apr 28, 2025 7:18 pm America/New_York
by ASDC - hazem.mahmoud88
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

Re: API

Posted: Thu May 01, 2025 2:06 pm America/New_York
by ASDC - micook
Thanks, this was really helpful! I managed to put together a code to automate downloading TEMPO data.

Re: API

Posted: Thu May 01, 2025 2:08 pm America/New_York
by carl_malings
Awesome!