49 SUBROUTINE sptgptv(IROMB,MAXWV,KMAX,NMAX,
50 & KWSKIP,KGSKIP,NRSKIP,NGSKIP,
51 & RLAT,RLON,WAVED,WAVEZ,UP,VP)
53 REAL RLAT(*),RLON(*),WAVED(*),WAVEZ(*),UP(*),VP(*)
54 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
55 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
56 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
57 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
59 REAL W((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,2*KMAX)
60 REAL WTOP(2*(MAXWV+1),2*KMAX)
61 REAL PLN((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),PLNTOP(MAXWV+1)
62 REAL F(2*MAXWV+3,2,2*KMAX)
64 parameter(pi=3.14159265358979)
67 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
68 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
86 CALL spdz2uv(iromb,maxwv,enn1,elonn1,eon,eontop,
87 & waved(kws+1),wavez(kws+1),
88 & w(1,k),w(1,kmax+k),wtop(1,k),wtop(1,kmax+k))
95 radlat=pi/180*rlat((n-1)*nr+1)
96 IF(rlat((n-1)*nr+1).GE.89.9995)
THEN
99 ELSEIF(rlat((n-1)*nr+1).LE.-89.9995)
THEN
106 CALL splegend(iromb,maxwv,slat1,clat1,eps,epstop,
108 CALL spsynth(iromb,maxwv,2*maxwv,idim,mdim,2*mxtop,2*kmax,
109 & clat1,pln,plntop,mp,w,wtop,f)
110 CALL spfftpt(maxwv,1,2*maxwv+3,1,2*kmax,rlon((n-1)*nr+1),f,g)
114 nk=(n-1)*ng+(k-1)*kg+1