diff --git a/tools/README.md b/tools/README.md index 9e7d81f38..a595c7f86 100644 --- a/tools/README.md +++ b/tools/README.md @@ -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 diff --git a/tools/generate-argo-cli-commands.py b/tools/generate-argo-cli-commands.py index 1807bed3e..8288cecaa 100644 --- a/tools/generate-argo-cli-commands.py +++ b/tools/generate-argo-cli-commands.py @@ -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