namcast_url: Construct thredds base urls for provided date(s)

Description Usage Arguments Value

View source: R/nam_cast.R

Description

Completed URLs have the form "https://www.ncdc.noaa.gov/thredds/dodsC/nam218/202002/20200229/nam_218_20200229_0000_000.grb2" which is the same as "base_url/YYYYmm/YYYYmmdd/nam_218_YYYYmmdd_ffff_aaa.grb2"

Usage

1
2
3
4
5
6
namcast_url(
  dates = "2018-12-18",
  ftime = c("0000", "0600", "1200", "1800"),
  ahead = c("000", "006"),
  ...
)

Arguments

dates

Date-class, one or more dates

ftime

4 character forecast period time stamp ('0000', '0006', etc.)

ahead

3 character cycle timestamp ('000' now cast, '003 three hours ahead, etc)

...

other arguments for namanl_base_url

Value

character URLs one for each pairing of ftime and ahead


BigelowLab/namanl documentation built on Nov. 15, 2021, 3:11 p.m.