getDateVector: getDateVector

View source: R/getDateVector.R

getDateVectorR Documentation

getDateVector

Description

This function generates a vector of dates from the timestamps of an input NetCDF file.

Usage

getDateVector(ncdf, varName = "timestamps")

Arguments

ncdf

an ncdf4 object (must already be loaded into environment using ncdf4 package)

varName

name of timestamp variable in the ncdf4 object

Value

a POSIXlt vector of dates


troyhill/RSM documentation built on Aug. 23, 2022, 2:40 p.m.