Skip to content

Commit

Permalink
readin_rhessys_output now detects fire yearly growth (fyg) output
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrbart committed Nov 23, 2020
1 parent 670c35a commit a83636a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/readin_rhessys_output.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ readin_rhessys_output = function(pre,

# all_inputs contains combinations of grow, spatial level, and time step
all_inputs = rbind(expand.grid(grow,space[!space == "fire"], time, stringsAsFactors = FALSE),
expand.grid("",space[space == "fire"], time, stringsAsFactors = FALSE))
expand.grid(grow,space[space == "fire"], time, stringsAsFactors = FALSE))
suffixes = paste0(all_inputs[,1], all_inputs[,2], ".", all_inputs[,3])
all_files = paste(pre,"_",suffixes,sep="")
exist_data = file.exists(all_files) # exist_data is T/F for if file exists and has data in it
Expand Down

0 comments on commit a83636a

Please sign in to comment.