Skip to content

Commit

Permalink
Test Created
Browse files Browse the repository at this point in the history
  • Loading branch information
Snafkin547 committed Jul 25, 2024
1 parent b03db47 commit eef4f77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/assim.sequential/tests/testthat/test_aggregation.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ test_that("returns error of unmatched CRS", {
polygon_data <- st_transform(us_states[us_states$STUSPS == state, ], crs = "EPSG:2222")

# Load the downscaled raster output
downscale_output <- readRDS("test_aggregation/downscale_output_hrly.rds")
downscale_output <- list(
maps = list(
ensemble1 = "test_aggregation/ensemble1.tif",
ensemble2 = "test_aggregation/ensemble2.tif",
ensemble3 = "test_aggregation/ensemble3.tif"
)
)

read_raster <- function(file_path) {
rast(file_path)
Expand Down

0 comments on commit eef4f77

Please sign in to comment.