Read a specific variable from a NARR NetCDF file

read_narr_var(nc, xy, variable, unit, flx, pb = NULL)

Arguments

nc

`ncdf4` connection object

xy

Vector length 2 containing NARR coordinates

variable

NARR name of variable to retrieve

unit

Output unit of variable to retrieve

flx

(Logical) If `TRUE`, format for `flx` variables. Otherwise, format for `sfc` variables. See [narr_flx_vars].

pb

Progress bar R6 object (default = `NULL`)