Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 2.63 KB

CHANGELOG.md

File metadata and controls

64 lines (48 loc) · 2.63 KB

v1.2.1

add

  • add xarray.Dataset support to apply_formula
  • make write_raster ready for delayed write

v1.2.0

Change

  • 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

Fix

  • CRS issue in ItemCollection.to_xarray

v1.1.3

Add

  • 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.

Fix

v1.1.2

Add

  • parameter pattern to ItemCollection.drop_non_raster and drop_asset_without_proj
  • support for recursive item search in build_item_collection
  • parameter collection_ready to apply_item, apply_items, apply_rolling

Fix

  • fix issue of drop_non_raster with no proj:bbox: now looking for any "proj:" or "raster:" properties. A parameter pattern was added to

v1.1.1

Add

  • add modifier to write_assets
  • add function add_reduced_coords to fix the issue pydata/xarray#8317

Fix

  • end_datetime expanding by default to the end of the day in seconds, e.g. 2019-12-31T23:59:59Z.

v1.1.0

Add

  • 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 an offset property to the assets so it is taken into account by to_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 arg gdal_env: now it inlcudes GDAL retries in case of failure while reading url
  • function extract_points and method ItemCollection.extract_points to extract points time series.
  • writer_args to ItemCollection.apply_... methods and function in order to specify the outputs format, e.g. the encoding.
  • in local.py, start_datetime and end_datetime can now be used instead of datetime in the template used to build a local ItemCollection.
  • module extents.py to manipulate STAC extents.
  • tests for CI

Fix

  • apply_formula with "in" operator in apply_formula.
  • COG type of local STAC assets (instead of GTiff)
  • imports in simplestac.utils