Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_date_time

Get dates and times from NetCDF type date format.


Description

Get dates and times from NetCDF type date format.

Usage

get_date_time(times, unit)

Arguments

times

Timesteps from netcdf data (numeric).

unit

Unit from netcdf data (character).

Value

A data frame with the columns years, months, days and times. Careful: The parts of the date are of numeric type, but the times are stored as characters (levels).

Examples

date_time <- get_date_time(times = c(159191, 5991820), 
 unit = "minutes since 1980-05-07")
date_time
date_time$years

cmsafops

Tools for CM SAF NetCDF Data

v1.1.1
GPL (>= 3)
Authors
Steffen Kothe [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.