Description Usage Arguments Details
The command line version of FARSITE can accept a single set of hourly weather data in RAWS (Remote Automated Weather Station) format or, alternatively, separate sets of summary weather data (daily values for temperature, humidity and rainfall) and wind data (hourly values of speed and direction plus cloud cover). The Windows version of FARSITE only accepts weather data in the separate sets format. This function reads a file of RAWS format hourly data and writes two separate files of summary and wind data.
1 2 | raws_to_farsite(rawsfile, wtrfile, wndfile, elev, units = c("metric",
"english"), varnames.as.comment = FALSE)
|
rawsfile |
Path to a RAWS format data file. This is allowed to have
comment lines (first character |
wtrfile |
Path for the output daily summary data file. FARSITE expects a '.wtr' extension. |
wndfile |
Path for the output hourly wind data file. FARSITE expects a '.wnd' extension. |
elev |
A single integer value for elevation that will be written to each record of the daily summary (.wtr) file. |
units |
Measurement units: either 'metric' (default) or 'english'. Case is ignored. Ignored if there is a header line in the RAWS input file specifying units. |
varnames.as.comment |
If TRUE, write variable names as a comment line in each output file. |
Note that, for some reason, FARSITE expects integer values for all variables when the data are provided as separate daily summary and hourly wind files, but, from inspection of the C++ source code, it accepts floating point values for temperature when the data are in RAWS format (for some reason, rainfall and humidity are read as integers).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.