calculate radial and azimuthal location at (lon1,lat1) on the polar coordinate with the center of (lon0,lat0)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| double precision, | intent(in) | :: | lon0 |
the center longitude (rad) |
||
| double precision, | intent(in) | :: | lat0 |
the center latitude (rad) |
||
| double precision, | intent(in) | :: | lon1 |
target longitude (rad) |
||
| double precision, | intent(in) | :: | lat1 |
target latitude (rad) |
||
| double precision, | intent(inout) | :: | r |
radial distance (m) |
||
| double precision, | intent(inout) | :: | theta |
azimuthal angle (rad) |