43 INTEGER,
INTENT(IN ) :: igdtlen
44 INTEGER,
INTENT(IN ) :: igdtmpl(igdtlen)
46 REAL,
INTENT( OUT) :: eccen_squared
47 REAL,
INTENT( OUT) :: radius
50 REAL :: major_axis, minor_axis
52 SELECT CASE (igdtmpl(1))
57 radius = float(igdtmpl(3))/float(10**igdtmpl(2))
62 eccen_squared = (2.0*flat) - (flat**2)
64 major_axis = float(igdtmpl(5))/float(10**igdtmpl(4))
65 major_axis = major_axis * 1000.0
66 minor_axis = float(igdtmpl(7))/float(10**igdtmpl(6))
67 minor_axis = minor_axis * 1000.0
68 eccen_squared = 1.0 - (minor_axis**2 / major_axis**2)
73 eccen_squared = (2.0*flat) - (flat**2)
76 eccen_squared = 0.00669437999013
81 major_axis = float(igdtmpl(5))/float(10**igdtmpl(4))
82 minor_axis = float(igdtmpl(7))/float(10**igdtmpl(6))
83 eccen_squared = 1.0 - (minor_axis**2 / major_axis**2)
90 eccen_squared = -9999.
Determine earth radius and shape.
subroutine, public earth_radius(IGDTMPL, IGDTLEN, RADIUS, ECCEN_SQUARED)
Determine earth radius and shape.