grid_to_latlon {atpolR} | R Documentation |
grid_to_latlon converts the ATPOL grid to latitude and longitude.
With xoffset = 0
and yoffset = 0
parameters it returns coordinates of the upper left corner of the grid.
Description
grid_to_latlon converts the ATPOL grid to latitude and longitude.
With xoffset = 0
and yoffset = 0
parameters it returns coordinates of the upper left corner of the grid.
Usage
grid_to_latlon(grid, xoffset = 0.5, yoffset = 0.5)
Arguments
grid |
An ATPOL grid, ex. "GF2345". |
xoffset |
An offset in X, where 0 is for left, and 1 for right side of the grid. The default value is 0.5, which corresponds to middle of the grid. |
yoffset |
An offset in Y, where 0 is for top, and 1 for bottom side of the grid. The default value is 0.5, which corresponds to middle of the grid. |
Value
latitude and longitude of ATPOL grid (default centroid) as pair of numerics
References
Examples
grid_to_latlon("BE21")
grid_to_latlon("BE21", 0, 0)
[Package atpolR version 0.1.1 Index]