runCalmet: Generate input for CALMET

View source: R/01_calmet.R

runCalmetR Documentation

Generate input for CALMET

Description

Generate input for CALMET

Usage

runCalmet(
  input_xls = NULL,
  sources = NULL,
  wrf_dir,
  grid_names = NULL,
  select_grids = "*",
  expand_grids = "*",
  expand_ncells = -5,
  crop_grid = NULL,
  output_dir,
  gis_dir,
  calmet_exe,
  calmet_templates,
  only_make_additional_files = F,
  out_files = NULL,
  boundaries_for_plotting = NULL,
  run_calmet = F
)

Arguments

wrf_dir

directory where to find m3d files

expand_grids

regex string - if grid name matches, the scripts attempts to expand the grid

expand_ncells

number of cells to expand the selected grid(s) in each direction (use negative values to crop domain area)

output_dir

directory where to write generated input and bat files

calmet_exe

filepath (full) of CALMET exe

calmet_templates

(list) list with noobs and surfobs template full file paths

only_make_additional_files

F: make files anyway and do not skip; T: skip if output file already exists

out_files

MYSTERY: this one seems to be generated after this function is called, yet used here

run_calmet

whether to actually run CALMET

gis_folder

directory where to find land cover files


energyandcleanair/creapuff documentation built on Feb. 8, 2025, 4:29 p.m.