Releases: sertit/eoreader
Releases · sertit/eoreader
v0.21.9
v0.21.8
0.21.8 (2024-01-13)
- ENH: Add a new type (
BandsType
) for list of BandType - ENH: Add a new environment variable
EOREADER_NOF_BANDS_IN_CHUNKS
to control the number of the bands in chunks when usingdask
. (#178) - ENH: Allow
'auto'
inEOREADER_TILE_SIZE
, to setchunks="auto"
when reading data. (#178) - FIX: Fix stack
save_as_int
to use updated int values - by @TabeaW - FIX: Fixed PAZ Product Regex to properly indentify PAZ ST products as
PAZProduct
- by @guillemc23 - FIX: Fixed PNEO Product Regex to properly indentify PNEO products as
PneoProduct
- by @guillemc23 - FIX: Fixed preprocessing graph paths in order to support relative paths in more complex environments or contexts - by @guillemc23
- FIX: Remove useless
_norm_diff
functionindices.py
- FIX: Add a fallback in case
map-overlay.kml
is not readable forSentinel-1
data (#180,#182) - FIX: Remove warning about Dask's lock and client
- FIX: Don't throw an error in case of missing cloud coverage, only a warning and set the cloud coverage to 0 #159
- FIX: Use the sun elevation angle rather than the sun zenith angle for STAC #158
- FIX: Create comparison operators for
BandNames
, removing thexarray RuntimeWarning
aboutsort order is undefined for incomparable objects
. - FIX: Add some missing
@cache
around time-consuming functions - FIX: Set correctly the SAR product type, with adding two types (
ORTHO
andGEOCODED
) - FIX: Fix the computation of parametric spectral indices #193
- FIX: Fix retrieval of quicklook path for SAOCOM when already computed
- FIX: Write data using
windowed=True
for very big rasters (> 50 Go) to avoid core dumps - FIX: Fix management of numpy temporary files saved on disk
- OPTIM: Cache the access to any archived file list, as this operation is expensive when done with large archives stored on the cloud (and thus better done only once).
- CI: Remove useless verbosity in CI
- CI: GDAL performance tuning by tweaking
rasterio
's env - INTERNAL: Switch from
setup.py
topyproject.toml
#109 - INTERNAL: Use
ruff
instead ofblack
+flake8
+isort
- DOC: Update
conf.py
(remove useless hunks and set Sphinx 7 as base) - DOC: Added the PAZ product guide to the PAZ Product documentation instead of the TerraSAR-X one - by @guillemc23
- DEPS: Pin
sertit>=1.44.1
v0.21.7
0.21.7 (2024-11-08)
- FIX: Handle
ICEYE
products with missing quicklook - FIX: Fix
Sentinel-1
name with weird PDFs names (i.e. ending with.SAFE-report...
) - FIX: Remove multi-swath workaround for
Cosmo
products if SNAP > 11.0 - FIX: By default, try to assign a constellation (in a pure dummy way) to any
Product
created - FIX: Add ways of knowing if a constellation is a real one or not (i.e.
CUSTOM
or template such asMaxar
) - FIX: Create
TDX
andPAZ
(completely inherited) classes to disambiguate their constellations
v0.21.6
0.21.6 (2024-10-17)
- FIX: Fix (really) window's name coming from a vector with an underscore after it
- FIX: Fix clean band path for Sentinel-3 SLSTR products
- FIX: Remove an ignored exception when deleting a Product (
ValueError: Unknown '__class__' name in 'covariance.compute' hyperparameters
)
v0.21.5
0.21.5 (2024-10-17)
- FIX: Fix window's name coming from a vector with an underscore after it
- FIX: Allow to load numpy pickles stored in S3 buckets
- FIX: Add MS and PAN resolution in Landsat Products
v0.21.4
0.21.4 (2024-10-08)
- DEPS: Don't force using geopandas 1.0.0, 0.14.4 should be enough.
v0.21.3
0.21.3 (2024-10-08)
- ENH: Allow the process of Sentinel-1 COGs (provided by the Copernicus DataSpace) for SNAP >= 10 (#172)
- ENH: Add a
BandType
alias for any types that could be a band: a string, aBandNames
or any of its children: Spectral, SAR, DEM or Cloud band names - FIX: Anticipate Sentinel C and D platforms in Reader's regexes
- FIX: Resolve the inversion of resolution and pixel size between
stripmap
andsliding_spotlight
types forCapella
products - FIX: Get better window name (if available) when writing bands on disk (in tmp folder)
- FIX: Reject buggy Maxar products (with version 28.4) as the workaround would be too heavy to implement. (#106)
- FIX: Fix Despeckle graph with SNAP10 (#177)
- OPTIM: Save rasterized masks of DIMAP V2 products on disk to avoid recomputing them (
features.rasterize
could be a heavy computation that shouldn't be done twice) - COMPAT: EOReader works correctly with SNAP 10 (#165)
- PUBLISH: Use PyPI's Trusted Publisher Management mechanism
v0.21.2
0.21.2 (2024-07-30)
- ENH:
to_str
andto_band
: add aas_list
argument defaulting toTrue
. When set as False, return a str fromto_str
and a band fromto_band
(#138). Thanks @jsetty! - FIX:
Sentinel-2
product withStopIteration
error (#142) - FIX: Fix error in looking for bands in
Sentinel-2 L1C
archived products (#168) - FIX: Fix issue with geocoding with unzipped
Sentinel-3 OLCI
product (#137) - FIX: In
SPOT
products, METADATA.DIM and IMAGERY.TIF must be at the root of the product (#145) - FIX: Fix
Maxar
product withQB02
satellite ID (#140) - FIX: Fix
ICEYE
product when extent file (*.kml) not found (#135) - FIX: Handle
RCM
andRS2
products that doesn't bundle their extent in a KML file (#155) - FIX: Handle wrongly recognized
Planet
products because of the recursive nested mtd in the Reader (#169) - FIX: Fix an unknown
Planet
bug that just appeared ('...Path' has no len()
) - FIX: Force the loading of
DimapV1
bands infloat32
- FIX: Handle the case where
fiona
isn't installed anymore (withgeopandas 1.0
) - FIX: Don't make
pystac
a mandatory requirement - OPTIM: Search correctly nested metadata in the Reader (without accidentally using a recursive glob)
- CI: Fix S3 endpoint management with
sertit>=1.37
- CI: Remove for now end-to-end tests with Python 3.11 and 3.10.
- INSTALL: Remove
pystac[validation]
(as it is an optional dependency) from setup.py, and create astac
extra feature.
v0.21.1
0.21.1 (2024-04-03)
- ENH: Add a
is_stacked
parameters for EOReader'sProduct
to document either its bands are delivered stacked or file by file. - FIX: Correct
SWIR_CIRRUS
spectral band's enum value (toSWIR_CIRRUS
instead ofCIRRUS
), avoiding shadowing cloud bandCIRRUS
(#131) - FIX: Raise proper exception (
UnhandledArchiveError
) for archived data that needs to be extracted before use. A warning wasn't enough. - FIX: Remove unused
pixel_spacing
for SAR Products - FIX: Fix workaround for corrupted
Sentinel-2
mask.
v0.21.0.post0
0.21.0.post0 (2024-01-08)
- FIX: Don't force install
planetary-computer
orstac-asset
to use EOReader