NCEPLIBS-sp  2.5.0
spanaly.f File Reference

Analyze spectral from Fourier. More...

Go to the source code of this file.

Functions/Subroutines

subroutine spanaly (I, M, IM, IX, NC, NCTOP, KM, WGT, CLAT, PLN, PLNTOP, MP, F, SPC, SPCTOP)
 Analyzes spectral coefficients from Fourier coefficients for a latitude pair (Northern and Southern hemispheres). More...
 

Detailed Description

Analyze spectral from Fourier.

Program History Log

Date Programmer Comments
91-10-31 Mark Iredell Initial.
94-08-01 Mark Iredell Moved zonal wavenumber loop inside.
1998-12-15 Iredell Openmp directives inserted.
Author
Iredell
Date
91-10-31

Definition in file spanaly.f.

Function/Subroutine Documentation

◆ spanaly()

subroutine spanaly (   I,
  M,
  IM,
  IX,
  NC,
  NCTOP,
  KM,
  WGT,
  CLAT,
real, dimension((m+1)*((i+1)*m+2)/2)  PLN,
real, dimension(m+1)  PLNTOP,
integer, dimension(km)  MP,
real, dimension(ix,2,km)  F,
real, dimension(nc,km)  SPC,
real, dimension(nctop,km)  SPCTOP 
)

Analyzes spectral coefficients from Fourier coefficients for a latitude pair (Northern and Southern hemispheres).

Vector components are multiplied 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
WGTGaussian weight
CLATcosine of latitude
PLNLegendre polynomials
PLNTOPLegendre polynomial over top
MPidentifiers (0 for scalar, 1 for vector)
FFourier coefficients combined
SPCspectral coefficients
SPCTOPspectral coefficients over top
Author
Iredell
Date
91-10-31

Definition at line 35 of file spanaly.f.

Referenced by sptranf1().