Description Usage Arguments Value Author(s)
View source: R/noaa_gefs_download_downscale.R
Downloads a set of NOAA Global Ensemble Forecast System (GEFS) forecasts for a set of point locations or spatial ranges, downscaling them in time if requested.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | noaa_gefs_download_downscale(
site_list,
lat_list,
lon_list,
output_directory,
forecast_time = NA,
forecast_date = NA,
downscale = FALSE,
debias = FALSE,
debias_coefficients = NULL,
run_parallel = FALSE,
num_cores = 1,
method = "point",
overwrite = FALSE,
read_from_path = FALSE,
grid_name = "neon",
process_specific_date = NA,
process_specific_cycle = NA,
delete_bad_files = TRUE,
write_intermediate_ncdf = TRUE
)
|
site_list |
Vector of site codes, e.g. "NOAA", used in directory and file name generation. |
lat_list |
Vector or range of latitudes to be downloaded (see details). |
lon_list |
Vector or range of longitudes to be downloaded (see details). |
output_directory |
Path: directory where the model output will be saved. |
forecast_time |
The 'hour' of the requested forecast, one of "00", "06", "12", or "18" (see details). If omitted all times will be downloaded. |
forecast_date |
The date, or coercible string, of the requested forecast. ((Defaults to the most recent date.)) |
downscale |
Logical specifying whether to downscale from 6-hr to 1-hr data. |
debias |
Logical specifying whether weather data should be adjusted for a bias verses the nearest forecast point. |
debias_coefficients |
If debias = TRUE, a data frame of debasing parameter value lists (see details). |
run_parallel |
Logical: whether to run on multiple cores. |
num_cores |
Integer: number of cores used if run_parallel = TRUE. |
method |
Character string indicating the download method, either "point" or "grid". |
overwrite |
Logical stating whether to overwrite any existing output files. |
read_from_path |
Point mode only: |
grid_name |
Grid mode only: a short grid name used in directory and file name generation. |
process_specific_date |
Grid mode only: A date, or coercible string, specifying specific date(s) within the forecast to extract. If omitted all dates will be downloaded. |
process_specific_cycle |
Grid mode only: A vector of forecast times ("00", "06", "12", or "18" hours), to extract. If omitted all cycles will be processed. |
delete_bad_files |
Grid mode only: Logical: delete bad files? |
write_intermediate_ncdf |
Grid mode only: Logical: retain the intermediate netCDF files created during processing? |
None
Quinn Thomas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.