Go to the documentation of this file. 1 subroutine getcat(lucat,eptime,maxcat,smaglm,iqlimt,numcat,
37 real*4 datcat(7,16000)
38 integer*4 idncat(16000),iqlimt(6)
42 common /gconst/
pi,radeg,
re,rem,
f,
omf2,omegae
48 if (iqlimt(1).eq.0)
then
49 filnm =
'$CATALOG/islands.lac'
51 filnm =
'$CATALOG/islands.gac'
54 open(file=filnm,unit=52,status=
'old',iostat=istat)
58 read(52,*,
end=600) xlon,xlat,wlon,wlat
60 idncat(numcat) = numcat
61 datcat(1,numcat) = cos(xlon/radeg)*cos(xlat/radeg)
62 datcat(2,numcat) = sin(xlon/radeg)*cos(xlat/radeg)
63 datcat(3,numcat) = sin(xlat/radeg)
64 wlon = wlon*cos(xlat/radeg)
65 datcat(4,numcat) = amax1(wlat,wlon)
71 999
write(*,*)
'Error opening catalog file'
subroutine getcat(lucat, eptime, maxcat, smaglm, iqlimt, numcat, idncat, datcat, ierr)
subroutine filenv(infil, outfil)