generated from linz/template-javascript-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#### Motivation The target path name formatting is inconsistent with the final decisions in the naming.md It is now expected that the event name will be included in the `geographic_description` field as well. Sometimes the event name includes the location (`Top of the South Floods`) and sometimes it does not (`Cyclone Gabrielle`) Therefore it is difficult to determine whether to merge the `event_name` with the `region`/`geographic_description`. It is also preferable to keep the `event_name` consistent across all imagery so that datasets can be filtered by events for example the Cyclone Gabrielle imagery in Hawkes Bay, Gisborne & the North Island should all have `event_name=Cyclone Gabrielle`. ##### examples: inputs: `region=Hawke's Bay` `gd= Hawke's Bay Cyclone Gabrielle` `event_name=Cyclone Gabrielle` paths: `s3://nz-imagery/hawkes-bay/hawkes-bay-cyclone-gabrielle_2023_0.1m/` inputs: `region=Nelson` `gd= Top of the South Floods` `event_name=Top of the South Floods` paths: `s3://nz-imagery/nelson/top-of-the-south-floods_2023_0.1m/` inputs: `region=Auckland` paths: `s3://nz-imagery/auckland/auckland_2023_0.1m/` inputs: `region=Wellington` `gd=Upper Hutt` paths: `s3://nz-imagery/wellington/upper-hutt_2023_0.1m/` #### Modification name portion of the target path changed from: ``` if geographic_descr return geographic_descr-event? else return region-event? ``` to ``` if geographic_descr return geographic_descr return region ``` #### Checklist _If not applicable, provide explanation of why._ - [x] Tests updated ~~- [ ] Docs updated~~ - n/a - [x] Issue linked in Title
- Loading branch information
1 parent
7f24cf3
commit 5a8678d
Showing
2 changed files
with
21 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters