noaa_cfs_grid_download: Download NOAA CFS Gridded Forecast

View source: R/noaa_cfs_grid_download.R

noaa_cfs_grid_downloadR Documentation

Download NOAA CFS Gridded Forecast

Description

Download a NOAA Climate (Coupled) Forecast System (CFS) gridded forecast for a rectangular region with specified latitude and longitude bounds.

Usage

noaa_cfs_grid_download(
  lat_list,
  lon_list,
  forecast_time,
  forecast_date,
  model_name_raw,
  output_directory,
  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).

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.))

model_name_raw

A string with the model name used as the root of the downloaded directory tree.

output_directory

Path: directory where the forecast output and logs will be saved.

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.