getMet: Gets met data from a specified source and creates model input...

Description Usage Arguments Value Examples

Description

Gets met data from a specified source and creates model input files in the specified format

Usage

1
2
getMet(locations, dataSource = "cfsr", outFormat = "swat",
  outDir = getwd(), apiKey = "")

Arguments

locations

- data.frame object or location of csv file with two columns, the first being lattitude and second being longidute in decimal degrees. These locations will be the locations of the collected met data.

dataSource

- Source of met data from predefined source list. Currenly only 'cfsr' is supported.

outFormat

- Format of met data output from predefined source. Currently only 'swat' is supported.

outDir

- Directory where ouput files will be saved

apiKey

- String input of api key for selected data source if required.

Value

returns specified met data in specified format

Examples

1
2
3
4
5
6
## Not run: 
locations = data.frame(lat = 38, lon = 79)
outDir = "test"
getMet(locations=locations, outDir=outDir, dataSource = 'cfsr', outFormat = 'swat')

## End(Not run)


Search within the getMet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.