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!).
1 2 | ncdf_times(nc, timename = NULL, as.Rdate = TRUE, force = TRUE,
tz = "CET")
|
nc |
object with link to NetCDF file (from |
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.