NCEPLIBS-sp 2.4.0
sptranf0.f File Reference

Sptranf spectral initialization. More...

Go to the source code of this file.

Functions/Subroutines

subroutine sptranf0 (IROMB, MAXWV, IDRT, IMAX, JMAX, JB, JE, EPS, EPSTOP, ENN1, ELONN1, EON, EONTOP, AFFT, CLAT, SLAT, WLAT, PLN, PLNTOP)
 This subprogram performs an initialization for subprogram sptranf(). More...
 

Detailed Description

Sptranf spectral initialization.

Author
IREDELL
Date
96-02-29

Definition in file sptranf0.f.

Function/Subroutine Documentation

◆ sptranf0()

subroutine sptranf0 (   IROMB,
  MAXWV,
  IDRT,
  IMAX,
  JMAX,
  JB,
  JE,
real, dimension((maxwv+1)*((iromb+1)*maxwv+2)/2)  EPS,
real, dimension(maxwv+1)  EPSTOP,
real, dimension((maxwv+1)*((iromb+1)*maxwv+2)/2)  ENN1,
real, dimension((maxwv+1)*((iromb+1)*maxwv+2)/2)  ELONN1,
real, dimension((maxwv+1)*((iromb+1)*maxwv+2)/2)  EON,
real, dimension(maxwv+1)  EONTOP,
real(8), dimension(50000+4*imax)  AFFT,
real, dimension(jb:je)  CLAT,
real, dimension(jb:je)  SLAT,
real, dimension(jb:je)  WLAT,
real, dimension((maxwv+1)*((iromb+1)*maxwv+2)/2,jb:je)  PLN,
real, dimension(maxwv+1,jb:je)  PLNTOP 
)

This subprogram performs an initialization for subprogram sptranf().

Use this subprogram outside the sptranf() family context at your own risk.

Parameters
IROMBspectral domain shape (0 for triangular, 1 for rhomboidal)
MAXWVspectral truncation
IDRTgrid identifier
  • IDRT=4 for Gaussian grid,
  • IDRT=0 for equally-spaced grid including poles,
  • IDRT=256 for equally-spaced grid excluding poles
IMAXeven number of longitudes
JMAXnumber of latitudes
JBlatitude index (from pole) to begin transform
JElatitude index (from pole) to end transform
EPS
EPSTOP
ENN1
ELONN1
EON
EONTOP
AFFTauxiliary array if IDIR=0
CLATcosines of latitude
SLATsines of latitude
WLATGaussian weights
PLNLegendre polynomials
PLNTOPLegendre polynomial over top
Author
IREDELL
Date
96-02-29

Definition at line 34 of file sptranf0.f.

References spffte(), splat(), splegend(), and spwget().

Referenced by sptranf(), and sptranfv().