Skip to contents

Stream NOAA GEFS GRIB to Cloud Optimized Geotif

Usage

gefs_cog(
  dest = ".",
  date = Sys.Date(),
  cycle = "00",
  ens_avg = FALSE,
  series = "atmos",
  set = "pgrb2a",
  res = "0p50",
  max_horizon = 840,
  threads = 70,
  gdal_ops = "-co compress=zstd"
)

Arguments

dest

destination directory

date

date forecast is issued

cycle

hour forecast is issued (00, 06, 12, 18)

ens_avg

should we just access the ensemble average instead?

series

atmos series

set

the GRIB dataset, default to common atmospheric data

res

resolution, 0.50 may be the only available at this time

max_horizon

maximum horizon

threads

parallel processes to run

gdal_ops

options to GDAL (e.g. compression)

Value

invisibly, the processx log

Examples

if (FALSE) { # interactive()
gefs_cog()
}