You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of the windows binary fixes problems outlined in this issue. Issue will be closed when the latest binary is available via main Hydromad repository.
Tested with /misc/compare-buckets.R.
Changes required:
phase-out calls to monthlyBucket
remove TODOs / links to this issue
toggle monthlyWB to use native hydromad code
include version-specific dependency if hydromad version is incremented
There may be a problem with
hydromad::bucket.sim
: hydromad/hydromad#188Until that time, consider using an R version of the algorithm, borrowed / modified from: https://github.com/josephguillaume/hydromad/blob/master/R/bucket.R
TODO
S_prev = 0
,P[t]
= small, andE[t] >> P[t]
.hydromad::bucket.sim()
implements model "S2" as defined in Bai et al., 2009. The possible "bug" occurs in step 2:Until resolved, all related functions in
sharpshootR
are going to be a lot slower with the (current) R-based implementation.Consider implementation of the S1-S4 and M1-M4 version once all of this is sorted out.
The text was updated successfully, but these errors were encountered: