Skip to content

Commit

Permalink
fix naming or range change rasters with scenario names
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Endicott committed Oct 23, 2024
1 parent b021a8a commit 7006d64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/ccvi_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ ccvi_app <- function(testmode_in, ...){
names(pth) <- fs::path_file(pth) %>% fs::path_ext_remove()
message("loading rng_chg_rasts")
out <- check_trim(terra::rast(pth))
terra::set.names(out, clim_readme()$Scenario_Name)
hs_rast(out)
}
}, ignoreInit = TRUE)
Expand Down

0 comments on commit 7006d64

Please sign in to comment.