45 SUBROUTINE sptgpt(IROMB,MAXWV,KMAX,NMAX,
46 & KWSKIP,KGSKIP,NRSKIP,NGSKIP,
49 REAL RLAT(*),RLON(*),WAVE(*),GP(*)
50 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
51 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
52 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
53 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
55 REAL WTOP(2*(MAXWV+1),KMAX)
56 REAL PLN((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),PLNTOP(MAXWV+1)
57 REAL F(2*MAXWV+3,2,KMAX)
58 parameter(pi=3.14159265358979)
61 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
62 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
83 radlat=pi/180*rlat((n-1)*nr+1)
84 IF(rlat((n-1)*nr+1).GE.89.9995)
THEN
87 ELSEIF(rlat((n-1)*nr+1).LE.-89.9995)
THEN
94 CALL splegend(iromb,maxwv,slat1,clat1,eps,epstop,
96 CALL spsynth(iromb,maxwv,2*maxwv,idim,kw,2*mxtop,kmax,
97 & clat1,pln,plntop,mp,wave,wtop,f)
98 CALL spfftpt(maxwv,1,2*maxwv+3,kg,kmax,rlon((n-1)*nr+1),