Open sbassett opened 2 years ago
AE is null, length(AE) is 0 line 2069 requires AE to have a positive length
> nrow(complete_recs)
[1] 0
> nrow(allown_recs)
[1] 0
> nrow(allreg_recs)
[1] 0
> nrow(allownreg_recs)
[1] 0
so if statements on lines 2031, 2039, 2048, and 2057 aren't triggered.
This may be several compound errors. The error blocking the script is:
It happens in this console context:
Note the
Error: no veg or soil uptake records!
on the line prior to the 'real' error, which may trigger the merge error.The merge error appears to be triggered on line 2086 of write_caland_inputs.R