Learn R Programming

plotKML (version 0.2-4)

HRtemp08: Daily temperatures for Croatia for year 2008

Description

The daily measurements of temperature (thermometers) for year 2008 kindly contributed by the http://meteo.hr{Croatian National Meteorological Service}. HRtemp08 contains 56,608 measurements of temperature (159 stations by 365 days).

Usage

data(HRtemp08)

Arguments

encoding

latin1

References

  • Hengl, T., Heuvelink, G.B.M., Percec Tadic, M., Pebesma, E., (2011)http://dx.doi.org/10.1007/s00704-011-0464-2{Spatio-temporal prediction of daily temperatures using time-series of MODIS LST images}. Theoretical and Applied Climatology, 107(1-2): 265-277.
  • AGGM book datasets (http://spatial-analyst.net/book/HRclim2008)

See Also

HRprec08

Examples

Run this code
data(HRtemp08)
HRtemp08[1,]
p1 = newXMLNode("Placemark")
begin <- format(HRtemp08[1,"DATE"]-.5, "%Y-%m-%dT%H:%M:%SZ")
end <- format(HRtemp08[1,"DATE"]+.5, "%Y-%m-%dT%H:%M:%SZ")
txt <- sprintf('<name>%s</name><TimeStamp><begin>%s</begin><end>%s</end></TimeStamp>
<Point><coordinates>%.4f,%.4f,%.0f</coordinates></Point>', HRtemp08[1,"NAME"], 
begin, end, HRtemp08[1,"Lon"], HRtemp08[1,"Lat"], 0)
parseXMLAndAdd(txt, parent=p1)
p1

Run the code above in your browser using DataLab