dot-swei: Utils function to calculate the Snow Water Equivalent Index...

.sweiR Documentation

Utils function to calculate the Snow Water Equivalent Index (SWEI)

Description

Utils function to calculate the Snow Water Equivalent Index (SWEI)

Usage

.swei(x, dates, scale, missing_ratio)

Arguments

x

Numerical vector.

dates

Vector of dates that is extracted from the 'SpatRaster' in the 'spatial_swei' function.

scale

Integer value that represents the time scale at which the ESSMI will be computed.

missing_ratio

Ratio of missing data that is acceptable for the computation. Set to 0.2 by default (20%).

Value

Numerical vector with the corresponding to the SWEI


obaezvil/SpatIndex documentation built on Aug. 9, 2024, 3:42 p.m.