Skip to contents

Convert historical meteorology and NOAA forecasts to GLM format via arrow connection

Usage

generate_met_files_arrow(
  obs_met_file = NULL,
  out_dir,
  start_datetime,
  end_datetime = NA,
  forecast_start_datetime = NA,
  forecast_horizon = 0,
  site_id,
  use_s3 = FALSE,
  bucket = NULL,
  endpoint = NULL,
  local_directory = NULL,
  use_forecast = TRUE,
  use_ler_vars = FALSE,
  use_siteid_s3 = FALSE
)

Arguments

obs_met_file

string; full path to netcdf that is observed historical meteorology

out_dir

string; full path to directory where the converted files will be saved

Value

list; vector of full path for the converted files and boolean flag if issues with historical meteorology files

Details

Function combines historical meteorology and NOAA forecasts to create meteorology input files in the GLM format. A file is generated for each ensemble member.

Author

Quinn Thomas