todo
Organized by page...
home page
merge the “Portland Flood Risk” animation on to the home page-- DONE- set radio buttons to null if user starts interacting with map (PITA)
Portland flood risk
I removed this page since it's now merged into the home page-- DONE
Detailed risk analysis
- Review/revise wording in the table
- Add "scenario" labels -- alternatives to "Hi50" and "Int50" -- recommendations?
Toggle between medium & high scenarios for detailed risk-- DONEUpdate exceedance to use tidy CSVs-- DONE- elevation < 0 -- no data
- 0 < elevation < 0.5 m -- frequent flooding
- Hi50 = NaN, elevation < 3.5 -- frequent flooding
- Hi50 = NaN, elevation > 3.5 -- no risk
- Int50 = NaN, elevation > 3.5 -- no risk
Add actual "exceedance" value to the yellow message when clicked-- DONEChanges meters to feet-- DONEAdd color swatches to the Exceedance scale card-- DONEZoom level is great. Maybe have a note saying to click on left-hand map to move the location (I got a bit confused once I zoomed) One option: add text “click on left-hand map to pan” with the “Zoom Level” legend item on the right-hand plot-- DONE (see if you like what I did)Set default opacity to 0.6-- NOT DONE (the problem: color scale no longer matches the legend)Change “Click for a value” to “Click for an elevation and expected number of floods per year”Add a note on exceedance language in a colorful box somewhere (this will replace the notes that are there right now below the map – 23 May 2025) We express likelihood of flooding as the expected number of floods per year, which can be less than 1. Some examples:-- DONE (see if you like what I did)10 = 10 expected floods per year0.1 = 10% chance of flooding in a given year0.01 = 1% chance of flooding in a given year
Exceedance color scale - Would change to these four categories-- DONEFrequent flooding (more than once per year)Moderate to high risk (greater than 0.1 per year / 10% annual chance)Moderate risk (0.1 to 0.01 per year / 10% to 1% annual chanceModerate to low risk (less than 0.01 per year / 1% annual chance)
Agreed on removing the two controls (elevation/exceedance and max height)-- DONE
Asset risk page
- Do we want any charts? -- see ./test-height2
- Do we really want "start year"?
- Confirm wording
- Add labels for scenarios in the radio button
- Add "scenario" labels -- alternatives to "Hi50" and "Int50" -- recommendations?
update exceedance to use tidy CSVs-- DONENOTE: Minimum exceedance in the data is 0.0032, so 0.002 = 500-year flood isn't available as an option.-- FIXEDUnder heading where you have the two questions listed:-- DONE- Put this text in a colored box?
- We express likelihood of flooding as the expected number of floods per year, which can be less than 1. Some examples:
- 10 = 10 expected floods per year
- 0.1 = 10% chance of flooding in a given year
- 0.01 = 1% chance of flooding in a given year
- Question #1: Exposure
- Simplified question: “How likely is an asset (at a specified elevation) to flood over a certain time period?”
- Use the sliders to select:
- The elevation of your location or asset in feet above NAVD88 (use the map on the “Detailed risk analysis page”)
- The start year and end year of the time period over which you would like to view flood risk
- Result text:
- An asset with an elevation of XX ft NAVD88 is expected to flood:
- XX times per year (XX% annual chance) in [start year], increasing to XX times per year in [end year] under the INTERMEDIATE scenario
- [same bullet for HIGH]
- Question #2: Asset Height
- Modified text: “What elevation should an asset be installed or built at to maintain a specified level of protection against flooding over a given time period?”
- User input:
- Select maximum annual flood risk you can tolerate for your asset
- Radio buttons: 0.002 (0.2% annual chance of flooding), 0.01 (1% annual chance of flooding), 0.1 (10% annual chance of flooding), 1 (1 expected flood per year), 12 (12 expected floods per year, or one per month)
- The start and end year of the time period over which you would like to consider flood risk
- Select maximum annual flood risk you can tolerate for your asset
- Result text: “To maintain a flood risk less than or equal to XX expected floods per year (YY% annual chance of flooding) over YYYY to YYYY, an asset must be at an elevation of at least XX feet NAVD88”
- Figure
- Title: Elevation that is expected to flood XX times per year (YY% annual chance of flooding) over YYYY to YYYY
- Scale axis to user-provided years
- Show intermediate and high