run_rosetta.default | R Documentation |
rosetta()
method from Python moduleRun rosetta()
method from Python module
## Default S3 method:
run_rosetta(soildata, vars = NULL, rosetta_version = 3, ...)
## S3 method for class 'data.frame'
run_rosetta(soildata, vars = NULL, rosetta_version = 3, ...)
## S3 method for class 'matrix'
run_rosetta(soildata, vars = NULL, rosetta_version = 3, ...)
## S3 method for class 'RasterStack'
run_rosetta(
soildata,
vars = NULL,
rosetta_version = 3,
cores = 1,
core_thresh = 20000L,
file = paste0(tempfile(), ".tif"),
nrows = nrow(soildata)/(terra::ncell(soildata)/core_thresh),
overwrite = TRUE
)
## S3 method for class 'RasterBrick'
run_rosetta(
soildata,
vars = NULL,
rosetta_version = 3,
cores = 1,
core_thresh = 20000L,
file = paste0(tempfile(), ".tif"),
nrows = nrow(soildata)/(terra::ncell(soildata)/core_thresh),
overwrite = TRUE
)
## S3 method for class 'SpatRaster'
run_rosetta(
soildata,
vars = NULL,
rosetta_version = 3,
cores = 1,
core_thresh = 20000L,
file = paste0(tempfile(), ".tif"),
nrows = nrow(soildata)/(terra::ncell(soildata)/core_thresh),
overwrite = TRUE
)
soildata |
A list of numeric vectors each containing 3 to 6 values: |
vars |
character. Optional: names and order of custom column names if |
rosetta_version |
Default: 3 |
... |
additional arguments not used |
cores |
number of cores; used only for processing SpatRaster or Raster* input |
core_thresh |
Magic number for determining processing chunk size. Default |
file |
path to write incremental raster processing output for large inputs that do not fit in memory; passed to |
nrows |
number of rows to use per block chunk; passed to |
overwrite |
logical; overwrite |
A data.frame containing mean
and stdev
for following five columns (parameters for van Genuchten-Mualem equation)
"theta_r"
, residual water content
"theta_s"
, saturated water content
"log10(alpha)"
, 'alpha' shape parameter, log10(1/cm)
"log10(npar)"
, 'n' shape parameter
"log10(Ksat)"
, saturated hydraulic conductivity, log10(cm/day)
If the sum of sand, silt, and clay is not 100%, the parameter value estimates will be NaN
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.