Skip to content

Commit

Permalink
overwrite = TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Oct 27, 2018
1 parent 387c91a commit 3e2e4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Boreal_LBMRDataPrep.R
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ Save <- function(sim) {
userTags = c(cacheTags, "specieslayers"))

#options(opts)
writeRaster(specieslayersList$specieslayers, file.path(outputPath(sim), "speciesLayers.grd"))
writeRaster(specieslayersList$specieslayers, file.path(outputPath(sim), "speciesLayers.grd"), overwrite = TRUE)
sim$specieslayers <- specieslayersList$specieslayers
sim$speciesList <- specieslayersList$speciesList
}
Expand Down

0 comments on commit 3e2e4b7

Please sign in to comment.