API
-
- User Services
- Posts: 22
- Joined: Tue Dec 03, 2024 1:17 pm America/New_York
API
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,
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:
-
- Posts: 4
- Joined: Tue Sep 24, 2024 12:17 pm America/New_York
Re: API
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 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.
-
- Subject Matter Expert
- Posts: 9
- Joined: Tue Aug 02, 2022 7:54 pm America/New_York
Re: API
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
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
-
- User Services
- Posts: 22
- Joined: Tue Dec 03, 2024 1:17 pm America/New_York
Re: API
Thanks, this was really helpful! I managed to put together a code to automate downloading TEMPO data.