ll2rt Subroutine

public subroutine ll2rt(lon0, lat0, lon1, lat1, r, theta)

calculate radial and azimuthal location at (lon1,lat1) on the polar coordinate with the center of (lon0,lat0)

Arguments

Type IntentOptional 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)