get_time_units: Retrieves the unit string of the time dimension from a netCDF...

View source: R/time_dimensions.R

get_time_unitsR Documentation

Retrieves the unit string of the time dimension from a netCDF file

Description

Retrieves the unit string of the time dimension from a netCDF file

Usage

get_time_units(ncfile, time_dim_name = "time")

Arguments

ncfile

an object of class ncdf4

time_dim_name

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

Value

a character


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