| scan_to_spatial {bioRad} | R Documentation | 
convert a polar scan into a spatial object.
Description
Georeferences the center of pixels for a scan into a SpatialPointsDataFrame object.
Usage
scan_to_spatial(scan, lat, lon, k = 4/3, re = 6378, rp = 6357)
Arguments
scan | 
 a scan (sweep) of class scan  | 
lat | 
 Geodetic latitude of the radar in degrees. If missing taken from   | 
lon | 
 Geodetic longitude of the radar in degrees. If missing taken from   | 
k | 
 Numeric. Standard refraction coefficient.  | 
re | 
 Numeric. Earth equatorial radius, in km.  | 
rp | 
 Numeric. Earth polar radius, in km.  | 
Details
Beam altitude accounts for the curvature of the earth, using beam_height. Distance from the radar over the earth's surface is calculated using beam_distance.
Value
a SpatialPointsDataFrame
Examples
# load example scan:
data(example_scan)
# convert to a SpatialPointsDataFrame:
scan_to_spatial(example_scan)
[Package bioRad version 0.8.1 Index]