Changelog

[] ()

Deleted

  • removed own stac api client (pystac-client should be used from now on)
  • deleted the StacApi reference in data.py

[1.3.4] (2022-01-11)

Added

  • added deprecation warnings in stacapi.py and stacapi_io.py

Changed

  • changed NotImplementedErrors in data.py

[1.3.3] (2021-10-11)

Added

  • added DOI

[1.3.2] (2021-08-24)

Added

  • data: allow get on item-search with geometry if post is not allowed

[1.3.1] (2021-08-02)

Fixed

  • data: bugfix query local STAC

[1.3.0] (2021-07-27)

Changed

-requirements: Pystac version updated to 1.0.0, STAC version 1.0.0 #147 - data: Removed pylandsat dependency and added methods for downloading landsat products from GCS in data module #106

Fixed

  • data: Consistency for Landsat & Sentinel #151

Added

  • data: Streaming for Scihub #138

[1.2.1] (2021-05-05)

Fixed

  • data: Copernicus Open Access Hub Url changed #142
  • data: fixed download error from EarthExplorer #140

[1.2.0]] (2021-04-07)

Changed

  • data: added option for additional parameter for query_metadata #27
  • data: generator instead of catalog return for query_metadata and query_metadata_srcid #127
  • data: platform removed from download_image and download_quicklook #130

[1.1.0] (2021-03-29)

Changed

  • data: prep_aoi() is not private and supports __geo_interface__ #113
  • data: change default scihup endpoint /dhus to /apihub #110
  • data: mocked all interaction with Hubs for unit testing #116
  • data: EarthExplorer changed to new M2M API due to dependency update #120
  • data: removed hard dependency for landsatxplore & pylandsat #104
  • data: acquisitiondate and ingestiondate have been removed #124
  • split unit tests #110

Fixed

  • data: datetime is now the searchable time of the assets, start_datetime and end_datetime are introduced #124

Added

  • Github Action for black #111

[1.0.2] (2020-01-22)

Changed

  • raster: documentation clarification for Image initialization with nodata #105

Fixed

  • data: bugfix stacapi, bbox did not work because it has to be post like intersection

[1.0.1] (2020-01-20)

Changed

  • data: make fiona and pyproj optional #104
  • data: refactored stacapi_io for nicer imports

[1.0.0] (2020-01-20)

Added

  • data: new stac api #101

Changed

  • data: metadata as STAC items and collections #98
  • members: Datahab.file refactored to Datahub.STAC_local, breaking! #99

[0.7.0] (2020-10-30)

Added

  • file: read and return booleans from env #90
  • raster: possibility to init with 2D array #88
  • data: query_metadata_srcid() method and related test #96

Changed

  • get_polarization_from_s1_filename(): return type is now only str instead of Union[str, List[str]] #92
  • data: download_image check if file exists #95

[0.6.3] (2020-09-02)

Fixed

  • file: imported Pattern of module typing

[0.6.2] (2020-09-02)

Added

  • file: usage of type hints #76

Fixed

  • raster.get_valid_data_bbox(): was using the wrong transform #84

[0.6.1] (2020-08-31)

Added

  • file: added to_ESA_date() function #80
  • file.get_ts_from_sentinel_filename(): possibility to choose date format
  • raster: added nodata value upon dataset creation with numpy arrays #82

[0.6.0] (2020-08-28)

Added

  • raster.Image(): With Statement Context Manager for Image #45
  • raster.Image(): Alter image array #67
  • raster.Image(): Target align option for warp() #60
  • raster.Image(): Pass driver specific kwargs to write_to_file() #74

Fixed

  • data.Source(): Fixed query metadata return for new EarthExplorer API #71
  • raster.Image(): Consider all image bands in pad() #59
  • raster.Image(): Memory leak caused by __update_dataset() #62

Changed

  • data.Metadata(): Corrected field types #58
  • data.MetadataCollection(): Improved plotting of MetadataCollection to_pandas method #56
  • data.MetadataCollection(): Made filter method more flexible with list and fuzzy filter options #55
  • raster.Image(): Split _pad_to_bbox() into pad() and _get_pad_width(), updated mask() #59
  • replaced os.path with Pathlib #78

Removed

  • file: removed pack() and unpack() #57

[0.5.0] (2020-07-03)

Added

  • raster.Image(): optional nodata value for writing #32

Fixed

  • file.get_ts_from_sentinel_filename(): Return datetime.datetime objects instead of timestamp strings #42
  • raster.Image(): in-memory dataset could not be updated if not GTiff and other improvements #48 #52

Changed

  • raster.Image(): renamed mask_image() to mask()
  • raster.Image(): update of init signature to be less confusing #41 #50
  • raster.Image(): in-memory dataset now always with “GTiff” driver #53

[0.4.0] (2020-06-05)

Added

  • raster.Image(): expanded test_arr to test AttributeError #31
  • raster.Image(): optional dimorder for arr and according test #31
  • dn2toa() tests and testfiles #17
  • data.source(): accept WKT string as AOI #26
  • data.source(): check if an AOI string is a file or a WKT string #26

Fixed

  • raster.Image(): bug in dn2toa() related to wrong array shape #17

Changed

  • raster.Image(): changed dn2toa(platform, metadata, wavelengths) to dn2toa(platform, mtl_file, wavelengths) #17
  • raster.Image(): dn2toa now raises an error (instead of logging a warning) if Platform is not supported.
  • raster.Image(): explicit dtype when writing, optional compression #32
  • raster.Image(): auto-update of in-memory dataset #35
  • removed logger

[0.3.0] (2020-05-26)

Added

  • download.Source(): support for local metadata queries #6

Changed

  • split PyPI package into subsets to not require all dependencies for every installation #16
  • download.Source(): removed traceback #6
  • download.Source(): changed Source(source, source_dir=None) to Source(datahub, datadir=None, datadir_substr=None) #6
  • members.Datahub(): changed file to File #6
  • updated README #6 #16

[0.2.0] (2020-05-13)

Added

  • download.Source(): Classes Metadata and MetadataCollection for metadata handling #13
  • expanded metadata part in README #13 - requirements: pyfields
  • download.Source(): prep_aoi() for on the fly preparation of aoi for queries #1
  • data.Image(): method get_subset() to retrieve subset array and bounding box of image tile #12
  • download.Source(): query() accepts now aoi in forms of geojson file with varying CRS or bounding box coordinates in Lat Lon #1
  • requirements: pyproj #1
  • download.Source(): added methods to filter and download metadata #4
  • Sentinel3 test #10

Fixed

  • download.Source(): Improved geocoding quicklooks #5
  • fixed #7

Changed

  • renamed ukis_pysat.data to ukis_pysat.raster and ukis_pysat.download to ukis_pysat.data, breaking compatibility with version 0.1.0 #18
  • download.Source(): Moved download_metadata() and filter_metadata() to Metadata class #13
  • download.Source(): Moved all metadata mapping from query() to construct_metadata() #1
  • download.Source(): Changed _construct_metadata() to construct_metadata() and removed static #1
  • download.Source(): Simplified api queries in query() #1
  • download.Source(): removed get_metadata() #4
  • requirements: Removed matplotlib, pandas and dask optional #9

[0.1.0] (2020-04-29)

  • first release