-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi,
This is a follow up on a previous issue (#26)
I have modified my code and dataset per your recommendations and I am faced with a new error reported below.
The sample code for the test case and dataset are available below.
##Loading required libraries
library(ClimDown)
library(ncdf4)
library(tidyr)
library(tidync)
library(udunits2)
setwd('/projects/dgs/persad_research/Nduka_data/climateR')
time_start <- Sys.time()
test_output.nc <- tempfile(fileext='.nc')
options(
calibration.start=as.POSIXct('2000-01-01', tz='GMT'),
calibration.end=as.POSIXct('2000-05-31', tz='GMT')
)
ClimDown::bccaq.netcdf.wrapper('pr_day_CNRM-ESM2-1_historical_r1i1p1f2_gr_2000_edited.nc', 'pr_daily_2000_v3.nc', test_output.nc, 'pr')
unlink(test_output.nc)
time_stop <- Sys.time()
time_spent <- time_stop - time_start
The error is
[1] "Calculating daily anomalies on the GCM"
Error in clima[, , m] : subscript out of bounds
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels