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: title and description by arguments TDE-960 #757

Merged
merged 34 commits into from
Dec 19, 2023

Conversation

MDavidson17
Copy link
Contributor

@MDavidson17 MDavidson17 commented Dec 1, 2023

Motivation

Entering/typing a title or description for imagery datasets is currently inefficient and risky. To remove the risk the title & description should be automatically generated using input parameters.

Modification

collection_from_items.py updated to take: region, gsd, subtype, location, start-datetime, end-datetime, event, historic-survey-number and lifecycle parameters.

automation logic written in new file: generate_metadata.py

NB: the tests provide a good over of the different title / description logic

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated - there are no docs explaining functions and parameters in topo-imagery - this does exist in argo-tasks so maybe we should add a ticket to do this?
  • Issue linked in Title

PR Topo-workflows to be merged after this PR has been released
PR ADDING METADATA TO COLLECTION.JSON TO COME

scripts/collection_from_items.py Outdated Show resolved Hide resolved
scripts/collection_from_items.py Outdated Show resolved Hide resolved
scripts/collection_from_items.py Outdated Show resolved Hide resolved
scripts/collection_from_items.py Outdated Show resolved Hide resolved
scripts/stac/imagery/generate_metadata.py Outdated Show resolved Hide resolved
scripts/stac/imagery/generate_metadata.py Outdated Show resolved Hide resolved
scripts/stac/imagery/generate_metadata.py Outdated Show resolved Hide resolved
scripts/stac/imagery/generate_metadata.py Outdated Show resolved Hide resolved
scripts/stac/imagery/generate_metadata.py Outdated Show resolved Hide resolved
scripts/stac/imagery/generate_metadata.py Outdated Show resolved Hide resolved
l0b0
l0b0 previously approved these changes Dec 11, 2023
l0b0
l0b0 previously approved these changes Dec 18, 2023
l0b0
l0b0 previously approved these changes Dec 19, 2023
amfage
amfage previously approved these changes Dec 19, 2023
@MDavidson17 MDavidson17 dismissed stale reviews from amfage and l0b0 via bc46027 December 19, 2023 02:21
@MDavidson17 MDavidson17 force-pushed the feat/title-by-arguments branch from 0c21059 to bc46027 Compare December 19, 2023 02:21
@MDavidson17 MDavidson17 requested review from l0b0 and amfage December 19, 2023 02:22
@MDavidson17 MDavidson17 added this pull request to the merge queue Dec 19, 2023
Merged via the queue into master with commit dd3e282 Dec 19, 2023
2 checks passed
@MDavidson17 MDavidson17 deleted the feat/title-by-arguments branch December 19, 2023 02:30
@github-actions github-actions bot mentioned this pull request Dec 19, 2023
github-merge-queue bot pushed a commit to linz/topo-workflows that referenced this pull request Dec 19, 2023
…le and description TDE-955 (#323)

#### Motivation

Entering/typing a title or description for imagery datasets is currently
inefficient and risky. To remove the risk the title & description should
be automatically generated using input parameters.

#### Modification

imagery-standardising workflow updated to take: `gsd`, `subtype`,
`location`, `event`, `historic-survey-number` and `lifecycle`
parameters.

create-collection step updated to take above parameters and `region`,
`start-datetime` and `end-datetime`

standardise-publish-import workflow updated
ascii-standardise-publish workflow updated

#### Checklist

_If not applicable, provide explanation of why._

- [x] Tests updated - no tests
- [x] Docs updated
- [x] Issue linked in Title


Should not be merged before
linz/topo-imagery#757 is merged & released

---------

Co-authored-by: paulfouquet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants