stac-utils / stac-task

Provides a class interface for running custom algorithms on STAC ItemCollections
Apache License 2.0
21 stars 5 forks source link

add collection mapping methods #110

Closed philvarner closed 7 months ago

philvarner commented 7 months ago

Add utility method and property for allowing the collection for a newly-created Item to be retrieved. This is useful if you need to know which collection the Item will go into prior to returning it from process. One use of this is when data is created an uploaded as part of the task, and you want the data to be uploaded to a path like {collection}/{id}, so you need to know the collection within the process method, instead of only having it set in the Item in post_process.