-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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:
- fall back for empty
out_infoobject fromwriteStart()(why does this happen? because ofrun_rosetta()overwriteargument does not work if prior run failed #11/inability to open file for writing? other reasons?) - better
nrowsheuristic (borrownrow(.data)/(terra::ncell(.data)/core_thresh)from jNSMR) - nrows: consider update of magic number for rosetta v.s. jNSM (
core_thresh=25000L)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels