get_time_dimension: Retrieves the time dimension from a netCDF file

View source: R/time_dimensions.R

get_time_dimensionR Documentation

Retrieves the time dimension from a netCDF file

Description

Retrieves the time dimension from a netCDF file

Usage

get_time_dimension(ncfile, time_dim_name = "time", time_zone = "UTC")

Arguments

ncfile

an object of class ncdf4

time_dim_name

The name of the time dimension, by default 'time' as per the CF conventions.

time_zone

the time zone to use for the returned value.

Value

A vector of Dates


jmp75/efts documentation built on Feb. 3, 2023, 2:44 p.m.