The issue is that the second dimension of kmax_upper_shell is being hardcoded to a value about the allocated size. I'm not sure if the write statement needs to have a reference to the second dimension variable (nshell) or if this is somehow related to the failure mode that caused the call of Report1DError in this instance.
During a failure while running with hydro on, I'm finding that the error message isn't fully reporting due to crashing on line 4010:
https://github.com/NGEET/fates/blob/42d804ba54d0cf013a9737018ff9920e0c9808ea/biogeophys/FatesPlantHydraulicsMod.F90#L4010
The issue is that the second dimension of
kmax_upper_shell
is being hardcoded to a value about the allocated size. I'm not sure if the write statement needs to have a reference to the second dimension variable (nshell
) or if this is somehow related to the failure mode that caused the call ofReport1DError
in this instance.