Skip to contents

Download all requested timepoints of one GEFS ensemble member

Usage

download_grid(
  ens_index,
  location,
  directory,
  hours_char,
  cycle,
  base_filename1,
  vars,
  working_directory
)

Arguments

ens_index

ensemble member as integer (1-31)

location

bounding box portion of query, as a single URL-escaped string

directory

server path portion of query, as a single URL-escaped string (not to be confused with local output dir – that's `working_directory`)

hours_char

timepoints to retrieve, as zero-padded strings e.g. `c("000", "384", "840")`

cycle

forecast hour to use ("00", "06", "12", or "18")

base_filename1

URL onto which to append query string components

vars

variable listing component of query, as a single URL-escaped string

working_directory

path on local disk to write output