JGCRI / hectorui

A web-based interactive scenario builder and visualization application for the Hector climate model
https://jgcri.github.io/hectorui
GNU General Public License v3.0
5 stars 3 forks source link

Error with parameter choice order #37

Closed stephpenn1 closed 2 years ago

stephpenn1 commented 3 years ago

Error when RCP scenarios are chosen / changed after Model Params

[1] "Error starting Hector:  Error in hector::run(hcore, globalVars[[\"endDate\"]]): Error while running hector:  msg:  \tAssertion failed: atmos_c pool <=0\nfunc: \tsanitychecks\nfile: \tsimpleNbox.cpp\nffile:\tsimpleNbox.cpp\n\nline: \t250\n\n  scen=  6.0  gs= NULL"
[1] "6.0"
[1] "in load graph"
[1] "There was an error when attempting to load the graph: Error in sendmessage(core, GETDATA(), v, dates, NA, \"\"): Evaluation error: arguments imply differing number of rows: 0, 1.\n" 

Screen Shot 2021-05-04 at 11 29 58 AM

stephpenn1 commented 3 years ago

Talking with @kdorheim , we want to start with a new hector core each time a scenario is added / changed using shutdown(core)

I suspect that is going on is that when you switch to the new ini after changing the parameter values the old hector core is still active and that is what is causing the problem