Skip to content

Sentinel-1 GRD coordinates and data type inconsistency with EOPF sample notebooks #127

@beatrizbsperes

Description

@beatrizbsperes

The zarr samples used on the EOPF sample notebooks don't share the same data format as the ones available on EOPF Sentinel Zarr Samples Service STAC API. For Sentinel-1 GRD catalog we face the following issues:

  • On the EOPF sample notebooks we can see that the units for azimuth_time is datetime64[ns]while or the STAC zarr samples available for users the azimuth_time units is uint16
  • For grd, under measurements group, following EOPF sample notebooks we can see that we have 4 coordinate types (azimuth_time. ground_range. line and pixel) while for the STAC zarr samples available for users we only see 1 coordinate type, azimuth_time
  • the datasets used on the EOPF sample notebooks for Sentinel-1 GRD is not available on the EOPF Sentinel Zarr Samples Service STAC API, which makes it impossible for users to follow the same workflow since the availabe data doesn+t follow the same structure

this is the grd data array shown on EOPF sample notebooks (using the unavailable product):

<xarray.DataArray 'grd' (azimuth_time: 16694, ground_range: 26239)> Size: 876MB
dask.array<open_dataset-grd, shape=(16694, 26239), dtype=uint16, chunksize=(2557, 26239), chunktype=numpy.ndarray>
Coordinates:
  * azimuth_time  (azimuth_time) datetime64[ns] 134kB 2017-05-08T16:48:30.467...
  * ground_range  (ground_range) float64 210kB 0.0 10.0 ... 2.624e+05 2.624e+05
    line          (azimuth_time) int64 134kB dask.array<chunksize=(16694,), meta=np.ndarray>
    pixel         (ground_range) int64 210kB dask.array<chunksize=(26239,), meta=np.ndarray>
Attributes:
    _eopf_attrs:  {'coordinates': ['azimuth_time', 'line', 'pixel', 'ground_r...
    dtype:        <u2
    long_name:    measurement data set for GRD IW

this is the grd data array got when using the zarr samples available for users on the STAC API:

<xarray.DataArray 'grd' (azimuth_time: 16695, ground_range: 26006)> Size: 868MB
dask.array<open_dataset-grd, shape=(16695, 26006), dtype=uint16, chunksize=(5161, 26006), chunktype=numpy.ndarray>
Coordinates:
  * azimuth_time  (azimuth_time) uint16 33kB 19608 9752 65432 ... 61727 51872
Dimensions without coordinates: ground_range
Attributes:
    _eopf_attrs:  {'coordinates': ['azimuth_time'], 'dimensions': ['azimuth_t...
    dtype:        <u2
    long_name:    measurement data set for GRD IW

Metadata

Metadata

Assignees

No one assigned

    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