Sat Stac Versions Save

Python library for creating and working with STAC catalogs

0.4.1

3 years ago

[v0.4.1] - 2021-01-24

Added

  • User can now provide custom headers to download function
  • id and description keywords added to itemcollection.save() and itemcollection.geojson() for user to supply values to save single file STAC

Changed

  • Allow reading in of ItemCollections without collections
  • Default STAC_VERSION updated to 1.0.0-beta.2

Fixed

  • Saved ItemCollections now adhere to STAC single-file-stac spec

0.4.0

3 years ago

[v0.4.0] - 2020-06-11

Added

  • README directs users who want to do large scale creation or updating of catalogs to the PySTAC library instead
  • ItemCollections.asset_defnition function for printing info on assets

Changed

  • Default STAC_VERSION changed to 1.0.0-beta.1
  • Item.get_filename replaced with Item.get_path which takes in single template string rather than separate path and filename arguments
  • Collection.add_item() function input keywords changed filename_template

Fixed

  • Substitution of templates on Windows: issue

Removed

  • Item.get_filename removed in favor of Item.get_path
  • Storing search information in an ItemCollections file (and associated functions)

0.3.3

4 years ago

[v0.3.3] - 2020-01-23

Fixed

  • Spelling of requester pays (was requestor)

0.3.2

4 years ago

[v0.3.2] - 2020-01-022

Changed

  • sat-stac now compatible with Python3 versions < 3.6 ()
  • Updated README to indicate compatability with STAC 0.9

Removed

  • Removed lone f-string to allow compatability with Python3 < 3.6

0.3.1

4 years ago

[v0.3.1] - 2019-12-06

Fixed

  • Item constructor now properly accepts passing in the collection
  • Item.substitute and item.get_filename now properly accept ${collection} as a template parameter

Deprecated

  • ItemCollection.load() is now ItemCollection.open() and behaves like Item.open() (able to read remote files)

0.3.0

4 years ago

[v0.3.0] - 2019-09-19

Fixed

  • Loading Items now properly looks for collection at Item root level rather than in properties (STAC 0.6.0).

Changed

0.2.0

4 years ago

[v0.2.0] - 2019-07-16

Changed

  • Thing.publish() removed. Self links are not used at all (and not recommended for static catalogs)
  • Thing.root() returns Thing if no root (rather than an empty list). If more than one root an error will now be thrown.
  • Thing.parent() functions now return None if no parent (rather than an empty list). If more than one parent then an error will now be thrown.
  • Internal JSON data now stored in variable called _data rather than data

0.1.3

4 years ago

[v0.1.3] - 2019-05-04

Added

  • Items.search_geometry() function added to return search geometry
  • Extension of Item files can now be specified in Item.get_filename(). Defaults to item.json.
  • Specify STAC version by setting SATUTILS_STAC_VERSION environment variable. Currently defaults to '0.6.2'.

Changed

  • Items objects no longer require a Collection for every Item

0.1.2

5 years ago

[v0.1.2] - 2019-02-14

Added

  • Item.download_assets() and Items.download_assets() works as download() except accepts a list of keys rather than a single key. Passing in None for keys will download all assets.
  • requestor_pays keyword option added to Item.download() (and Items.download()). Defaults to False. Use it to acknowledge paying egress costs when downloading data from a Reqeuestor Pays bucket (e.g., Sentinel-2). If the bucket is requestor pays and this is not set to True an AccessDenied error message will occur.

0.1.1

5 years ago

[v0.1.1] - 2019-01-15

Added

  • When adding items to a catalog the parent catalog of the item is now cached. This can greatly improve ingest speed when ingesting multiple items under the same parent, especially if the catalog is a remote catalog (i.e., updating catalog on an s3 bucket).