noaa_gefs_point_download_downscale: Download NOAA GEFS Forecasts for a Set of Points

View source: R/noaa_gefs_point_download_downscale.R

noaa_gefs_point_download_downscaleR Documentation

Download NOAA GEFS Forecasts for a Set of Points

Description

Downloads a set of NOAA Global Ensemble Forecast System (GEFS) forecasts for a set of point locations, downscaling them in time if requested.

Usage

noaa_gefs_point_download_downscale(
  read_from_path,
  lat_list,
  lon_list,
  site_list,
  forecast_time = NA,
  forecast_date = NA,
  downscale,
  overwrite,
  model_name,
  model_name_ds,
  output_directory
)

Arguments

read_from_path

A local path to read previously downloaded data from????? (Default FALSE?????) If not provided data will be downloaded from NOAA.

lat_list

Vector of latitudes that correspond to site codes.

lon_list

Vector of longitudes that correspond to site codes.

site_list

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

forecast_time

The 'hour' of the requested forecast, one of "00", "06", "12", or "18", see details.

forecast_date

The date, or coercible string, of the requested forecast, defaults to ?????.

downscale

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.

output_directory

Directory where the model output will be saved.

Value

None

Author(s)

Quinn Thomas


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