41 SUBROUTINE sptranf0(IROMB,MAXWV,IDRT,IMAX,JMAX,JB,JE,
42 & EPS,EPSTOP,ENN1,ELONN1,EON,EONTOP,
43 & AFFT,CLAT,SLAT,WLAT,PLN,PLNTOP)
45 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
46 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
47 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
48 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
49 REAL(8) AFFT(50000+4*IMAX)
50 REAL CLAT(JB:JE),SLAT(JB:JE),WLAT(JB:JE)
51 REAL PLN((MAXWV+1)*((IROMB+1)*MAXWV+2)/2,JB:JE)
52 REAL PLNTOP(MAXWV+1,JB:JE)
53 REAL SLATX(JMAX),WLATX(JMAX)
55 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
56 CALL spffte(imax,(imax+2)/2,imax,2,0.,0.,0,afft)
57 CALL splat(idrt,jmax,slatx,wlatx)
59 IF(jhe.GT.jmax/2) wlatx(jhe)=wlatx(jhe)/2
61 clat(j)=sqrt(1.-slatx(j)**2)
67 CALL splegend(iromb,maxwv,slat(j),clat(j),eps,epstop,
68 & pln(1,j),plntop(1,j))