nsidc / earthaccess

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

Problem downloading SWOT PIXCVec files #621

Open cordmaur opened 1 week ago

cordmaur commented 1 week ago

I'm using earthaccess to download PIXC and PIXCVec SWOT products. For the same args (bbox and time range), the PIXCVec is returning several files that are not within the AOI.

Here is an example:

results = earthaccess.search_data(
    short_name='SWOT_L2_HR_PIXC_2.0', 
    temporal=('2023-11-06', '2023-11-07'), 
    bounding_box=AOI.bounds
)

Granules found: 1
results = earthaccess.search_data(
    short_name='SWOT_L2_HR_PIXCVec_2.0', 
    temporal=('2023-11-06', '2023-11-07'), 
    bounding_box=AOI.bounds
)

Granules found: 115

When we check for the results, we can see that several PIXVec files have Spatial Extent incorrectly (imho) set to -180, -90, 180, 90, and that's causing this discrepancy in the search.

image

I don't know if this is the best channel for such issue.

mfisher87 commented 1 week ago

Thanks for reporting this issue! This is at least a good place to start :) Unfortunately, we can't actually fix the problem. I think the best place to report this would be to PO DAAC's user support: podaac@podaac.jpl.nasa.gov