Ouranosinc / raven

WPS services related to hydrological modeling
https://pavics-raven.readthedocs.io
MIT License
37 stars 12 forks source link

PHASE II: Recode and compile the 4 hydrological models currently fixed in the Raven model setups #107

Closed richardarsenault closed 5 years ago

richardarsenault commented 5 years ago

Description

To do in maintenance phase for efficiency

The RAVEN model setups are currently fixed for 4 models (GR4JCN, HMETS, MOHYSE, HBV-EC). Unfortunately, calibration is taking much more time than we can allow due to repeated I/O calls. We should provide compiled versions of these models that are callable directly from Python in order to speedup the calibration times.

This involves:

julemai commented 5 years ago

Before we recode all the models, we could just try to speed up Raven. :)

It is because the reading of NetCDF time series is not really fast. I am also not sure if you have switched Raven to the calibration mode (means that no output except hydrographs and Diagnostics is written).

richardarsenault commented 5 years ago

Yeah, we had tested that last time with GR4J where the matlab mex version calibrated 40X faster than Raven. Ideally we would want Raven to handle input/outputs bindings from memory but last time James seemed to say that it was going to be quite some work and did not seem like it was going to be doable in a reasonable amount of time?

Of course if we can get that, then this is a moot point :)

richardarsenault commented 5 years ago

@julemai Hi! Do you know if there has been progress on the RAVEN-DDS development side? Thanks!

richardarsenault commented 5 years ago

I'll close this issue and open another with the Raven-DDS impementation.