16 SUBROUTINE msfps(LAT,TRUELAT1,MSF)
26 REAL,
PARAMETER :: pi = 3.1415927
27 REAL,
PARAMETER :: rad_per_deg = pi / 180.
29 REAL,
INTENT(IN) :: lat
30 REAL,
INTENT(IN) :: truelat1
31 REAL,
INTENT(OUT) :: msf
33 REAL :: psi1, psix, pole
35 IF (truelat1 >= 0.)
THEN
36 psi1 = (90. - truelat1) * rad_per_deg
39 psi1 = (90. + truelat1) * rad_per_deg
43 psix = (pole - lat)*rad_per_deg
44 msf = ((1.+cos(psi1))/(1.0 + cos(psix)))