Closed mt-digital closed 8 years ago
this actually is done with 7627dc5d2118e676fba525fa6770baee5f87c645. Hydrograph is included with the data returned from /api/scenarios
and /api/scenarios/{scenario_id}
in the hydrograph
property of the JSON data. Required for #20
Eventually we need a way to retrieve the hydrograph for a single model run, but shorter term, we need to first figure out how to serve a hydrograph. A hydrograph is a simple timeseries,
Please make this an API route, so in app/api/views.py add a route like this:
Please communicate with @ruiwu1990 to determine the best format to serve the hydrograph.