USGS-WiM / StreamStats

USGS StreamStats
https://streamstats.usgs.gov/ss/
Other
15 stars 7 forks source link

Create MN Sediment workflow #1544

Open amedenblik opened 1 year ago

amedenblik commented 1 year ago

This is the parent issue for the MN Sediment workflow issues.

User Story

  1. User delineates a basin in MN
  2. User clicks "Continue" in the left sidebar
  3. A button will appear at the bottom of the "Select Scenarios" section: "Configure Sediment Machine Learning Methods"
  4. When the user clicks the "Configure Sediment Machine Learning Methods" button, a modal will appear
  5. In the modal, the user will configure:
    • Date range
    • Streamflow: * note: streamflow may be daily, hourly, or 15-minute
      • Select a USGS gage and use that gage's streamflow
        • Select from the map
        • Query nearest gages
      • Select an MN DNR gage and use that gage's streamflow
        • Select from the map? (depends on API options)
        • Select one from a list
      • Estimate streamflow via FDCTM
      • Upload streamflow via a CSV (user will be provided with a template)
        • Note: the modal should also have instructions and warnings about the model
  6. If the user has configured the "Configure Sediment Machine Learning Methods", any requisite Basin Characteristics will be checked by default (some basin characteristics that are necessary for the model may already exist in SS, and other will need to be retrieved via an API)
  7. User continues with the workflow and opens the Report
  8. The Report will contain the following in the "Sediment Machine Learning Methods" section:
    • Graph of suspended sediment and bedload on different y axes
    • Expandable table with date, (estimated) streamflow, estimated suspended sediment, and estimated bedload (we may consider other time scales --hourly, 15-minute, daily-- depending on timescale of input data)
    • Model inputs:
      • Information about reference gage, if applicable
      • Model parameters: date range, basin characteristics
    • Citation
    • Option to download this section as its own CSV
    • Warnings about values that are out of the model range
    • General warnings about the model

Other tasks

amedenblik commented 1 year ago

Mockups from @chaqazarad

image image (1) image (2) image (3) image (4) image (5) image (6) image (7)

All mockups here: mockups.zip