Learn R Programming

plotKML (version 0.5-4)

HRprec08: Daily precipitation for Croatia for year 2008

Description

The daily measurements of precipitation (rain gauges) for year 2008 kindly contributed by the http://meteo.hr{Croatian National Meteorological Service}. HRprec08 contains 175,059 measurements of precipitation sums (489 stations by 365 days).

Usage

data(HRprec08)

Arguments

encoding

latin1

References

  • Testik, F.Y. and Gebremichael, M. Eds (2011)http://www.agu.org/books/gm/v191/{Rainfall: State of the Science}. Geophysical monograph series, Vol. 191, 287 p.
  • Zaninovic K., Gajic-Capka, M., Percec Tadic, M. et al., (2010)http://klima.hr/razno.php?id=publikacije¶m=atlas{Klimatski atlas Hrvatske / Climate atlas of Croatia 1961-1990., 1971-2000}. Zagreb, Croatian National Meteorological Service, 200 p.
  • AGGM book datasets (http://spatial-analyst.net/book/HRclim2008)

See Also

HRtemp08

Examples

Run this code
data(HRprec08)
library(sp)
# subset:
prec.2008.05.01 <- HRprec08[HRprec08$DATE=="2008-05-01",]
coordinates(prec.2008.05.01) <- ~Lon+Lat
proj4string(prec.2008.05.01) <- CRS("+proj=lonlat +datum=WGS84")
# write to KML:
shape = "http://plotkml.r-forge.r-project.org/circle.png"
data(SAGA_pal)
kml(prec.2008.05.01, size = PREC, shape = shape, colour = PREC, 
    colour_scale = SAGA_pal[[9]], labels = PREC)

Run the code above in your browser using DataLab