calc_DailyScenarioWeather: Extract daily climate scenario data

Description Usage Details Notes See Also

View source: R/ExtractData_ClimateDownscaling.R

Description

Extract daily climate scenario data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
calc_DailyScenarioWeather(
  ids_ToDo,
  clim_source,
  climDB_meta,
  climDB_files,
  reqGCMs,
  reqRCPsPerGCM,
  reqDownscalingsPerGCM,
  locations,
  compression_type,
  getYears,
  sim_scen_ids,
  dir_out_temp,
  dir_failed,
  fdbWeather,
  resume,
  verbose
)

Details

This function parallelize over reqGCMs x reqRCPsPerGCM combinations, i.e., data for all locations are extracted for one value of reqGCMs x reqRCPsPerGCM at a time. This is good if file handling is slow and memory is not limiting. However, if data cannot be loaded into memory, then this function cannot work. In this case, this function would need to be re-written to additionally loop over chunks of locations.

Notes

This function works only if

See Also

calc_MonthlyScenarioWeather


Burke-Lauenroth-Lab/SoilWat_R_Wrapper documentation built on Aug. 14, 2020, 5:17 p.m.