Open brownag opened 8 months ago
Reported by @ColbyBrungard
library(terra) terraOptions(memfrac=0.9, progress=2) # test SpatRast sand, silt, clay – all sum to exactly 100% test = rast("Z:\\vf\\WaterRetentionDifference\\test/sum_30cm_test_fix.tif") run_rosetta(soildata = test, vars = NULL, rosetta_version = 2, cores = 8, file = "awc_30_cm.tif", nrows = 10000, overwrite = TRUE )
Yields the following:
Error in seq.default(1, out_info$nrows, nrows) : 'to' must be of length 1
TODO:
out_info
writeStart()
nrows
nrow(.data)/(terra::ncell(.data)/core_thresh)
core_thresh=25000L
Reported by @ColbyBrungard
Yields the following:
TODO:
out_info
object fromwriteStart()
(why does this happen? because of #11/inability to open file for writing? other reasons?)nrows
heuristic (borrownrow(.data)/(terra::ncell(.data)/core_thresh)
from jNSMR)core_thresh=25000L
)