48 SUBROUTINE sptgpt(IROMB,MAXWV,KMAX,NMAX,
49 & KWSKIP,KGSKIP,NRSKIP,NGSKIP,
52 REAL RLAT(*),RLON(*),WAVE(*),GP(*)
53 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
54 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
55 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
56 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
58 REAL WTOP(2*(MAXWV+1),KMAX)
59 REAL PLN((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),PLNTOP(MAXWV+1)
60 REAL F(2*MAXWV+3,2,KMAX)
61 parameter(pi=3.14159265358979)
64 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
65 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
86 radlat=pi/180*rlat((n-1)*nr+1)
87 IF(rlat((n-1)*nr+1).GE.89.9995)
THEN
90 ELSEIF(rlat((n-1)*nr+1).LE.-89.9995)
THEN
97 CALL splegend(iromb,maxwv,slat1,clat1,eps,epstop,
99 CALL spsynth(iromb,maxwv,2*maxwv,idim,kw,2*mxtop,kmax,
100 & clat1,pln,plntop,mp,wave,wtop,f)
101 CALL spfftpt(maxwv,1,2*maxwv+3,kg,kmax,rlon((n-1)*nr+1),
subroutine spfftpt(M, N, INCW, INCG, KMAX, RLON, W, G)
This subprogram computes a slow Fourier transform from Fourier space to a set of gridpoints.
subroutine splegend(I, M, SLAT, CLAT, EPS, EPSTOP, PLN, PLNTOP)
Evaluates the orthonormal associated Legendre polynomials in the spectral domain at a given latitude.
subroutine spsynth(I, M, IM, IX, NC, NCTOP, KM, CLAT, PLN, PLNTOP, MP, SPC, SPCTOP, F)
Synthesizes Fourier coefficients from spectral coefficients for a latitude pair (Northern and Souther...
subroutine sptgpt(IROMB, MAXWV, KMAX, NMAX, KWSKIP, KGSKIP, NRSKIP, NGSKIP, RLAT, RLON, WAVE, GP)
This subprogram performs a spherical transform from spectral coefficients of scalar quantities to spe...
subroutine spwget(IROMB, MAXWV, EPS, EPSTOP, ENN1, ELONN1, EON, EONTOP)
This subprogram gets wave-space constants.