All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- User can now provide custom headers to download function
id
anddescription
keywords added to itemcollection.save() and itemcollection.geojson() for user to supply values to save single file STAC
- Allow reading in of ItemCollections without collections
- Default STAC_VERSION updated to 1.0.0-beta.2
- Saved ItemCollections now adhere to STAC single-file-stac spec
- 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
- 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
andfilename
arguments - Collection.add_item() function input keywords changed
filename_template
- Substitution of templates on Windows: issue
- Item.get_filename removed in favor of Item.get_path
- Storing search information in an ItemCollections file (and associated functions)
v0.3.3 - 2020-01-23
- Spelling of requester pays (was requestor)
v0.3.2 - 2020-01-22
- sat-stac now compatible with Python3 versions < 3.6 ()
- Updated README to indicate compatability with STAC 0.9
- Removed lone f-string to allow compatability with Python3 < 3.6
v0.3.1 - 2019-12-06
- Item constructor now properly accepts passing in the collection
- Item.substitute and item.get_filename now properly accept ${collection} as a template parameter
- ItemCollection.load() is now ItemCollection.open() and behaves like Item.open() (able to read remote files)
v0.3.0 - 2019-09-19
- Loading Items now properly looks for collection at Item root level rather than in properties (STAC 0.6.0).
- Format of saved search results now follows new Single File STAC extension.
v0.2.0 - 2019-07-16
- 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 thandata
v0.1.3 - 2019-05-04
- Items.search_geometry() function added to return search geometry
- Extension of
Item
files can now be specified inItem.get_filename()
. Defaults toitem.json
. - Specify STAC version by setting SATUTILS_STAC_VERSION environment variable. Currently defaults to '0.6.2'.
- Items objects no longer require a Collection for every Item
v0.1.2 - 2019-02-14
- 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.
v0.1.1 - 2019-01-15
- 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).
- Python 3 only. With Python 2.7 going unsupported in 2020 the time has come to stop supporting 2.7. There are too many additions in Python3 that continue to make backward compatability with Python 2.7 more difficult. In the case of this release the addition of caching using
functools
made sat-stac incompatible with Python 2.7. - More lenient version requirements for
requests
(now >=2.19.1). Otherwise can cause dependency incompatibility problems in some cases. - Behavior of
path
andfilename
keyword arguments to Collection.add_item() has changed slightly. The components ofpath
are now exclusively used to generate sub-catalogs, whilefilename
is the relative filename (which could include a further subdirectory) from the last sub-catalog (it's parent). Before, it was assumed that Item files were always in a single subdirectory under it's parent catalog. - Tutorials updated
v0.1.0 - 2019-01-13
Initial Release