39 SUBROUTINE w3fb05(XI,XJ,XMESHL,ORIENT,ALAT,ALONG)
41 DATA degprd/57.2957795/
44 gi2 = ((1.86603 * earthr) / (xmeshl))**2
45 r2 = xi * xi + xj * xj
50 IF (xmeshl.LT.0.0) alat = -alat
53 alat = asin((gi2 - r2) / (gi2 + r2)) * degprd
54 angle = degprd * atan2(xj,xi)
55 IF (angle.LT.0.0) angle = angle + 360.0
58 IF (xmeshl.GE.0.0)
THEN
59 along = 270.0 + orient - angle
63 along = angle + orient - 270.0
67 IF (along.LT.0.0) along = along + 360.0
68 IF (along.GE.360.0) along = along - 360.0
subroutine w3fb05(xi, xj, xmeshl, orient, alat, along)
Converts the coordinates of a location from the grid(i,j) coordinate system overlaid on the polar ste...