which_grib: Determine by date whether to use grib1 or grib2

Description Usage Arguments Value

View source: R/grib1.R

Description

Determine by date whether to use grib1 or grib2

Usage

1
2
3
4
which_grib(
  date = c("2017-04-05", "2017-04-06"),
  origin = as.Date("2017-04-06")
)

Arguments

date

one or more dates as character ("YYYY-mm-dd"), Date or POSIXt

origin

the date at which NAM218 switches from grib1 to grib2

Value

character vector of length date with elements either 'grib1' or 'grib2'


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