Skip to content

v0.9.7 - Add DataTree supprot - Beta

Latest

Choose a tag to compare

@alexamici alexamici released this 04 Nov 16:36
· 43 commits to main since this release

The first release with the EOPF DataTree, in beta, the xarray-sentinel command line
and a lot of performance improvements.

New features

  • Open a SAFE product as an EOPF DataTree with
    xr.open_datatree(..., engine="sentinel-1"). The layout is the one written by the EOPF
    CPM 3.0, see DATATREE.md. WV products are not supported yet.
  • Carry the product level stac_discovery and other_metadata attributes on the root,
    and stac_discovery, other_metadata and processing_history on every product node,
    with an xarray-sentinel entry in the processing history.
  • Convert a SAFE product to EOPF Zarr and print its STAC metadata with the new
    xarray-sentinel command: to-eopf-zarr writes the Zarr store, info prints the
    product level STAC item.
  • Add the slant_range_to_ground_range function.
  • Store the GRD measurements in the EOPF Zarr as uint16 with the CPM chunks.

Performance

  • Read the measurements without the global rasterio lock, so dask reads them in
    parallel.
  • Fetch each XML file once when opening the EOPF DataTree.
  • Read only the manifest to print the STAC metadata with info.

Breaking changes

  • Drop support for Python 3.10: only Python >= 3.11 is supported.
  • The noise_azimuth group gains a swath dimension and holds all the vectors, where
    it kept only the first one, on line.
  • The gcp group of the GRD products has a ground_range dimension instead of
    slant_range_time.
  • Opening a non-root group of a WV product raises a ValueError, where it returned a
    single vignette out of the many of a swath. The root group can still be opened.
  • to_zarr writes the azimuth_time coordinates with the units chosen by xarray,
    usually nanoseconds, instead of forcing microseconds.
  • Add typer and zarr to the required dependencies and raise the minimum dask to
    2024.6.

Bug fixes

  • data_dc_rms_error_above_threshold in dc_estimate held a copy of
    data_dc_rms_error; it is now the boolean flag from the annotation.

Documentation

  • Add DATATREE.md with the EOPF layout and the deliberate differences
    from EOPF, and rewrite CONTRIBUTING.md for uv.