[STATSGRASS] Raster time series and R - timezones?
Hamish
hamish_nospam at yahoo.com
Mon Jun 19 20:04:27 EDT 2006
> I am processing daily time series of MODIS but cannot
> figure out how to use time stamps properly. With r.what
> I am looping over the maps and add a timestamp like
> this "7 Apr 2006 10:30:00 UTC" to each extracted value.
> > strptime(mytime,"%d %b %Y %H:%M:%S")
> [1] "2006-04-07 10:30:00"
> -> UTC lost
add %Z to include timezone?
> > ISOdate(2006, 4, 7, hour = 12, min = 0, sec = 0, tz = "GMT")
> [1] "2006-04-07 12:00:00 GMT"
yes, it is nice to use a standard whenever possible, e.g.
$ date --iso-8601=seconds
2006-06-20T11:58:48+1200
C code to produce iso-8601:
http://article.gmane.org/gmane.comp.hardware.gps.gpsd.user/997
Hamish
More information about the grass-stats
mailing list