HARPgroup / cbp_wsm

1 stars 0 forks source link

wtdate() cannot return full time series of WDMs beyond 2009 #37

Closed rburghol closed 2 years ago

rburghol commented 2 years ago

From Gopal (re code/src/hspf/lib3.2/src/wdm/wdtms2.f):

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.