This function validates and writes CALMET parameters for surface stations, precipitation stations, and upper air soundings to the working CALMET.INP file.
1 2 3 4 5 6 7 8 9 10  | calmet_07_station_params(calmet_inp = "calmet_template.txt",
  read_data_from_files = TRUE, surf_station_vars_name = NULL,
  surf_station_vars_ID = NULL, surf_station_vars_x_coord = NULL,
  surf_station_vars_y_coord = NULL, surf_station_vars_tz = NULL,
  surf_station_vars_anem_hgt = NULL, upper_air_params_name = NULL,
  upper_air_params_ID = NULL, upper_air_params_x_coord = NULL,
  upper_air_params_y_coord = NULL, upper_air_params_tz = NULL,
  precip_station_params_name = NULL, precip_station_params_stn_code = NULL,
  precip_station_params_x_coord = NULL,
  precip_station_params_y_coord = NULL)
 | 
calmet_inp | 
 the absolute path and filename for the working CALMET input file.  | 
read_data_from_files | 
 an option to read data from GEO.DAT and SURF.DAT residing the the working folder.  | 
surf_station_vars_name | 
 a vector containing names for each of the surface stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
surf_station_vars_ID | 
 a vector containing ID strings for each of the surface stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
surf_station_vars_x_coord | 
 a vector containing X direction coordinates for each of the surface stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
surf_station_vars_y_coord | 
 a vector containing Y direction coordinates for each of the surface stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
surf_station_vars_tz | 
 a vector containing time zone values for each of the surface stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
surf_station_vars_anem_hgt | 
 a vector containing anemometer heights for each of the surface stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
upper_air_params_name | 
 the name of the upper air sounding. If 'read_data_from_files' is set to TRUE, a value isn't required.  | 
upper_air_params_ID | 
 the ID string of the upper air sounding. If 'read_data_from_files' is set to TRUE, a value isn't required.  | 
upper_air_params_x_coord | 
 the X direction of the upper air sounding. If 'read_data_from_files' is set to TRUE, a value isn't required.  | 
upper_air_params_y_coord | 
 the Y direction of the upper air sounding. If 'read_data_from_files' is set to TRUE, a value isn't required.  | 
upper_air_params_tz | 
 the time zone value of the upper air sounding. If 'read_data_from_files' is set to TRUE, a value isn't required.  | 
precip_station_params_name | 
 a vector containing anemometer heights for each of the precipitation stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
precip_station_params_stn_code | 
 a vector containing station codes for each of the precipitation stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
precip_station_params_x_coord | 
 a vector containing X direction values for each of the precipitation stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
precip_station_params_y_coord | 
 a vector containing Y direction values for each of the precipitation stations. If 'read_data_from_files' is set to TRUE, values aren't required.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.