TNC-NMFO / NWLAND

carbon accounting model
0 stars 0 forks source link

solely NM | while running plot_caland.R line by line, warnings triggered #157

Open sbassett opened 2 years ago

sbassett commented 2 years ago
+                         } # end s loop over scenario output files
There were 50 or more warnings (use warnings() to see the first 50)
> warnings()
Warning messages:
1: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
2: In if (lt == "All_land" & scen_sheets[i] == "Area") { ... :
  the condition has length > 1 and only the first element will be used
3: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
4: In if (lt == "All_land" & scen_sheets[i] == "Area") { ... :
  the condition has length > 1 and only the first element will be used
5: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
6: In if (lt == "All_land" & scen_sheets[i] == "Area") { ... :
  the condition has length > 1 and only the first element will be used
7: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
8: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
9: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
10: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
11: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
12: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
13: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
14: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
15: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
16: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
17: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
18: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
19: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
20: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
21: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
22: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
23: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
24: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
25: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
26: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
27: In which(as.integer(names(temp_df)) > last_year) : NAs introduced by coercion
28: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
29: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
30: In which(as.integer(names(temp_df)) > last_year) : NAs introduced by coercion
31: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
32: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
33: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
34: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
35: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
36: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
37: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
38: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
39: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
40: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
41: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
42: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
43: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
44: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
45: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
46: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
47: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
48: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
49: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
50: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
sbassett commented 2 years ago

I'm not sure if this is a problem or not. Hopefully not, and the warning rather than error seems to support that.

aj1s commented 2 years ago

(This warning was also triggered upon the paired run of RCP 8.5.)

Might this stem from an untoward file path length, as in #72 ?