Skip to contents

get the paths to scenarios

Usage

find_scenario_paths(
  hydro_dir,
  type = "csv",
  scenarios_from = "directory",
  file_search = NULL
)

Arguments

hydro_dir

directory with hydrographs

type

filetype, default 'csv', likely will also need 'ncdf'

scenarios_from

as in prep_run_save_ewrs()

character, regex for additional limitations on filenames. Useful if several files have the extension defined by type, but only some are hydrographs.

Value

a list of filepaths to the hydrographs