noaa_cfs_download_downscale: Download NOAA CFS Forecasts

Description Usage Arguments Value Author(s)

View source: R/noaa_cfs_download_downscale.R

Description

Downloads a set of NOAA Climate (Coupled) Forecast System (CFS) forecasts for a set of point locations or spatial ranges, downscaling them in time if requested.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
noaa_cfs_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,
  grid_name = "neon"
)

Arguments

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.

grid_name

Grid mode only: a short grid name used in directory and file name generation.

Value

None

Author(s)

Quinn Thomas


rqthomas/noaaGEFSpoint documentation built on Feb. 22, 2022, 4:27 a.m.