NOAA-OWP / t-route

Tree based hydrologic and hydraulic routing
Other
40 stars 45 forks source link

Update coastal_df #723

Closed shorvath-noaa closed 5 months ago

shorvath-noaa commented 5 months ago

Add function to read DFlow output to create coastal_boundary_depth_df dataframe. Update reading SCHISM files as well.

This works for now, but in my opinion we should refactor t-route so all forcing related operations are handled by a single "forcing" module. This could be an abstract class that has child classes that define reading channel forcing values based on input file format or network type (NHD or HYFeatures). Similarly, how coastal model outputs are read could be defined in abstract subclasses.

Additions

AbstractNewtork.py

Removals

-

Changes

diffusive_utils_v02.py

Testing

  1. Tested that t-route successfully reads coastal output files (DFlow and SCHISM) and creates a dataframe.
  2. Need to verify that there is a proper check of timestamps to ensure coastal_df times match routing/forcing times.

Screenshots

Notes

-

Todos

Checklist

Testing checklist

Target Environment support

Accessibility

Other