Skip to content

Releases: sertit/eoreader

v0.21.0

08 Jan 08:14
Compare
Choose a tag to compare

0.21.0 (2023-01-08)

  • BREAKING CHANGES: Rename utils.stack_dict to utils.stack since we are stacking datasets and not dict anymore.
  • BREAKING CHANGES: Band ID for Sentinel-3 OLCI are now int instead of band names (i.e. 7 instead of Oa07. The names don't change).
  • ENH: Allow to use bands IDs, names and common name added to mapped names when trying to load a spectral band. (#111)
  • ENH: Manage Sentinel-2 as formatted on the cloud (Element84 or Sinergise's way). (#104)
  • ENH: Handle Python 3.12. (#113)
  • ENH: Guard against S1 COG format, not yet handled by SNAP.
  • ENH: Calibration step for Capella products now exists in ESA SNAP. Add it in pre-processing.
  • ENH: Handling of Sentinel-1 ASF and MPC RTC products. (#112, #118)
  • ENH: Handling of Sentinel-1 SM products.
  • ENH: Better handling of calibration step in SNAP for SAR data.
  • FIX: Fix jpg, png... quicklooks management when plotting
  • FIX: Fix an xarray issue when trying to compute percentiles when stacking bands
  • DEPS: Remove as many mention as possible to cloudpathlib
  • DEPS: Update minimum versions of some libraries
  • DOC: Add example about the output management (in base notebook, #117)
  • DOC: Update copyright to 2024
  • GITHUB: Update bug template
  • CI: Enabling pre-commit.ci and dependabot bots
  • CI: Update pre-commit hooks
  • CI: Revamping test_satellites
  • CI: Some refactoring and speed-ups

v0.20.4

26 Sep 13:35
Compare
Choose a tag to compare

0.20.4 (2023-09-26)

  • FIX: Don't collocate a raster on itself
  • FIX: Better management of default pixel size for multi-resolution products (such as PAN band in Landsat)
  • FIX: Fixing the PAN GSD for Landsat-OLI products
  • FIX: Update some code to match sertit==1.29.1

v0.20.3

31 Jul 14:54
Compare
Choose a tag to compare

0.20.3 (2023-07-31)

Bug Fixes

  • FIX: Minor fix in RasterioError handling when reading bands
  • FIX: Fix Landsat L2 surface reflectance and temperature computation (#99)
  • FIX: Fixing TIR temperature conversion for Landsat-7
  • FIX: Test thermal bands in CI
  • FIX: Upgraded to EO STAC extension v1.1.0 (#83)

v0.20.2

22 Jun 09:11
Compare
Choose a tag to compare

0.20.2 (2023-06-22)

Bug Fixes

  • FIX: Use already computed bands stored in tmp for Planet products

v0.20.1

20 Jun 09:40
Compare
Choose a tag to compare

0.20.1 (2023-06-20)

Bug Fixes

  • FIX: Allow band aliases (such as "CA" instead of "COASTAL_AEROSOL") in string in band mapping when creating Custom Stacks

Other

  • COMPAT: Add the alias GREEN_1 for GREEN I band of PlanetScope data, in order to stay in the same pattern than VRE_x, SWIR_x... GREEN1 will be deprecated in another release.

v0.20.0

31 May 14:47
Compare
Choose a tag to compare

0.20.0 (2023-05-31)

Breaking Changes

  • BREAKING CHANGES: Switching from resolution to pixel_size to avoid confusion about the definitions (especially for SAR data) (#82)
  • BREAKING CHANGES: load function now returns a xarray.Dataset (#88)

Bug Fixes

  • FIX: Collocate bands before trying to create spectral indices: resolve the case where their size mismatches (i.e. in case of window or change of native pixel size)
  • FIX: Landsat band masking when specifying a custom resolution and a custom window
  • FIX: Round the default pixel_size of custom stacks
  • FIX: Convert some fields of STAC items from non JSON serializable dtypes to correct ones
  • FIX: Fix erroneous property set to _get_raw_crs for Maxar products

Other

  • ENH: Don't load data into memory when computing indices, ensuring tasks are delayed a bit longer (#58)
  • DOCS: Add documentation about default CRS (#87)
  • DEPS: Dropping support of Python 3.8 (#81)
  • DEPS: Pin sertit to 1.27.0
  • INTERNAL: Better management of logs for deprecation warnings
  • INTERNAL: Refactoring simplify_footprint in sertit library
  • CI: Test that STAC items are serializable when added to a catalog

v0.19.4

12 Apr 12:39
b7e47db
Compare
Choose a tag to compare

0.19.4 (2023-04-12)

Bug Fixes

  • FIX: Removing calibration step from SNAP pre-processing graph for multi-swath Cosmo-SkyMed 1st GEN products (to avoid ending up with empty images after pre-process)
  • FIX: Fixing the paths to Sentinel-2 quicklooks: using PVI instead of TCI file if no .jpg preview file is found (#84, #85, thanks a lot @floriandeboissieu)

Other

  • STAC: Updates in STAC management
  • INTERNAL: Use geopandas.estimate_utm_crs() when possible

v0.19.3

24 Mar 07:46
Compare
Choose a tag to compare

0.19.3 (2023-03-24)

Bug Fixes

  • FIX: Fixing Custom Stacks when specifying datetime=None on creation
  • FIX: Fix regression for multi-swath DGM CSK data (huge region) (#78)
  • FIX: Fix calibration issues with CSK HR data (using fallback GPT graph by default)

Other

  • OPTIM: Always use chunks when reading rasters (#58)
  • OPTIM: Speed up VRT virtual warping
  • OPTIM: Better management of dask's usage
  • CI: Fix projection STAC extension's new version number (1.1.0)

v0.19.2

23 Feb 08:31
Compare
Choose a tag to compare

0.19.2 (2023-02-23)

Bug Fixes

  • FIX: Fixing stack when saved as integer for some special cases
  • FIX: Clipping negative reflectances to 0 (#79)
  • FIX: Fixing nodata mangement for Theia product
  • FIX: Fixing handling of SCS multi-swath Cosmo-SkyMed products (#78)
  • FIX: Writing spectral indices on disk to align with other bands (#80)
  • FIX: By default, calibration is not applied to slant range CSG data, avoiding producing an empty raster (#48)

Other

  • OPTIM: Using warped VRT instead of reprojecting DEM/VHR stacks to UTM (#58)
  • TYP: Fixing typos in typing
  • INTERNAL: Moving EOREADER_NAME and DATETIME_FMT into __init__.py
  • INTERNAL: Moving stacking function into utils
  • INTERNAL: Removing unused cache_property decorator
  • INTERNAL: Factorizing _load function
  • CI: Using assert_raster_almost_equal_magnitude in CI to better check according to bands' content (sertit 1.24.0)
  • DEPS: Officially handling Python 3.11 (adding weekly tests on Python 3.11) (#71)
  • DOC: Updating Custom notebook
  • DOC: Updating jupyter cache to match new way of handling outputs in readthedocs

v0.19.1

12 Jan 11:02
Compare
Choose a tag to compare

0.19.1 (2023-01-12)

Bug Fixes

  • FIX: Fixing a bug for DIMAP V2 products whith GML masks opening without CRS: assigning first the raw CRS before converting to the product's CRS
  • FIX: Fixing index creation when exotic bands not handled by ASI have been loaded in the same time (i.e. stacking NDWI with Oa21 band)

Other

  • CLEAN: Removing useless GCP functions regarding Sentinel-3 data
  • DOC: Adding a Remove Clouds notebook
  • LIB: Pinning sertit to 1.22.0
  • CI: Don't run tests when only __init__ or __meta__ is updated
  • CI: Some factorizing in gitlab-ci