Description Usage Arguments Value
View source: R/format_stations.R
Format ground-based precipitation data according to 'SWAT+' requirements
1 | formatPstations(data, metadata, output)
|
data |
zoo object with the precipitation time series of all stations. The dates should have the format %Y-%m-%d. |
metadata |
data.frame object containing the metadata of the precipitation stations. This data.frame must have five fields in the following specific order: LONG: the longitude coordinates in WGS84; and ELEVATION: the elevation of the station in metres. |
output |
character object with the path of the directory where the data will be stored. |
This function formats the ground-based precipitation stations data according to SWAT+ requirements.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.