Skip to content

SWOT Raster files with wrong Spatial Extents #262

@cordmaur

Description

@cordmaur

I'm using earthaccess to search for raster tiles around an AOI in the Amazon Basin, however, it is returning Granules located in Russia.
With further investigation, I noticed the spatial extents are incorrectly set to -180, -90, 180, 90 (example below), causing these wrong tiles to be retrieved.

{'TemporalExtent': {'RangeDateTime': {'EndingDateTime': '2025-05-02T22:25:31.272Z',
   'BeginningDateTime': '2025-05-02T22:25:10.139Z'}},
 'GranuleUR': 'SWOT_L2_HR_Raster_100m_UTM01W_N_x_x_x_032_138_018F_20250502T222510_20250502T222531_PIC2_01',
 'AdditionalAttributes': [{'Values': ['034L',
    '035L',
    '036L',
    '037L',
    '034R',
    '035R',
    '036R',
    '037R'],
   'Name': 'TILE'}],
 'MeasuredParameters': [{'QAStats': {'QAPercentMissingData': 0,
    'QAPercentOutOfBoundsData': 0},
   'ParameterName': 'N/A'}],
 'SpatialExtent': {'HorizontalSpatialDomain': {'Geometry': {'BoundingRectangles': [{'WestBoundingCoordinate': -180,
      'SouthBoundingCoordinate': -90,
      'EastBoundingCoordinate': 180,
      'NorthBoundingCoordinate': 90}]},

If we look at these specific tiles (Pass 138 - 034, 035, 036, etc... ), we can notice the discrepancy:

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions