dtwSat icon indicating copy to clipboard operation
dtwSat copied to clipboard

Fatal error: *** recursive gc invocation

Open vwmaus opened this issue 2 years ago • 0 comments

Flavor r-devel-linux-x86_64-debian-gcc gets:

  > library(testthat)
  > library(dtwSat)
  Loading required package: twdtw
  Loading required package: sf
  Linking to GEOS 3.12.0, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
  Loading required package: stars
  Loading required package: abind
  Loading required package: ggplot2
  >
  > test_check("dtwSat")
  
  Model of class 'twdtw_knn1'
  -----------------------------
  Call:
  twdtw_knn1(x = dc, y = samples, time_weight = c(steepness = 0.1,
      midpoint = 50), cycle_length = "year", time_scale = "day",
      formula = band ~ s(time))
  
  Formula:
  band ~ s(time)
  <environment: 0x55c0ac89db10>
  
  Data:
  # A tibble: 5 × 2
    label observations
    <chr> <list>
  1 Cotton-fallow <df [22 × 7]>
  2 Forest <df [22 × 7]>
  3 Soybean-cotton <df [22 × 7]>
  4 Soybean-millet <df [22 × 7]>
  5 Soybean-maize <df [22 × 7]>
  
  TWDTW Arguments:
   - time_weight: c(steepness=0.1, midpoint=50)
   - cycle_length: year
   - time_scale: day
   - origin: NULL
   - max_elapsed: Inf
   - version: f90
  prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
  prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
  
   *** caught segfault ***
  address 0x55c00000001a, cause 'memory not mapped'
  Fatal error: *** recursive gc invocation
  
  Fatal error: *** recursive gc invocation

vwmaus avatar Oct 18 '23 21:10 vwmaus