Description Usage Arguments Value Note Author(s) References See Also Examples
Decipher Models3 date format (YYYYDDD) into R's Date class.
1 | decipher.M3.date(M3.date)
|
M3.date |
Date (numeric) in the format YYYYDDD, where DDD is a Julian day (since the beginning of year YYYY). |
Date specified by YYYYDDD in R's Date class.
For more information about M3 date-time conventions,
see
http://www.baronams.com/products/ioapi/DATETIME.html.
This function is called by function get.datetime.seq
,
but it will probably not be called by most users.
Jenise Swall
http://www.baronams.com/products/ioapi/DATETIME.html
DateTimeClasses
,
get.datetime.seq
,
decipher.M3.time
1 2 3 4 5 | ## Returns 2011-03-10, which is the 69th day of 2011.
decipher.M3.date(2011069)
## Returns 2012-02-29. This leap day is the 60th day of 2012.
decipher.M3.date(2012060)
|
Loading required package: ncdf4
Loading required package: rgdal
Loading required package: sp
rgdal: version: 1.2-10, (SVN revision 673)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.10.1, released 2013/08/26
Path to GDAL shared files: /usr/share/gdal/1.10
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: (autodetected)
WARNING: no proj_defs.dat in PROJ.4 shared files
Linking to sp version: 1.2-3
Loading required package: maps
Loading required package: mapdata
[1] "2011-03-10"
[1] "2012-02-29"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.