Closed snorfalorpagus closed 7 years ago
I think there are still some issues with the way the Excel model stores some of the parameters, but that's left for another issue/PR.
There aren't any tests for the Excel parts because we'd have to upload one of the Excel models, which I don't think we can share. I guess we could create something that had the same structure?
I guess it would then be very clear what Excel layout the code supports?
I've added some tests for the Excel read functions that use a dummy "thames.xls" file. This file includes the minimum amount of data for the functions to work.
I think this is ready for merge now. There are some outstanding issues related to the different ways parameters are stored in Excel / pycatchmod and I'd also like to add a flag to the CLI to not automatically add leap days, but those are for another PR.
This PR bundles a few changes together:
io
submodule to read excel data (parameters, inputs, results)run_catchmod
function for convenience