NAM218_x_y_time: Retrieve a variable based upon [x,y,time] as a matrix

Description Usage Arguments Value

View source: R/NAM218.R

Description

Retrieve a variable based upon [x,y,time] as a matrix

Usage

1
2
3
4
5
6
7
8
9
NAM218_x_y_time(
  X,
  name,
  xy = list(start = c(1, 1), count = c(-1, -1)),
  time_index = 1,
  n_tries = 3,
  sleep = 10,
  ...
)

Arguments

X

NAM218RefClass object

name

character variable name

xy

a two element list providing start and count values

time_index

the default is to get just the first time index if there is more than one to choose from

n_tries

numeric, the number attempts to make before failing

sleep

numeric, the number of seconds to wait after a fail

...

further arguments for ncvar_get

Value

numeric matrix or a try-error


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