26 SUBROUTINE msfps(LAT,TRUELAT1,MSF)
36 REAL,
PARAMETER :: pi = 3.1415927
37 REAL,
PARAMETER :: rad_per_deg = pi / 180.
39 REAL,
INTENT(IN) :: lat
40 REAL,
INTENT(IN) :: truelat1
41 REAL,
INTENT(OUT) :: msf
43 REAL :: psi1, psix, pole
45 IF (truelat1 >= 0.)
THEN
46 psi1 = (90. - truelat1) * rad_per_deg
49 psi1 = (90. + truelat1) * rad_per_deg
53 psix = (pole - lat)*rad_per_deg
54 msf = ((1.+cos(psi1))/(1.0 + cos(psix)))
subroutine msfps(lat, truelat1, msf)
msfps() computes the map scale factor for a polar stereographic grid at a give latitude.