scan_to_spatial | R Documentation |
Georeferences the center of pixels for a scan into a SpatialPointsDataFrame object.
scan_to_spatial(scan, lat, lon, k = 4/3, re = 6378, rp = 6357)
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. |
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.
a SpatialPointsDataFrame
# load example scan:
data(example_scan)
# convert to a SpatialPointsDataFrame:
scan_to_spatial(example_scan)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.