TNC-NMFO / NWLAND

carbon accounting model
0 stars 0 forks source link

hard coded climate tag file name checks #98

Closed sbassett closed 2 years ago

sbassett commented 2 years ago

hard-coded for our climate scalars

# set the climate tag for the input file name
if (CLIMATE == "HIST") {
  climtag = "_hist"
} else {
  if (climate_c_file == "climate_c_scalars_CNRM-ESM2-1_585.csv") {
    climtag = "_RCP85"
  } else if (climate_c_file == "climate_c_scalars_CNRM-ESM2-1_245.csv") {
    climtag = "_RCP45"
  } else {climtag = "_climNA"}
}