Skip to content

Commit

Permalink
update reference datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaust committed Apr 14, 2024
1 parent 806cbb9 commit 3a427a3
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions data_processing/Test_Script.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,28 @@ data("countriesCoarse")

library(climr)

points_downscale_ref <- readRDS("tests/testthat/data/points_downscale_ref.rds")
pt <- points_downscale_ref
projected <- climr_downscale(pt,
gcm_models = list_gcm()[3],
ssp = list_ssp()[c(1,2,4)],
max_run = 10,
gcm_hist_years = 1851:2014,
gcm_ts_years = 2015:2100,
vars = "Tmin07"
)

tic()
projected <- climr_downscale(pt,
gcm_models = list_gcm()[3],
ssp = list_ssp()[c(1,2,4)],
max_run = 10,
gcm_hist_years = 1851:2014,
gcm_ts_years = 2015:2100,
vars = "Tmin07"
)
toc()


xyz <- fread("US_TrainingPoints_07April2024.csv")
xyz <- xyz[,.(ID1, LAT,LON,ELEV_m)]
Expand Down
Binary file modified tests/testthat/data/downscaleout_gcm_hist_ref.rds
Binary file not shown.
Binary file modified tests/testthat/data/downscaleout_gcm_ref.rds
Binary file not shown.
Binary file modified tests/testthat/data/downscaleout_gcm_ts_ref.rds
Binary file not shown.
Binary file modified tests/testthat/data/downscaleout_historic_ref.rds
Binary file not shown.
Binary file modified tests/testthat/data/downscaleout_historic_ts_ref.rds
Binary file not shown.
Binary file modified tests/testthat/data/points_downscale_ref.rds
Binary file not shown.

0 comments on commit 3a427a3

Please sign in to comment.