- add xarray.Dataset support to apply_formula
- make write_raster ready for delayed write
- changed default write_raster args from driver="COG" to {driver="GTIFF", compress="DEFLATE", tiled=True}, as COG has no benefit for local use (overviews takes processing time and disk space). --> increases writing speed by x2-3 as overviews do not have to be computed
- made the COG validation quiet at asset creation
- CRS issue in ItemCollection.to_xarray
- function
update_scale_offset
to add or update raster scale and offset values to the assets of the collection. These values will then be automatically used to deliver rescaled values when calling to_xarray.
- issue with new version of stac-geoparquet, cf stac-utils/stac-geoparquet#76
- numpy < 2.0 in environment.yml (issue with numpy >= 2.0)
- parameter
pattern
toItemCollection.drop_non_raster
anddrop_asset_without_proj
- support for recursive item search in
build_item_collection
- parameter
collection_ready
toapply_item
,apply_items
,apply_rolling
- fix issue of drop_non_raster with no proj:bbox: now looking for any "proj:" or "raster:" properties.
A parameter
pattern
was added to
- add modifier to write_assets
- add function add_reduced_coords to fix the issue pydata/xarray#8317
- end_datetime expanding by default to the end of the day in seconds, e.g. 2019-12-31T23:59:59Z.
- function
write_assets
: write item assets (rasters only at the moment) of an ItemCollection locally and return the corresponding ItemCollection. - function
harmonize_sen2cor_offset
: adds anoffset
property to the assets so it is taken into account byto_xarray
. - method
ItemCollection.drop_duplicates
: drop duplicated ID returned by pgstac. - method
ItemCollection.drop_non_raster
: drop non raster assets. - method
ItemCollection.to_xarray
default arggdal_env
: now it inlcudes GDAL retries in case of failure while reading url - function
extract_points
and methodItemCollection.extract_points
to extract points time series. writer_args
toItemCollection.apply_...
methods and function in order to specify the outputs format, e.g. the encoding.- in local.py,
start_datetime
andend_datetime
can now be used instead ofdatetime
in the template used to build a local ItemCollection. - module
extents.py
to manipulate STAC extents. - tests for CI
apply_formula
with "in" operator in apply_formula.- COG type of local STAC assets (instead of GTiff)
- imports in
simplestac.utils