TNC-NMFO / NWLAND

carbon accounting model
0 stars 0 forks source link

asRan | caland | lulcc transition matrix does not match net area changes #119

Open sbassett opened 2 years ago

sbassett commented 2 years ago

CALAND line 3994

Error: lulcc transition matrix does not match net area changes; reg = 1 C08001 , own = 1 DOD 
Error in CALAND(scen_file_arg = "CONM_BAU_v01_testA_rcp85_climNA.xls",  : 
sbassett commented 2 years ago

I turned off this error,. Definitely bad coding practice but I don't have time to figure out what the error message means.

sbassett commented 2 years ago

This error added by Alan in this commit: https://github.com/aldivi/caland/commit/dd4cd61f5e314abd9212445fdd4afc47bd53b586

sbassett commented 2 years ago

if row_bad_inds > 0 is either true or false, is length(row_bad_inds > 0) always going to be 1 (either true or false)? I guess this syntax doesn't work how I hypothesized.