Hello!

I have the following STFDF object, which uses quarterly data.

> str(st.u)
Formal class 'STFDF' [package "spacetime"] with 4 slots
  ..@ data   :'data.frame':    6272 obs. of  1 variable:
  .. ..$ var1.pred: num [1:6272] 0.302 0.304 0.306 0.308 0.312 ...
  ..@ sp     :Formal class 'SpatialPixels' [package "sp"] with 5 slots
  .. .. ..@ grid       :Formal class 'GridTopology' [package "sp"] with 3 slots
  .. .. .. .. ..@ cellcentre.offset: Named num [1:2] 0.057 0.029
  .. .. .. .. .. ..- attr(*, "names")= chr [1:2] "x1" "x2"
  .. .. .. .. ..@ cellsize         : Named num [1:2] 0.034 0.034
  .. .. .. .. .. ..- attr(*, "names")= chr [1:2] "x1" "x2"
  .. .. .. .. ..@ cells.dim        : Named int [1:2] 28 28
  .. .. .. .. .. ..- attr(*, "names")= chr [1:2] "x1" "x2"
  .. .. ..@ grid.index : int [1:784] 757 758 759 760 761 762 763 764 765 766 ...
  .. .. ..@ coords     : num [1:784, 1:2] 0.057 0.091 0.125 0.159 0.193 0.227 0.261 0.295 0.329 0.363 ...
  .. .. .. ..- attr(*, "dimnames")=List of 2
  .. .. .. .. ..$ : NULL
  .. .. .. .. ..$ : chr [1:2] "x1" "x2"
  .. .. ..@ bbox       : num [1:2, 1:2] 0.04 0.012 0.992 0.964
  .. .. .. ..- attr(*, "dimnames")=List of 2
  .. .. .. .. ..$ : chr [1:2] "x1" "x2"
  .. .. .. .. ..$ : chr [1:2] "min" "max"
  .. .. ..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
  .. .. .. .. ..@ projargs: chr "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0"
  ..@ time   :An ‘xts’ object on 2000 Q1/2001 Q4 containing:
  Data: int [1:8, 1] 1 2 3 4 5 6 7 8
  Indexed by objects of class: [yearqtr] TZ:
  xts Attributes:
 NULL
  ..@ endTime: POSIXct[1:8], format: "2000-03-31 18:00:00" "2000-06-30 19:00:00" ...

When I try to plot it with plotKML, I get the following:

> plotKML(st.u)
Plotting the first variable on the list
KML file opened for writing...
Temporal support not indicated... using 'dtime=0'.
Error in as.POSIXlt.character(x, tz, ...) :
  character string is not in a standard unambiguous format
>

Does the time stamp only work for daily objects, please?  I'm thinking that it should actually be ok.

Thanks,
Erin


	[[alternative HTML version deleted]]

