Skip to content

Lightning density map

3 messages · Bogdan Antonescu, Clint Bowman, Robert J. Hijmans

#
Hi ,

I am trying to plot a cloud-to-ground lightning density map for Romania. 
The data set contains: date(year/month/dat), time(hh/mm/ss), latitude, 
and longitude for each lightning flash. The density maps were based on 
dividing the study area into a grid cells (e.g., 20-km to correspond 
with the audible range of thunder). I have used ArcGIS to calculate a 
density value for each cell by counting the number of lightning flashes 
within the cell and dividing by the cell area. The density value 
(flashes km?2) is then assigned to each cell.

Can someone help me on how to do this in R?

Thank you very much,

Bogdan
#
?hexbin may get you started.

Clint Bowman			INTERNET:	clint at ecy.wa.gov
Air Quality Modeler		INTERNET:	clint at math.utah.edu
Department of Ecology		VOICE:		(360) 407-6815
PO Box 47600			FAX:		(360) 407-7534
Olympia, WA 98504-7600

         USPS:           PO Box 47600, Olympia, WA 98504-7600
         Parcels:        300 Desmond Drive, Lacey, WA 98503-1274
On Fri, 15 Feb 2013, Bogdan Antonescu wrote:

            
#
library(raster)
?rasterize


On Fri, Feb 15, 2013 at 7:56 AM, Bogdan Antonescu
<bogdan.antonescu at manchester.ac.uk> wrote: