View source: R/products2stations.R
1 | temp2stations(tmax, tmin, dem, output, hru.shape, start)
|
tmax |
Maximum temperatures product as 'SpatRast' that includes all the days of the study period as layers. |
tmin |
Minimum temperatures product as 'SpatRast' that includes all the days of the study period as layers. |
dem |
Digital elevation model to be used to extract the elevation of the stations. |
output |
Folder to write the station files (data and metadata). |
hru.shape |
Spatial object of type 'SpatVector' that contains the HRUs as obtained from QSWAT+ |
start |
Character object that contains the starting date of the model in the format ' |
Convert every grid-cell of a gridded maximum and minimum temperature product into a station for SWAT+
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.