NOAA-OWP / inundation-mapping

Flood inundation mapping and evaluation software configured to work with U.S. National Water Model.
Other
88 stars 26 forks source link

[13pt] Leveed area is so large/long that it is masking too many branches #1124

Open CarsonPruitt-NOAA opened 2 months ago

CarsonPruitt-NOAA commented 2 months ago

The leveed area at CAXM7 is masking all FIM products. The leveed area is so long that it is applied to a stream that is not supposed to be masked.

Please see this vlab ticket for details https://vlab.noaa.gov/redmine/issues/124281

Image

mluck commented 2 months ago

In the image below, the levee in red (other levees in black) is seen as protecting against multiple levelpaths, the mainstem (purple line) and a tributary (green line), so the levee-protected area (dotted area) behind the red levee is masked from those branches.

image

Closer inspection reveals that the green levelpath doesn't actually cross the red levee but flows around it. This allows for some additional logic to unmask levelpaths from being associated with a levee if they don't cross the levee but they do intersect the leveed area. The image below shows the effect of this change:

image

There is now inundation along the green levelpath that previously had no inundation (see initial issue):

image