4 real*8 dangtl,dmagtl,pangtl,tangtl,tminco
5 real*8 dmagtg,pangtg,tangtg,tmincg
6 integer*4 prod_id(2), irec, ind, gaclac
8 real*4 xlat(1000),xlon(1000)
9 real*4 wlat(1000),wlon(1000)
10 integer*4 nump(1000),nill(1000),nilp(1000)
11 character*80 infile,parmfile
13 character*1 bytefile(32), isl(3)
17 common /gconst/
pi,radeg,
re,rem,
f,
omf2,omegae
19 integer*4 levdbg(8),ludbug
20 common /cmdebg/levdbg,ludbug
21 common /idparm/dangtl,dmagtl,pangtl,tangtl,tminco,
22 * dmagtg,pangtg,tangtg,tmincg,imatch
23 namelist /idnl/imatch,dangtl,dmagtl,pangtl,tangtl,tminco,
24 * dmagtg,pangtg,tangtg,tmincg,levdbg,ludbug
25 data imatch/3/,dangtl/0.2/
26 data dmagtl/0.025/,pangtl/0.01/,tangtl/0.01/,tminco/30.0/
27 data dmagtg/0.1/,pangtg/0.04/,tangtg/0.03/,tmincg/15.0/
28 data levdbg/8*0/,ludbug/99/,nllun/50/
30 equivalence(statfile,bytefile)
33 parmfile =
'$IDPARMS/idparms.nl'
34 call filenv(parmfile,parmfile)
35 open(file=parmfile,unit=nllun,status=
'old',iostat=istat)
45 write( 6, 300 ) infile
46 300
format(
' nav_assess.f: input file =',/,a,/ )
51 write( 6, 400 ) prod_id(1), npix, nlin, iret
52 400
format(
' test, open: prod_ID = ', i7,
' npix = ',i7,/,
53 1
' nlin = ',i7,
' iret = ',i7 )
55 if (iret.eq.-1)
go to 999
58 if (npix.eq.248) gaclac = 1
62 ind =
sffattr(prod_id,
'Product Name')
63 iret = sfrattr(prod_id, ind, statfile)
65 bytefile(i+15) = isl(i)
70 call find_islands(prod_id,npix,west,numi,xlon,xlat,wlon,wlat,
75 600
format(
' test, close: iret = ', i7)
78 open(55, file=statfile)
80 call id_drv(gaclac,west,numi,xlon,xlat,wlon,wlat,nilp,nump)
85 999
write(*,*)
'Invalid file name'