getAtmoFlows: Gather all atmospheric data time series

Description Usage Arguments Value Examples

View source: R/getAtmoFlows.R

Description

This function gathers precipitation, evapotranspiration and temperature data from the USGS Geo Data Portal (GDP), and calculates potential evapotranspiration. NOTE: Shapefile for geometry must already be uploaded to the GDP.

Usage

1
getAtmoFlows(start, end, geometry, att, val = NA, latitude)

Arguments

start

start date in format 'YYYY-MM-DD'

end

end date in format 'YYYY-MM-DD'

geometry

name of geometry as displayed in GDP

att

attribute of geometry as displayed in GDP

val

values of attribute as displayed in GDP

latitude

(degrees)

Value

xts object consisting of:

prcp

precipitation (mm)

et

evapotranspiration (mm)

tmax

max temperature (deg C)

tmin

min temperature (deg C)

pet

potential evapotranspiration (mm)

Examples

1
2
3
4
5
## Not run: 
atm <- getAtmoFlows('2010-01-01', '2010-12-31', 'sample:Counties', 'STATE','RI',
41.5801)

## End(Not run)

lerban/CityWaterBalance documentation built on May 21, 2019, 5:10 a.m.