Open sbassett opened 3 years ago
As a quick fix, I'm going to rename the file fire_area_RDS-2020-0016_averageannual_2001-2100.csv
to fire_area_canESM2_85_bau_2001_2100.csv
.
fire_area_canESM2_85_bau_2001_2100.csv
will be renamed ```caland_fire_area_canESM2_85_bau_2001_2100.csv"
For some reason I can't trick it to accepting this file, am temporarily commenting out this test in write_caland_inputs.r
#if (CLIMATE == "HIST" & fire_area_file != "fire_area_canESM2_85_bau_2001_2100.csv") {
# stop("Historic climate (CLIMATE = 'HIST') must be paired with fire_area_file = 'fire_area_canESM2_85_bau_2001_2100.csv'\n")
#}```
Reopening since it would be nice to have a check to confirm that an appropriate file is being used.
When calling write_caland_inputs(), it looks like specific file names are being enforced.
Historic climate (CLIMATE = 'HIST') must be paired with fire_area_file = 'fire_area_canESM2_85_bau_2001_2100.csv'