NOAA-OWP / t-route

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

simple fix for empty lastobs_df when streamnudging unknowingly turned on while no usgs data is available #732

Closed kumdonoaa closed 4 months ago

kumdonoaa commented 5 months ago

This fix provides a solution when lastobs_df is empty because no usgs data is available while stream nudging is unknowingly activated in the config file. More solid solution will be provided soon. Also, in diffusive_routing mainstem_list now has a list of stream segments aligned in order from upstream to downstream. Moreover, missing topobathy data for a stream segment get filled in by looking up the newly aligned list.

Additionns

AbstractRouting.py

DataAssimilation.py

output.py

Removals

-

Changes

-

Testing

1.

Screenshots

Notes

-

Todos

-

Checklist

Testing checklist

Target Environment support

Accessibility

Other