Meanwhile, I think a statement in the following file may be among the list of a few other suspects behind this problem – code/src/hspf/lib3.2/src/wdm/wdtms2.f
There, you should see a initialization for the variable ED(1,1) –
ED(1,1) = 2035 ! BHATT CHANGED TO 2015 FROM 2010
I had changed it from 2010 to 2015 during the transition from Phase 532 to Phase 6 (where simulation ended in 2014). But for the code for 2020 Extension, I have incremented it to 2035, and everything is working well and did not face any memory issues. That said, I am not 100% sure if this alone will fix the problem but in any case do not forget to recompile the libraries and source code.
wdm_insert_ALL
script adapted from CBP6 source.wdimex
, and confirm that they output the entire record through 2020wdimex
to get it to work on a longer timespan so may need to investigate that - see https://github.com/HARPgroup/cbp_wsm/blob/master/code/src/hspf/lib3.2/src/wdimex/wdimex.fFrom Gopal (re code/src/hspf/lib3.2/src/wdm/wdtms2.f):