|
NCEPLIBS-ip 5.2.0
|
Synthesize Fourier coefficients from spectral coefficients. More...
Go to the source code of this file.
Functions/Subroutines | |
| 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 Southern hemispheres). | |
Synthesize Fourier coefficients from spectral coefficients.
| Date | Programmer | Comments |
|---|---|---|
| 91-10-31 | Mark Iredell | Initial. |
| 1998-12-18 | Mark Iredell | Include scalar and gradient option. |
Definition in file spsynth.f.
| subroutine spsynth | ( | i, | |
| m, | |||
| im, | |||
| ix, | |||
| nc, | |||
| nctop, | |||
| km, | |||
| clat, | |||
| real, dimension((m+1)*((i+1)*m+2)/2) | pln, | ||
| real, dimension(m+1) | plntop, | ||
| integer, dimension(km) | mp, | ||
| real, dimension(nc,km) | spc, | ||
| real, dimension(nctop,km) | spctop, | ||
| real, dimension(ix,2,km) | f | ||
| ) |
Synthesizes Fourier coefficients from spectral coefficients for a latitude pair (Northern and Southern hemispheres).
Vector components are divided by cosine of latitude.
| I | spectral domain shape (0 for triangular, 1 for rhomboidal) |
| M | spectral truncation |
| IM | even number of Fourier coefficients |
| IX | dimension of Fourier coefficients (IX>=IM+2) |
| NC | dimension of spectral coefficients (NC>=(M+1)*((I+1)*M+2)) |
| NCTOP | dimension of spectral coefficients over top (NCTOP>=2*(M+1)) |
| KM | number of fields |
| CLAT | cosine of latitude |
| PLN | ((M+1)*((I+1)*M+2)/2) Legendre polynomial |
| PLNTOP | Legendre polynomial over top |
| SPC | spectral coefficients |
| SPCTOP | spectral coefficients over top |
| MP | identifiers (0 for scalar, 1 for vector, or 10 for scalar and gradient) |
| F | Fourier coefficients for latitude pair |
Definition at line 37 of file spsynth.f.
Referenced by sptgpm(), sptgpmv(), sptgps(), sptgpsv(), sptgpt(), sptgptsd(), sptgptv(), sptgptvd(), and sptranf1().