41 SUBROUTINE w3fb11(ALAT,ELON,ALAT1,ELON1,DX,ELONV,ALATAN,XI,XJ)
45 DATA rerth /6.3712e+6/, pi/3.14159/
59 alatn1 = alatan * radpd
68 IF ((elon1 - elonv).GT.180.)
69 & elon1l = elon1 - 360.
70 IF ((elon1 - elonv).LT.(-180.))
71 & elon1l = elon1 + 360.
74 IF ((elon - elonv).GT.180.)
76 IF ((elon - elonv).LT.(-180.))
79 elonvr = elonv * radpd
84 rmll = rebydx * (((cosltn)**(1.-an))*(1.+an)**an) *
85 & (((cos(ala1))/(1.+h*sin(ala1)))**an)/an
90 arg = an * (elo1-elonvr)
91 polei = 1. - h * rmll * sin(arg)
92 polej = 1. + rmll * cos(arg)
97 rm = rebydx * ((cosltn**(1.-an))*(1.+an)**an) *
98 & (((cos(ala))/(1.+h*sin(ala)))**an)/an
101 arg = an*(elo-elonvr)
102 xi = polei + h * rm * sin(arg)
103 xj = polej - rm * cos(arg)
108 IF (xi.LT.1.) xi = xi - 1.
109 IF (xj.LT.1.) xj = xj - 1.
subroutine w3fb11(alat, elon, alat1, elon1, dx, elonv, alatan, xi, xj)
Converts the coordinates of a location on Earth given in the natural coordinate system of latitude/lo...