noaa_cfs_grid_process_downscale: Extract and downscale points from a NOAA CFS Forecast

View source: R/noaa_cfs_grid_process_downscale.R

noaa_cfs_grid_process_downscaleR Documentation

Extract and downscale points from a NOAA CFS Forecast

Description

This function extracts a set of point location forecasts from a previously downloaded gridded NOAA Climate (Coupled) Forecast System (CFS) forecast and optionally temporally downscales them.

Usage

noaa_cfs_grid_process_downscale(
  lat_list,
  lon_list,
  site_list,
  downscale,
  debias = FALSE,
  overwrite,
  model_name,
  model_name_ds,
  model_name_ds_debias,
  model_name_raw,
  debias_coefficients = NULL,
  num_cores = 1,
  output_directory,
  reprocess = FALSE,
  grid_name,
  s3_mode = FALSE,
  bucket = NULL
)

Arguments

lat_list

Vector or range of latitudes to be downloaded (see details).

lon_list

Vector or range of longitudes to be downloaded (see details).

site_list

Vector of site codes, e.g. "NOAA", used in directory and file name generation.

downscale

Logical specifying whether to downscale from 6-hr to 1-hr data.

debias

Logical specifying whether to downscale from 6-hr to 1-hr data.

overwrite

Logical stating whether to overwrite any existing output files

model_name

Directory name for the 6-hr forecast, this will be used in directory and file name generation.

model_name_ds

Directory name for downscaled 1-hr forecasts, this will be used in directory and file name generation.

model_name_ds_debias

Directory name for downscaled and diabiased forecasts, this will be used in directory and file name generation.

debias_coefficients

Data frame containing debasing parameter values.

num_cores

DEPRECATED?????

output_directory

Path: directory where the model output will be saved.

reprocess

Logical: if true re-extract dates that were previously processed.

grid_name

A short grid name used in directory and file name generation.

s3_mode

Logical: save the forecast to a Amazon S3 bucket rather than locally.

bucket

If s3_mode = TRUE, the S3 bucket name to save to.


FLARE-forecast/Rnoaa4cast documentation built on Sept. 4, 2022, 12:38 a.m.