Skip to content

Commit

Permalink
feat: --location becomes --geographic-description TDE-985 (#392)
Browse files Browse the repository at this point in the history
#### Motivation

The `standardise_validate.py` `--location` argument becomes
`--geographic-description`
(linz/topo-imagery#765).

#### Modification

- Update the `standardise-validate` task to take account of the
parameter change.
- Upgrade default version of the `topo-imagery` container.

#### Checklist

- [ ] Tests updated - N/A
- [x] Docs updated
- [x] Issue linked in Title

---------

Co-authored-by: Victor Engmark <[email protected]>
  • Loading branch information
2 people authored and amfage committed Feb 13, 2024
1 parent bae106f commit bcbf41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions workflows/raster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In addition, a Basemaps link is produced enabling visual QA.
| licensor_list | str | | List of imagery licensors, separated by a semicolons (;). :warning: Has no effect unless a semicolon delimited list is entered. |
| start_datetime | str | YYYY-MM-DD | Imagery start date (flown from), must be in default formatting |
| end_datetime | str | YYYY-MM-DD | Imagery end date (flown to), must be in default formatting |
| location | str | Hamilton | (Optional) Additional datatset description, to be used in dataset title / description in place of the Region. |
| geographic_description | str | Hamilton | (Optional) Additional datatset description, to be used in dataset title / description in place of the Region. |
| lifeycle | enum | Completed | Lifecycle Status of Collection, from [linz STAC extension](https://github.com/linz/stac/tree/master/extensions/linz#collection-fields). Options: `completed`, `preview`, `ongoing`, `under development`, `deprecated` |
| event | str | Cyclone Gabrielle | (Optional) Event name if dataset has been captured in association with an event. |
| historic_survey_number | str | SNC8844 | (Optional) Survey Number associated with historical datasets. |
Expand Down Expand Up @@ -291,7 +291,7 @@ This workflow carries out the steps in the [Standardising](#Standardising) workf
| copy_option | str | --no-clobber | Applies to the standardising and publishing workflows and should not need to be changed. `--no-clobber` Skip overwriting existing files. `--force` Overwrite all files. `--force-no-clobber` Overwrite only changed files, skip unchanged files. |
| source_epsg | str | 2193 | The EPSG code of the source imagery. |
| target_epsg | str | 2193 | The Target EPSG code, if different to source-epsg the imagery will be reprojected. |
| location | str | '' | (Optional) Additional datatset description, to be used in dataset title / description in place of the Region. |
| geographic_description | str | '' | (Optional) Additional dataset description, to be used in dataset title / description in place of the Region. |
| lifecycle | enum | completed | Lifecycle Status of Collection |
| event | str | '' | (Optional) Event name if dataset has been captured in association with an event. |
| historic_survey_number | str | '' | (Optional) Survey Number associated with historical datasets. |
Expand Down
8 changes: 4 additions & 4 deletions workflows/raster/standardising.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: version_basemaps_cli
value: 'v6'
- name: version_topo_imagery
value: 'v3'
value: 'v4'
- name: ticket
description: Ticket ID e.g. 'AIP-55'
value: ''
Expand Down Expand Up @@ -250,7 +250,7 @@ spec:
value: 'YYYY-MM-DD'
- name: end_datetime
value: 'YYYY-MM-DD'
- name: location
- name: geographic_description
description: '(Optional) Additional datatset description, to be used in the title in place of the Region (e.g., "Hamilton")'
value: ''
- name: lifecycle
Expand Down Expand Up @@ -482,8 +482,8 @@ spec:
- '{{=sprig.trim(workflow.parameters.region)}}'
- '--gsd'
- '{{=sprig.trim(workflow.parameters.gsd)}}'
- '--location'
- '{{=sprig.trim(workflow.parameters.location)}}'
- '--geographic-description'
- '{{=sprig.trim(workflow.parameters.geographic_description)}}'
- '--start-date'
- '{{=sprig.trim(workflow.parameters.start_datetime)}}'
- '--end-date'
Expand Down

0 comments on commit bcbf41e

Please sign in to comment.