generated from linz/template-python-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: set update-dates on STAC item TDE-1298 #1180
Merged
Merged
Conversation
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
schmidtnz
force-pushed
the
feat/keep-create-date-on-resupply-tde-1298
branch
from
November 21, 2024 02:24
947b02f
to
3d32bb2
Compare
# Conflicts: # scripts/stac/imagery/create_stac.py
schmidtnz
added
container
Publish a container
and removed
container
Publish a container
labels
Nov 21, 2024
paulfouquet
reviewed
Nov 24, 2024
l0b0
reviewed
Nov 24, 2024
l0b0
previously approved these changes
Nov 25, 2024
l0b0
approved these changes
Nov 25, 2024
schmidtnz
changed the title
feat: set update-dates on STAC item TDE-1298
feat!: set update-dates on STAC item TDE-1298
Nov 25, 2024
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 27, 2024
🤖 I have created a release *beep* *boop* --- ## [7.0.0](v6.0.0...v7.0.0) (2024-11-27) ### ⚠ BREAKING CHANGES * set update-dates on STAC item TDE-1298 ([#1180](#1180)) ### Features * defaults for current-datetime argument TDE-1298 ([#1193](#1193)) ([fa003f8](fa003f8)) * keep Collection properties.created date when resupplying ([#1160](#1160)) ([8af3e21](8af3e21)) * set update-dates on STAC item TDE-1298 ([#1180](#1180)) ([9d95b02](9d95b02)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
standardise_validate.py
:--current-datetime
argument (defaults to "today" to avoid making a breaking change).--odr-url
optional argument.classmethod
to load an existing Item from file/s3.set_checksum()
method which will set theasset.visual.file:checksum
and associated attributes if the given checksum differs from the current checksum.now_string
from class init. Created/updated dates now set through respectiveasset
properties.Verification
Added and modified tests for
item
,collection
,create_item
,create_stac
andcollection_from_items
.Manual end-to-end test using a custom argo workflow.
GitHub actions updated.