generated from linz/template-python-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Motivation As a public bucket Imagery or Elevation consumer I want to know what new datasets have been added, what datasets have had changes, what metadata has changed, so that I can keep my data and processes in sync with data referenced from the public buckets. When an ODR path is provided to the imagery-standardising workflow, look up previously published STAC Item documents (by filename) and use them if the files are unchanged (file size and checksum). ### Modifications - **Entry point `standardise_validate.py`**: - Added `--current-datetime` argument (defaults to "today" to avoid making a breaking change). - Added `--odr-url` optional argument. - **ImageryItem**: - Added `classmethod` to load an existing _Item_ from file/s3. - Added `set_checksum()` method which will set the `asset.visual.file:checksum` and associated attributes if the given checksum differs from the current checksum. - Removed `now_string` from class init. Created/updated dates now set through respective `asset` properties. - Associated changes to reflect updated signature in all tests. - .... ### Verification Added and modified tests for `item`, `collection`, `create_item`, `create_stac` and `collection_from_items`. Manual end-to-end test using a custom argo workflow. GitHub actions updated.
- Loading branch information
Showing
10 changed files
with
319 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.