Skip to content

Commit

Permalink
with prev
Browse files Browse the repository at this point in the history
  • Loading branch information
achubaty committed Sep 18, 2023
1 parent a3547e0 commit 680f203
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/utils_fireRegimePolys.R
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ prepInputsFireRegimePolys <- function(url = NULL, destinationPath = tempdir(),
} else if (grepl("^BEC.*ZONE", type)) {
cols2keep <- c("ZONE", "SUBZONE")
} else if (type == "BECNDT") {
cols2keep <- names(tmp)[names(tmp) %in%
c("NTRL_DSTRD", "NTRLDSTRBN", "NATURAL_DISTURBANCE_TYPE_CODE")]
cols2keep <- names(tmp)[names(tmp) %in% "NATURAL_DISTURBANCE_TYPE_CODE"]
} else if (type == "FRT") {
cols2keep <- "Cluster"
} else if (type == "FRU") {
Expand Down

0 comments on commit 680f203

Please sign in to comment.