Package: rOPTRAM 0.3.3.000

Micha Silver

rOPTRAM: Derive Soil Moisture Using the OPTRAM Algorithm

The OPtical TRapezoid Model (OPTRAM) derives soil moisture based on the linear relation between a vegetation index and Land Surface Temperature (LST). The Short Wave Infra-red (SWIR) band is used as a proxy for LST. See: Sadeghi, M. et al., 2017. <https://doi.org/10.1016/j.rse.2017.05.041> .

Authors:Micha Silver [aut, cre], Arnon Karnieli [ctb, fnd], Zhe Dong [ctb], Ron Beiden [ctb], Natalya Panov [ctb], Zhe Dong [ctb], Lauren O'Brien [rev], Harry Eslick [rev]

rOPTRAM_0.3.3.000.tar.gz
rOPTRAM_0.3.3.000.zip(r-4.7)rOPTRAM_0.3.3.000.zip(r-4.6)rOPTRAM_0.3.3.000.zip(r-4.5)
rOPTRAM_0.3.3.000.tgz(r-4.6-any)rOPTRAM_0.3.3.000.tgz(r-4.5-any)
rOPTRAM_0.3.3.000.tar.gz(r-4.7-any)rOPTRAM_0.3.3.000.tar.gz(r-4.6-any)
rOPTRAM_0.3.3.000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rOPTRAM/json (API)

# Install 'rOPTRAM' in R:
install.packages('rOPTRAM', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #612

Bug tracker:https://github.com/ropensci/roptram/issues

Pkgdown/docs site:https://docs.ropensci.org

On CRAN:

Conda:

5.64 score 13 stars 16 scripts 17 exports 38 dependencies

Last updated from:223cd0c774 (on main). Checks:7 ERROR, 3 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR241
pkgdown docsOK207
source / vignettesOK221
linux-release-x86_64ERROR231
macos-release-arm64ERROR179
macos-oldrel-arm64ERROR195
windows-develERROR197
windows-releaseERROR188
windows-oldrelERROR182
wasm-releaseOK192

Exports:acquire_openeoacquire_scihubcalculate_strcalculate_vicrop_landsat_listoptramoptram_acquire_s2optram_calculate_soil_moistureoptram_calculate_stroptram_landsatoptram_ndvi_stroptram_optionsoptram_safeoptram_wetdry_coefficientsplot_vi_str_cloudretrieve_cdse_credentialsstore_cdse_credentials

Dependencies:classclassIntclicpp11DBIdplyre1071farvergenericsggplot2gluegtableisobandKernSmoothlabelinglifecyclemagrittrMASSpillarpkgconfigproxyR6RColorBrewerRcpprlangs2S7scalessfterratibbletidyselectunitsutf8vctrsviridisLitewithrwk

rOPTRAM: Deriving Soil Moisture from Sentinel-2 Imagery
Introduction | Prerequisites | Workflows | Package options | Main wrapper function | Run the full OPTRAM model procedure with a single function call | Show trapezoid plot | Step by step | The same procedure as the wrapper function, but in explicit steps | Soil Moisture Estimate | Use trapezoid coefficients, VI, and STR rasters to derive soil moisture grid | Soil moisture plot

Last update: 2026-02-03
Started: 2023-10-16

rOPTRAM: Three Trapezoid Fitting Methods
Introduction | Examples | Prepare data.frame of pixel values | Show Linear trapezoid plot | Show Exponential fitted trapezoid plot | Show Polynomial fitted trapezoid plot

Last update: 2025-06-17
Started: 2024-02-19

Acquiring Sentinel-2 Imagery
Introduction | Acquiring Sentinel-2 Imagery using CDSE | Step 1: Install Required Packages | Step 2: Create CDSE Account and OAuth Client | Step 3: Creating OAuth Client: | Step 4: Saving Credentials: | Step 5: Acquire Sentinel-2 Imagery | Acquiring Sentinel-2 Imagery using openEO | Step 2: Connect to openEO Platform | Registration Process: | Login Process: | Step 3: Acquire Sentinel-2 Imagery | Conclusion

Last update: 2024-07-02
Started: 2024-02-22

Readme and manuals

Help Manual

Help pageTopics
Utility Function to Acquire Sentinel-2 Imagery using openEOacquire_openeo
Utility Function to Acquire Sentinel-2 Imagery Using 'CDSE' Packageacquire_scihub
Calculate STR from SWIR Bottom of Atmosphere Bandcalculate_str
Calculate Vegetation Index from Bottom of Atmosphere Image Bandscalculate_vi
Crop List of Landsat Bands to AOIcrop_landsat_list
Utility Function to Prepare Exponential Fitted Edges of Trapezoidexponential_coefficients
Calculate Soil Moisture Grid, Exponential Trapezoidexponential_soil_moisture
Utility Function to Prepare Linear Regression Edges of Trapezoidlinear_coefficients
Calculate Soil Moisture Grid, Linear Trapezoidlinear_soil_moisture
Prepare Sentinel Imagery for Soil Moisture Prediction Using OPTRAM.optram
Acquire Sentinel 2 Images at a Given Location and Date Rangeoptram_acquire_s2
Calculate Soil Moisture Gridoptram_calculate_soil_moisture
Create SWIR Transformed Reflectanceoptram_calculate_str
Handle Satellite Imagery in Original Landsat Formatoptram_landsat
Prepare Dataframe with Pairs of NDVI and STR Valuesoptram_ndvi_str
Display or Set Package Optionsoptram_options
Handle Third Party Imagery With Red, NIR and SWIR Bandsoptram_prepare_other_vi_str
Handle Sentinel Imagery in Original Copernicus SAFE Formatoptram_safe
Derive Coefficients of Slope and Interceptoptram_wetdry_coefficients
Create Scatter Plot of STR-NDVI Data Points,plot_vi_str_cloud
Utility Function to Prepare Polynomial Fitted Edges of Trapezoidpolynomial_coefficients
Calculate Soil Moisture, Polynomial Fitted Curvepolynomial_soil_moisture
Retrieve CDSE Client Credentials from Fileretrieve_cdse_credentials
Store CDSE Client Credentialsstore_cdse_credentials