dvalters / HAIL-CAESAR

The High-Performance Architecture-Independent LISFLOOD-CAESAR model of floodplain, river, and sediment dynamics
http://dvalters.github.io/HAIL-CAESAR
GNU General Public License v3.0
38 stars 12 forks source link

WIP: Stage/Level and Tidal Input mode #54

Open dvalters opened 1 year ago

dvalters commented 1 year ago

Summary

Several users would like to be able to input river level data (Stage) and tidal levels into the model, instead of having to use discharge as an input source for reach mode style simulations.

Details

Testing

This was tested on the Idealsied_stage.params test case in the test folder, and also some real data using the Beverley Ship Yard gauging station (levels) on the River Hull, UK, with a DEM covering the Hull from Beverley down to hull, run over 118 days.

Parameter File

# STAGE INPUTS
#==============

stage_mode_input_on:           yes
stage_input_timestep:          60
fromx:                         5
tox:                           10
fromy:                         272
toy:                           274
stage_inputfile:               stage_mode_input.csv

Note

Note: this still features the "bug" in #53, but the workaround is simple (treat x and y as i and j matrix indices rather than coordinates - a fix for that will be made available too shortly.