nctime_get: Retrieve a vector of timestamps for a multilayer NC object or...

Description Usage Arguments Value

View source: R/nc.R

Description

Retrieve a vector of timestamps for a multilayer NC object or NULL otherwise

Usage

1
nctime_get(NC, name = "time", as_POSIXct = TRUE)

Arguments

NC

a ncdf4 class object

name

the name of the time-associated variable, by default 'time'

as_POSIXct

logical, if TRUE then convert to POSIXct

Value

a numeric vector of timestamps (possibly POSIXct) or NULL if none


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