DurhamARC / ManyFEWS

The Many Flood Early Warning System
GNU General Public License v3.0
7 stars 3 forks source link

Save output into db #52

Closed Abel-Durham closed 2 years ago

Abel-Durham commented 2 years ago

Dear Alison, Please help me to review the latest iteration:

  1. add a new feature into the 'runningGenerateRiverFlows' function: it can save the output data of models into DB by itself.
  2. add a new part in the 'test_calculation_GenerateRiverFlow(self)' function to test the new adding feature.

Any questions just let me know.

J.Tu

Abel-Durham commented 2 years ago

Hi, I have added a test function "test_calculation_dbTime" for the forecast times are as we expect.