From a3b702d14cde76dbfea7ec6345dfcef2cd6f0bdc Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Tue, 24 Oct 2023 14:05:20 -0800 Subject: [PATCH 1/2] Update WATER_MAP_TEST --- job_spec/WATER_MAP_TEST.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/job_spec/WATER_MAP_TEST.yml b/job_spec/WATER_MAP_TEST.yml index 7c707e0d0..a9e0c6ab2 100644 --- a/job_spec/WATER_MAP_TEST.yml +++ b/job_spec/WATER_MAP_TEST.yml @@ -97,10 +97,16 @@ WATER_MAP_TEST: 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: fmi + default: ts type: string enum: - fmi @@ -187,6 +193,8 @@ WATER_MAP_TEST: - Ref::iterative_min - --iterative-max - Ref::iterative_max + - --iterative-min-size + - Ref::iterative_min_size - --minimization-metric - Ref::minimization_metric timeout: 86400 From ed1fd1e69a03456b946bf7e2f48b865dd0678715 Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Tue, 24 Oct 2023 14:13:52 -0800 Subject: [PATCH 2/2] changelog for watermap --- CHANGELOG.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c5b74b3b..64b72ad46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,11 @@ 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.2.2] -### Changed +## [4.3.0] +### Added +- An `iterative_min_size` parameter has been added to the `WATER_MAP_TEST` job spec. +#### Changed +- For `WATER_MAP_TEST` jobs, the default `minimization_metric` is now `ts`. - Use Amazon Linux 2023 AMI in non-Earthdata Cloud environments ## [4.2.1]