podaac / tutorials

The PO.DAAC Cookbook: A place to find data recipes and tutorials for PO.DAAC datasets, tools & services
https://podaac.github.io/tutorials/
Other
89 stars 41 forks source link

SWOT PIXCVec files with wrong Spatial Extents #227

Open cordmaur opened 2 months ago

cordmaur commented 2 months 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. I've also sent to the earthaccess github.

cassienickles commented 2 months ago

Hi @cordmaur, for any future inquiries on SWOT data, feel free to post on this forum topic that is set up for questions like this one: https://forum.earthdata.nasa.gov/viewtopic.php?t=5270&_ga=2.8500789.1437785530.1719854366-1354658737.1715875596

@jjmcnelis any thoughts on this discrepancy in searching between PIXC and PIXCVec products and the spatial extent settings for the PIXCVec? Thanks!

cordmaur commented 2 months ago

Thank you @cassienickles , I posted the issue in the forum as well.