Description Usage Arguments Details Value Warning Note Author(s) References See Also Examples
Read the date-time steps in the Models3-formatted file. Put these into R's datetime format.
1 |
file |
File name of Models3-formatted file which contains the date-time information of interest. |
This function relies on the R package ncdf4 to read
information from Models3-formatted files, since the Models3 format
is built on netCDF
(http://www.unidata.ucar.edu/software/netcdf).
Vector of sequence of datetimes included in the Models3-formatted
file, in POSIXct
format.
This code assumes that the time step is not negative. For
instance, the Models3 I/OAPI does allow for negative time steps,
but these negative time steps will NOT be handled properly by this
function. For more information about Models3 date-time
conventions, see
http://www.baronams.com/products/ioapi/DATETIME.html.
This function is called by function get.M3.var
,
but it will probably not be called by most users.
Jenise Swall
Information about the Models3 date-time conventions is
available at
http://www.baronams.com/products/ioapi/DATETIME.html.
DateTimeClasses
, seq.POSIXt
, get.M3.var
1 2 3 4 5 6 7 8 | ## As mentioned in notes above, user will not typically call
## this function directly.
## Find the path to a demo file with lambert conic conformal projection.
lcc.file <- system.file("extdata/ozone_lcc.ncf", package="M3")
## Get vector containing date-times available in this file.
datetime.seq <- get.datetime.seq(lcc.file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.