Skip to contents

Extract the names of the files concerned by a GCM/RCM scenario

Usage

getDrias2020filenames(scenario, scenario_data_files)

Arguments

scenario

character Scenario name in format "GCM/RCM"

scenario_data_files

character Names of DRIAS 2020 netCDF files

Value

A character vector of selected DRIAS 2020 files

Examples

if (FALSE) {
cfg <- loadConfig()
# The following operation as it download the netcdf files takes
# a very, very long time on the cloud
driasFiles <- list.files(getDataPath(cfg$hydroclim$path, "drias",
cfg$hydroclim$drias$source, cfg = cfg))
getDrias2020filenames(cfg$hydroclim$drias$scenarios[1], driasFiles[1],
cfg = cfg)
}