NCEPLIBS-ip 5.2.0
Loading...
Searching...
No Matches
spsynth.f File Reference

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).
 

Detailed Description

Synthesize Fourier coefficients from spectral coefficients.

Program History Log

Date Programmer Comments
91-10-31 Mark Iredell Initial.
1998-12-18 Mark Iredell Include scalar and gradient option.
Author
Iredell
Date
92-10-31

Definition in file spsynth.f.

Function/Subroutine Documentation

◆ spsynth()

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.

Parameters
Ispectral domain shape (0 for triangular, 1 for rhomboidal)
Mspectral truncation
IMeven number of Fourier coefficients
IXdimension of Fourier coefficients (IX>=IM+2)
NCdimension of spectral coefficients (NC>=(M+1)*((I+1)*M+2))
NCTOPdimension of spectral coefficients over top (NCTOP>=2*(M+1))
KMnumber of fields
CLATcosine of latitude
PLN((M+1)*((I+1)*M+2)/2) Legendre polynomial
PLNTOPLegendre polynomial over top
SPCspectral coefficients
SPCTOPspectral coefficients over top
MPidentifiers (0 for scalar, 1 for vector, or 10 for scalar and gradient)
FFourier coefficients for latitude pair
Author
Iredell
Date
92-10-31

Definition at line 37 of file spsynth.f.

Referenced by sptgpm(), sptgpmv(), sptgps(), sptgpsv(), sptgpt(), sptgptsd(), sptgptv(), sptgptvd(), and sptranf1().