- 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 as `VRE_x`, `SWIR_x`... `GREEN1` will be deprecated in another release.
0.20.0
Breaking Changes
- **BREAKING CHANGES: Switching from `resolution` to `pixel_size` to avoid confusion about the definitions (especially for SAR data)** ([82](https://github.com/sertit/eoreader/issues/82)) - **BREAKING CHANGES: `load` function now returns a `xarray.Dataset`** ([88](https://github.com/sertit/eoreader/issues/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](https://github.com/sertit/eoreader/issues/58)) - DOCS: Add documentation about default CRS ([87](https://github.com/sertit/eoreader/issues/87)) - DEPS: Dropping support of Python 3.8 ([81](https://github.com/sertit/eoreader/issues/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
0.19.4
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](https://github.com/sertit/eoreader/issues/84) , [85](https://github.com/sertit/eoreader/issues/85), thanks a lot floriandeboissieu)
Other
- STAC: Updates in STAC management - INTERNAL: Use `geopandas.estimate_utm_crs()` when possible
0.19.3
Bug Fixes
- OPTIM: Don't recompute stacks if already existing on disk - FIX: Fixing `Custom Stacks` when specifying `datetime=None` on creation - FIX: Fix regression for multi-swath DGM CSK data (huge region) ([78](https://github.com/sertit/eoreader/issues/78)) - FIX: Fix calibration issues with CSK HR data (using fallback GPT graph by default)
Other
- OPTIM: Always use chunks when reading rasters ([58](https://github.com/sertit/eoreader/issues/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)
0.19.2
Bug Fixes
- FIX: Fixing stack when saved as integer for some special cases - FIX: Clipping negative reflectances to 0 ([79](https://github.com/sertit/eoreader/issues/79)) - FIX: Fixing nodata management for Theia product - FIX: Fixing handling of SCS multi-swath `Cosmo-SkyMed` products ([78](https://github.com/sertit/eoreader/issues/78)) - FIX: Writing spectral indices on disk to align with other bands ([80](https://github.com/sertit/eoreader/issues/80)) - FIX: By default, calibration is not applied to slant range `CSG` data, avoiding producing an empty raster ([48](https://github.com/sertit/eoreader/issues/48))
Other
- OPTIM: Using warped VRT instead of reprojecting DEM/VHR stacks to UTM ([58](https://github.com/sertit/eoreader/issues/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](https://github.com/sertit/eoreader/issues/71)) - DOC: Updating `Custom` notebook - DOC: Updating jupyter cache to match new way of handling outputs in readthedocs
0.19.1
Bug Fixes
- FIX: Fixing a bug for DIMAP V2 products with 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`