Last updated on 2024-10-19 15:53:15 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.4.6 | 55.66 | 404.70 | 460.36 | OK | |
r-devel-linux-x86_64-debian-gcc | 2.4.6 | 34.28 | 238.19 | 272.47 | OK | |
r-devel-linux-x86_64-fedora-clang | 2.4.6 | 710.34 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 2.4.6 | 650.04 | ERROR | |||
r-devel-windows-x86_64 | 2.4.6 | 51.00 | 332.00 | 383.00 | OK | |
r-patched-linux-x86_64 | 2.4.6 | 48.01 | 367.88 | 415.89 | OK | |
r-release-linux-x86_64 | 2.4.6 | 45.79 | 386.04 | 431.83 | OK | |
r-release-macos-arm64 | 2.4.6 | 113.00 | OK | |||
r-release-macos-x86_64 | 2.4.6 | 204.00 | OK | |||
r-release-windows-x86_64 | 2.4.6 | 51.00 | 335.00 | 386.00 | OK | |
r-oldrel-macos-arm64 | 2.4.6 | 157.00 | OK | |||
r-oldrel-macos-x86_64 | 2.4.6 | 228.00 | OK | |||
r-oldrel-windows-x86_64 | 2.4.6 | 68.00 | 465.00 | 533.00 | OK |
Version: 2.4.6
Check: examples
Result: ERROR
Running examples in ‘medfateland-Ex.R’ failed
The error most likely occurred in:
> ### Name: spwb_land_day
> ### Title: One-day watershed simulations
> ### Aliases: spwb_land_day growth_land_day
>
> ### ** Examples
>
> # Load example watershed data after burnin period
> data("example_watershed_burnin")
>
> # Set request for daily model results in cells number 3, 6 (outlet) and 9
> example_watershed_burnin$result_cell <- FALSE
> example_watershed_burnin$result_cell[c(3,6,9)] <- TRUE
>
> # Get bounding box to determine limits
> b <- sf::st_bbox(example_watershed_burnin)
> b
xmin ymin xmax ymax
401430 4671870 402830 4672570
>
> # Define a raster topology, using terra package,
> # with the same CRS as the watershed. In this example cells have 100 m side.
> # Coordinates in the 'sf' object are assumed to be cell centers
> r <-terra::rast(xmin = 401380, ymin = 4671820, xmax = 402880, ymax = 4672620,
+ nrow = 8, ncol = 15, crs = "epsg:32631")
>
> # Load example meteo data frame from package meteoland
> data("examplemeteo")
>
> # Load default medfate parameters
> data("SpParamsMED")
>
> # Watershed control parameters (TETIS model; Frances et al. 2007)
> ws_control <- default_watershed_control("tetis")
>
> # Launch simulation
> date <- "2001-03-01"
> sf_out <- spwb_land_day(r, example_watershed_burnin, SpParamsMED, examplemeteo,
+ date = date,
+ watershed_control = ws_control)
── Simulation of model 'spwb' over a watershed for day '2001-03-01' ────────────
ℹ Checking topology
✔ Checking topology [48ms]
ℹ Checking 'sf' data
✔ Checking 'sf' data [170ms]
ℹ Determining neighbors and discharge for TETIS
✔ Determining neighbors and discharge for TETIS [86ms]
• Hydrological model: TETIS
• Number of grid cells: 120 Number of target cells: 66
• Average cell area: 10006 m2, Total area: 120 ha, Target area: 66 ha
• Cell land use wildland: 48 agriculture: 17 artificial: 0 rock: 1 water: 0
• Cells with soil: 65
• Number of cells with daily model results requested: 3
• Number of outlet cells: 1
ℹ Building spwb input
✔ Building spwb input [32ms]
ℹ 0 cells needed initialization
Package 'meteoland' [ver. 2.2.2]
Error in medfate::spwb_day(xi$x, date, xi$meteovec, latitude = xi$latitude, :
Index out of bounds: [index='internalCommunication'].
Calls: spwb_land_day ... .watershedDayTetis -> .f_landunit_day -> <Anonymous>
✖ 0 cells needed initialization [222ms]
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.4.6
Check: examples
Result: ERROR
Running examples in ‘medfateland-Ex.R’ failed
The error most likely occurred in:
> ### Name: spwb_land_day
> ### Title: One-day watershed simulations
> ### Aliases: spwb_land_day growth_land_day
>
> ### ** Examples
>
> # Load example watershed data after burnin period
> data("example_watershed_burnin")
>
> # Set request for daily model results in cells number 3, 6 (outlet) and 9
> example_watershed_burnin$result_cell <- FALSE
> example_watershed_burnin$result_cell[c(3,6,9)] <- TRUE
>
> # Get bounding box to determine limits
> b <- sf::st_bbox(example_watershed_burnin)
> b
xmin ymin xmax ymax
401430 4671870 402830 4672570
>
> # Define a raster topology, using terra package,
> # with the same CRS as the watershed. In this example cells have 100 m side.
> # Coordinates in the 'sf' object are assumed to be cell centers
> r <-terra::rast(xmin = 401380, ymin = 4671820, xmax = 402880, ymax = 4672620,
+ nrow = 8, ncol = 15, crs = "epsg:32631")
>
> # Load example meteo data frame from package meteoland
> data("examplemeteo")
>
> # Load default medfate parameters
> data("SpParamsMED")
>
> # Watershed control parameters (TETIS model; Frances et al. 2007)
> ws_control <- default_watershed_control("tetis")
>
> # Launch simulation
> date <- "2001-03-01"
> sf_out <- spwb_land_day(r, example_watershed_burnin, SpParamsMED, examplemeteo,
+ date = date,
+ watershed_control = ws_control)
── Simulation of model 'spwb' over a watershed for day '2001-03-01' ────────────
ℹ Checking topology
✔ Checking topology [49ms]
ℹ Checking 'sf' data
✔ Checking 'sf' data [140ms]
ℹ Determining neighbors and discharge for TETIS
✔ Determining neighbors and discharge for TETIS [105ms]
• Hydrological model: TETIS
• Number of grid cells: 120 Number of target cells: 66
• Average cell area: 10006 m2, Total area: 120 ha, Target area: 66 ha
• Cell land use wildland: 48 agriculture: 17 artificial: 0 rock: 1 water: 0
• Cells with soil: 65
• Number of cells with daily model results requested: 3
• Number of outlet cells: 1
ℹ Building spwb input
✔ Building spwb input [34ms]
ℹ 0 cells needed initialization
Package 'meteoland' [ver. 2.2.2]
Error in medfate::spwb_day(xi$x, date, xi$meteovec, latitude = xi$latitude, :
Index out of bounds: [index='internalCommunication'].
Calls: spwb_land_day ... .watershedDayTetis -> .f_landunit_day -> <Anonymous>
✖ 0 cells needed initialization [216ms]
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc