-
I'm using PEcAn to run ED2 and hoping to use IED_INIT_MODE=6 to start runs with already grown communities. After successfully initializing and simulating for several months, I get the following uninformative error:
The same runs with The .css and .pss files I'm using were generated with an older version of ED2 and don't have the dummy columns needed for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is likely to be some variable initialisation problem (for example, trying to access element 0 or NaN in an array), although ED2 would need to be compiled with debugging options to really get some information about the issue. The default containerised model is compiled for speed, not for detecting errors, so often the code can continue to run for a while even when there are invalid numbers. However, you mentioned that the pss/css files lack the some columns in the IED_INIT_MODE=6 format. If the number of columns in the pss/css files does not match what ED2 expects, the code may be reading the files incorrectly (like reading more than a line every time it tries to read a line), and there is a chance this is leading to errors. Even if it doesn't cause the crash, it may lead to a vegetation structure that is different from what you intend to simulate... I recommend editing your pss/css files to include the columns listed in the Wiki in the exact same order as they are described. |
Beta Was this translation helpful? Give feedback.
This is likely to be some variable initialisation problem (for example, trying to access element 0 or NaN in an array), although ED2 would need to be compiled with debugging options to really get some information about the issue. The default containerised model is compiled for speed, not for detecting errors, so often the code can continue to run for a while even when there are invalid numbers.
However, you mentioned that the pss/css files lack the some columns in the IED_INIT_MODE=6 format. If the number of columns in the pss/css files does not match what ED2 expects, the code may be reading the files incorrectly (like reading more than a line every time it tries to read a line), and the…