Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Apr 17, 2023
1 parent bf39a42 commit e4be725
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ This script sets up for the automated processing of numerous imagery datasets us
**Setup:**

Download the [parameters csv](https://linzsrm.sharepoint.com/:x:/r/sites/Topography/_layouts/15/Doc.aspx?sourcedoc=%7B508567E2-EF88-458B-9115-0FC719CAA540%7D&file=imagery-standardising-parameters-bulk-process.xlsx&action=default&mobileredirect=true) from sharepoint, store as `imagery-standardising-parameters-bulk-process.csv` in `./tools/`
_nb: you may have to convert this from xlsx to csv, this can be done many places [online](https://cloudconvert.com/xlsx-to-csv)._
_nb: you will have to convert this from xlsx to csv, this can be done many places [online](https://cloudconvert.com/xlsx-to-csv)._

**Instructions:**

1. Update the `SOURCE` variable in generate-argo-cli-commands.py
1. If necessary, update the `SOURCE` variable in generate-argo-cli-commands.py
2. Run:

```bash
Expand Down
6 changes: 6 additions & 0 deletions tools/generate-argo-cli-commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ def _validate_licensor(licensor: str) -> Optional[str]:
return "Northland Aerial Imagery Consortium (NAIC)"
if licensor == "AAM NZ Limited":
return "AAM NZ"
if (
licensor == "Manawatū-Whanganui LASS Ltd-Whanganui LASS Ltd"
or licensor == "Manawatū-Whanganui LASS Ltd"
or licensor == "Manawatū-Whanganui LASS Ltd District Council"
):
return "Manawatū-Whanganui LASS"
if " and " in licensor:
return licensor.replace(" and ", ";")
return None
Expand Down

0 comments on commit e4be725

Please sign in to comment.