Last updated on 2023-03-20 00:54:01 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.2.6 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 1.2.6 | 14.54 | 211.63 | 226.17 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.2.6 | 398.42 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.2.6 | 387.17 | OK | |||
r-devel-windows-x86_64 | 1.2.6 | 157.00 | 399.00 | 556.00 | OK | |
r-patched-linux-x86_64 | 1.2.6 | 20.36 | 291.34 | 311.70 | OK | |
r-release-linux-x86_64 | 1.2.6 | 14.77 | 293.74 | 308.51 | OK | |
r-release-macos-arm64 | 1.2.6 | 109.00 | OK | |||
r-release-macos-x86_64 | 1.2.6 | 131.00 | OK | |||
r-release-windows-x86_64 | 1.2.6 | 128.00 | 372.00 | 500.00 | OK | |
r-oldrel-macos-arm64 | 1.2.6 | 110.00 | OK | |||
r-oldrel-macos-x86_64 | 1.2.6 | 134.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 1.2.6 | 30.00 | 339.00 | 369.00 | OK |
Version: 1.2.6
Check: examples
Result: ERROR
Running examples in ‘cmsafops-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: remap
> ### Title: Grid interpolation.
> ### Aliases: remap
>
> ### ** Examples
>
> ## Create an example NetCDF file with a similar structure as used by CM
> ## SAF. The file is created with the ncdf4 package. Alternatively
> ## example data can be freely downloaded here: <https://wui.cmsaf.eu/>
>
> library(ncdf4)
>
> ## create some (non-realistic) example data
>
> lon <- seq(5, 15, 0.5)
> lat <- seq(45, 55, 0.5)
> lon2 <- seq(5, 15, 1)
> lat2 <- seq(45, 55, 1)
> time <- c(as.Date("2000-01-01"), as.Date("2001-02-01"))
> origin <- as.Date("1983-01-01 00:00:00")
> time <- as.numeric(difftime(time, origin, units = "hour"))
> data1 <- array(250:350, dim = c(21, 21, 1))
> data2 <- array(230:320, dim = c(21, 21, 1))
>
> ## create two example NetCDF files
>
> x <- ncdim_def(name = "lon", units = "degrees_east", vals = lon)
> y <- ncdim_def(name = "lat", units = "degrees_north", vals = lat)
> t <- ncdim_def(name = "time", units = "hours since 1983-01-01 00:00:00",
+ vals = time[1], unlim = TRUE)
> var1 <- ncvar_def("SIS", "W m-2", list(x, y, t), -1, prec = "short")
> vars <- list(var1)
> ncnew <- nc_create(file.path(tempdir(),"CMSAF_example_file_1.nc"), vars)
> ncvar_put(ncnew, var1, data1)
> ncatt_put(ncnew, "lon", "standard_name", "longitude", prec = "text")
> ncatt_put(ncnew, "lat", "standard_name", "latitude", prec = "text")
> nc_close(ncnew)
>
> x <- ncdim_def(name = "lon", units = "degrees_east", vals = lon2)
> y <- ncdim_def(name = "lat", units = "degrees_north", vals = lat2)
> t <- ncdim_def(name = "time", units = "hours since 1983-01-01 00:00:00",
+ vals = time[1], unlim = TRUE)
> ncnew <- nc_create(file.path(tempdir(),"CMSAF_example_file_2.nc"), vars)
> ncvar_put(ncnew, var1, data2)
> ncatt_put(ncnew, "lon", "standard_name", "longitude", prec = "text")
> ncatt_put(ncnew, "lat", "standard_name", "latitude", prec = "text")
> nc_close(ncnew)
>
> ## Interpolate the fields of both example CM SAF NetCDF file 1 to the
> ## coarser grid of file 2 and write the result into one output file.
> remap(var = "SIS", infile1 = file.path(tempdir(),"CMSAF_example_file_1.nc"),
+ infile2 = file.path(tempdir(),"CMSAF_example_file_2.nc"),
+ outfile = file.path(tempdir(),"CMSAF_example_file_remap.nc"))
Error in FNN::get.knnx(ref[[1]], file_data2$dimension_data$x, k = 1) :
DLL requires the use of native symbols
Calls: remap -> <Anonymous>
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc