ncdf_times: Get time attribute from NetCDF file and convert it to years...

Description Usage Arguments

View source: R/ncdf_times.R

Description

This function reads the NetCDF time attribute and converts it to years with decimal fraction for monthly data. For sub-monthly data the conversion is to the Rdate format (only works with standard calendar!).

Usage

1
2
ncdf_times(nc, timename = NULL, as.Rdate = TRUE, force = TRUE,
  tz = "CET")

Arguments

nc

object with link to NetCDF file (from open.ncdf)

timename

dimension name with time (optional)

as.Rdate

logical, should output be converted to Rdate?

force

logical, force Rdate conversion for monthly times?

tz

time zone for time zone support (experimental)


jonasbhend/geoutils documentation built on May 19, 2019, 7:27 p.m.