srsMain: SRS Main Function

View source: R/srs_main.R

srsMainR Documentation

SRS Main Function

Description

This function calls the data preparation tools and climate, mineral soil, organic soil, and landscape indices.

Usage

srsMain(
  cropType,
  cropArrays,
  rasterStackFolder,
  shapefileAOI,
  indicesCalc,
  saveLocation
)

Arguments

cropType

The crop type that will be used for the calculations

cropArrays

The input default data or custom data for each crop type

rasterStackFolder

The input folder location containing the required data

shapefileAOI

The input shapefile to be used for the area of interest

indicesCalc

A list of the input indices that will be calculated (options are climate, mineral, organic, and landscape)

saveLocation

The folder location where the data will be saved

Value

The return is a grid data (.tiff) file containing the resulting calculations of SRS


mitmon/SRS documentation built on Jan. 12, 2023, 12:15 a.m.