Skip to content

Commit

Permalink
remove WATER_MAP_TEST job spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Nov 1, 2023
1 parent 927faf4 commit 10e8369
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 209 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-enterprise-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
job_spec/INSAR_ISCE_TEST.yml
job_spec/INSAR_ISCE_BURST.yml
job_spec/WATER_MAP.yml
job_spec/WATER_MAP_TEST.yml
job_spec/WATER_MAP_EQ.yml
job_spec/S1_CORRECTION_ITS_LIVE.yml
instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.4.0]
### Changed
- The `WATER_MAP` job spec has been updated to the new interface described in the `WATER_MAP_TEST` job spec
### Removed
- The `WATER_MAP_TEST` job spec

## [4.3.0]
### Added
- An `iterative_min_size` parameter has been added to the `WATER_MAP_TEST` job spec.
Expand Down
4 changes: 0 additions & 4 deletions apps/step-function.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@
{
"Variable": "$.job_type",
"StringEquals": "WATER_MAP_EQ"
},
{
"Variable": "$.job_type",
"StringEquals": "WATER_MAP_TEST"
}
]
},
Expand Down
23 changes: 21 additions & 2 deletions job_spec/WATER_MAP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ WATER_MAP:
type: number
known_water_threshold:
api_schema:
description: Threshold for extracting known water area in percent. Ignored when flood_depth_estimator is None.
default: 30.0
description: Threshold for extracting known water area in percent. A water threshold is computed when value is null. Ignored when flood_depth_estimator is None.
default: null
type: number
nullable: true
iterative_min:
api_schema:
description: Minimum bound used for iterative method. Ignored when flood_depth_estimator is None.
Expand All @@ -96,6 +97,20 @@ WATER_MAP:
description: Maximum bound used for iterative method. Ignored when flood_depth_estimator is None.
default: 15
type: integer
iterative_min_size:
api_schema:
description: Minimum size of a connected waterbody in pixels for calculating flood depths with the iterative estimator
default: 0
type: integer
minimum: 0
minimization_metric:
api_schema:
description: Evaluation method to minimize during the iterative flood depth calculation. Options include a Fowlkes-Mallows index (fmi) or a threat score (ts). Only used when flood_depth_estimator is iterative.
default: ts
type: string
enum:
- fmi
- ts
validators:
- check_dem_coverage
tasks:
Expand Down Expand Up @@ -178,6 +193,10 @@ WATER_MAP:
- Ref::iterative_min
- --iterative-max
- Ref::iterative_max
- --iterative-min-size
- Ref::iterative_min_size
- --minimization-metric
- Ref::minimization_metric
timeout: 86400
vcpu: 1
memory: 126000
202 changes: 0 additions & 202 deletions job_spec/WATER_MAP_TEST.yml

This file was deleted.

0 comments on commit 10e8369

Please sign in to comment.