nsidc / earthaccess

Python Library for NASA Earthdata APIs
https://earthaccess.readthedocs.io/
MIT License
374 stars 71 forks source link

Short name for TROPOMI Ozone product doesn't work #538

Open priyapatel1 opened 3 months ago

priyapatel1 commented 3 months ago

I'm trying to run the API for TROPOMI ozone as follows:

`` results = earthaccess.search_data( short_name='S5P_L2O3PR_HiR', cloud_hosted=True, bounding_box=(min_lon, min_lat, max_lon, max_lat),

point = (max_lon, max_lat),

temporal=("2020-06-01", "2020-06-02")
# count=10

) ``

but it returns 0 granules even though the short name is correct, as you can see here: https://disc.gsfc.nasa.gov/datasets/S5P_L2__O3__PR_HiR_2/summary?keywords=TROPOMI_MINDS

Why isn't it working?

Rapsodia86 commented 3 months ago

Is this your original code? You have a missing parenthesis at the end because of the comments via # What are your bounding box coordinates? If I do this e.g.:

results = earthaccess.search_data(short_name='S5P_L2__O3__PR_HiR', 
                                  cloud_hosted=True,
                                  bounding_box=(-10, 20, 10, 50))

I get 2533 granules. What is your result? Ver 0.9.0