formatTstations: Format ground-based temperature data according to 'SWAT+'...

Description Usage Arguments Value

View source: R/format_stations.R

Description

Format ground-based temperature data according to 'SWAT+' requirements

Usage

1
formatTstations(dataTmax, dataTmin, metadata, output)

Arguments

dataTmax

zoo object with the maximum temperature time series of all stations. The dates should have the format %Y-%m-%d.

dataTmin

zoo object with the minimum temperature 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.

Value

This function formats the ground-based precipitation stations data according to SWAT+ requirements.


obaezvil/swatLUC documentation built on Dec. 22, 2021, 3:23 a.m.