Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

cmsaf (version 1.9.0)

get_time: Convert time steps to POSIXct.

Description

Times in NetCDF data are generally given in form of a time step and a time unit. This functions uses both information to convert them to POSIXct time values.

Usage

get_time(time.unit,time.step)

Arguments

time.unit

Time unit, which is conform to the CF convention (character).

time.step

Time steps in form of a numeric or integer vector.

Value

Time in form of POSIXct is returned. Default time zone is UTC.