Description Usage Arguments Value Examples
Gets met data from a specified source and creates model input files in the specified format
1 2 |
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. |
returns specified met data in specified format
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.