.swei | R Documentation |
Utils function to calculate the Snow Water Equivalent Index (SWEI)
.swei(x, dates, scale, missing_ratio)
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%). |
Numerical vector with the corresponding to the SWEI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.