daily_glo2ds_uri: Retrieve the daily GLobal RTOFS glo2ds uri for the specifed...

Description Usage Arguments Value

View source: R/glo_2ds.R

Description

Retrieve the daily GLobal RTOFS glo2ds uri for the specifed date. There is no test to determine if the uri points to a valid resource.

Usage

1
2
3
4
5
6
daily_glo2ds_uri(
  date = Sys.Date() - 1,
  when = c("forecast", "nowcast")[1],
  what = c("prog", "diag")[1],
  root = rtofs_root_uri(what = "opendap")
)

Arguments

date

character, Date or POSIXt, the date to retrieve, by default yesterday as Date class. if provided as character it must be in YYYYmmdd format (no separator)

when

character, either 'forecast' or 'nowcast'

what

character, either 'prog' (prognosis) or 'diag' (diagnosis)

root

character, the root uri

Value

ncdf4 class object or NULL


BigelowLab/rtofs documentation built on Nov. 13, 2020, 12:14 p.m.