Skip to contents

Generating inflow and output files in the GLM format using arrow

Usage

create_inflow_outflow_files_arrow(
  inflow_forecast_dir = NULL,
  inflow_obs,
  variables = c("time", "FLOW", "TEMP", "SALT"),
  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
)

Arguments

inflow_forecast_dir

string; full directory path that contains forecasted inflow and outflow files

inflow_obs

string; full path to cleaned inflow observation in the specified format

working_directory

string; full directory where FLARE executes

state_names

vector; vector of state names that will be included in the inflow files

Value

list with two vectors. One vector is the matrix of inflow_file_names and the other is the matrix of outflow_file_names

Details

Processes historical inflow data from inflow_obs and from files in the inflow_file_dir into the GLM format