Closed sbassett closed 2 years ago
"replacement has length zero"
Error in x[[jj]][iseq] <- vjj : replacement has length zero 3. `[<-.data.frame`(`*tmp*`, burn_area_ann$Severity == "High", "initial_area_sev", value = structure(list(), .Names = character(0), row.names = c(3L, 4L, 9L, 10L, 15L, 18L, 19L, 24L, 26L, 30L, 33L, 35L, 39L, 41L, 44L, 46L, 50L, 52L, 56L, 60L, 62L, 66L, 67L, 70L, 73L, ... at write_caland_inputs.r#769 2. `[<-`(`*tmp*`, burn_area_ann$Severity == "High", "initial_area_sev", value = structure(list(), .Names = character(0), row.names = c(3L, 4L, 9L, 10L, 15L, 18L, 19L, 24L, 26L, 30L, 33L, 35L, 39L, 41L, 44L, 46L, 50L, 52L, 56L, 60L, 62L, 66L, 67L, 70L, 73L, ... at write_caland_inputs.r#769 1. write_caland_inputs(c_file = "2022_01_12_input_conm_testA_rcp85_noOcean.xls", inputs_dir = "2022_01_12_input_conm_testA_rcp85_noOcean", parameter_file = "conm_lc_params_testA.xls", scenarios_file = "conm_scenarios_testA_ac.xls", units_scenario = "ac", climate_c_file = "climate_c_scalars_CNRM-ESM2-1_585.csv", ...
This seems to have been resolved with https://github.com/TNC-NMFO/NWLAND/commit/f16f47e77baba720c152091018fe45a6599949f8
"replacement has length zero"