Skip to content
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: add derived_from links to item TDE-1251 #1043

Merged
merged 16 commits into from
Sep 5, 2024

Conversation

paulfouquet
Copy link
Collaborator

@paulfouquet paulfouquet commented Sep 2, 2024

Motivation

Some tiles could be generated from a combination of existing tiles (example: AV29.tiff - 50k is made of the combination of northland/northland_2018-2020/dem_1m/2193/AV29_10000_0505.tiff, northland/northland_2018-2020/dem_1m/2193/AV29_10000_0504.tiff, etc.). Storing this information in the associated STAC Item of the tile allows:

  • the data consumer to be aware of which data and version has been used to make this tile
  • the system to detect if any of the source data has changed since its generation (comparing stored checksum vs actual checksum of the derived_from links)

Modifications

  • standardise_validate.py script accepts a new attribute include_derived in its --from-file input format.
  • if include_derived is True, the created STAC Item will add the derived_from links based on the input files used to create the output tile.

Verification

Few workflows have been run and the container is available in GH Packages.

@paulfouquet paulfouquet added the container Publish a container label Sep 2, 2024
@paulfouquet paulfouquet marked this pull request as ready for review September 3, 2024 04:10
@paulfouquet paulfouquet requested a review from a team as a code owner September 3, 2024 04:10
amfage
amfage previously approved these changes Sep 3, 2024
scripts/cli/cli_helper.py Outdated Show resolved Hide resolved
scripts/cli/tests/cli_helper_test.py Outdated Show resolved Hide resolved
scripts/files/file_tiff.py Show resolved Hide resolved
scripts/stac/imagery/tests/create_stac_test.py Outdated Show resolved Hide resolved
@paulfouquet paulfouquet added this pull request to the merge queue Sep 5, 2024
Merged via the queue into master with commit 077f14f Sep 5, 2024
2 checks passed
@paulfouquet paulfouquet deleted the feat/add-derived-from-links-to-item-tde-1251 branch September 5, 2024 02:58
@github-actions github-actions bot mentioned this pull request Sep 11, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.10.0](v4.9.0...v4.10.0)
(2024-09-12)


### Features

* add derived_from links to item TDE-1251
([#1043](#1043))
([077f14f](077f14f))
* determine start and end datetimes when item include derived TDE-1258
([#1052](#1052))
([62d571a](62d571a))
* make start_datetime and end_datetime optional when includeDerived is
True TDE-1258
([#1065](#1065))
([57f088c](57f088c))
* More types ([#989](#989))
([3f7cd57](3f7cd57))


### Bug Fixes

* capture area winding order TDE-1205
([#1008](#1008))
([61be096](61be096))
* error on collection with no items TDE-1216
([#1000](#1000))
([d351d85](d351d85))

---
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
Labels
container Publish a container
Development

Successfully merging this pull request may close these issues.

3 participants