Procedures

ProcedureLocationProcedure TypeDescription
CONTGLFTRAFOSubroutine

Calculation of divergence from the wind field (U,V) in phase space. Returns fields of the componentens of the horizontal gradients XLAM,XPHI on the Gaussian grid

DPLGNDPHTOGRSubroutine

Calculates the derivatives of the normalised associated Legendre function from P00(X) to PLL(X) and writes them into the field DZ. Order is P00(X),P01(X),P11(X),P02(X),P12(X),P22(X),..PLL(X)

GAULEGPHTOGRSubroutine

Calculates the Gaussian latitudes

GRPH213GRTOPHSubroutine
GRPHSUBGRTOPHSubroutine

Carries out the transformation from the phase space into the physical space on spherical coordinates

IAcalc_etadot.f90Function

Calculate something that is roughly log10( maxval(field1)/g ) [PS]

LEGTRPHTOGRSubroutine

Calculate the Fourier coefficients CXM

LGTR213GRTOPHSubroutine

Calculates the KFFKs (Fourier coefficients) CXMN

OMEGAFTRAFOSubroutine

Calculates in the hybrid (-)coordinate system

PHGCUTPHTOGRSubroutine

Carries out the transformation of a field variable from the phase space into the physical space on spherical coordinates. It is possible to specify a section of the Earth. This subroutine is slower thatn PHGRPH.

PHGPNSPHTOGRSubroutine
PHGR213PHTOGRSubroutine
PHGRACUTFTRAFOSubroutine

Calculated the gradient of a scalar from the field of the scalar XMN in phase space. Returns the fields of the components of the horizontal gradient XLAM,XPHI on the Gaussian grid

PHGRADFTRAFOSubroutine

Calculates the gradient of a scalar from the field of the scalar XMN in phase space. Returns fields of the componentens of the horizontal gradients XLAM,XPHI on the Gaussian grid.

PHSYMPHTOGRSubroutine
PHSYMCUTPHTOGRSubroutine
PLGNFAPHTOGRSubroutine

Calculates all normalised associated Legendre functions from P00(X) to PLL(X) and writes them into the field Z. The polynomials have indices as with ECMWF, i.e. P00,P10,P11,P20,P21,P22,... Otherwise, this subroutine is analogous to PLGNDN

POSNAMposnam.f90Subroutine

Position in namelist file. Author: Mats Hamrud, ECMWF

READLATLONRWGRIB2Subroutine

Read a field from GRIB file on lat-lon grid

READSPECTRALRWGRIB2Subroutine

Read a GRIB file in spherical harmonics

RFOUFTRGRTOPHSubroutine

Calculates the Fourier sum with an FFT algorithm

RFOURTRPHTOGRSubroutine

Calculates the Fourier sum with an FFT algorithm

SPFILTERPHTOGRSubroutine

Implements spectral filter of Sardeshmukh and Hoskins (MWR 1984)

STATIScalc_etadot.f90Subroutine

calculate mean, rms, stdev

VDTOUVFTRAFOSubroutine

Calculates scale winds from vorticity and divergence. If in XMN the divergence is passed, then the divergent part of the wind (XPHI=Ud,XPHI=Vd) is returned. If vorticity is passed, then the rotational part of the wind (XLAM=Vrot,XPHI=-Urot) is returned. Summing both, one obtains the whole scale wind.

VDUVSUBFTRAFOSubroutine
WRITELATLONRWGRIB2Subroutine

write a field on lat-lon grid to GRIB file

call~~graph~~CallGraph proc~phgpns PHGPNS proc~rfourtr RFOURTR proc~phgpns->proc~rfourtr proc~writelatlon WRITELATLON grib_set grib_set proc~writelatlon->grib_set grib_write grib_write proc~writelatlon->grib_write proc~omega OMEGA proc~lgtr213 LGTR213 proc~contgl CONTGL proc~plgnfa PLGNFA proc~posnam POSNAM proc~gauleg GAULEG dcos dcos proc~gauleg->dcos proc~dplgnd DPLGND proc~phgcut PHGCUT proc~phgcut->proc~phgpns proc~phsymcut PHSYMCUT proc~phgcut->proc~phsymcut proc~phsymcut->proc~rfourtr proc~rfouftr RFOUFTR fft99 fft99 proc~rfouftr->fft99 wsave wsave proc~rfouftr->wsave proc~phsym PHSYM proc~readlatlon READLATLON grib_count_in_file grib_count_in_file proc~readlatlon->grib_count_in_file grib_close_file grib_close_file proc~readlatlon->grib_close_file proc~vdtouv VDTOUV proc~legtr LEGTR proc~phgracut PHGRACUT proc~phgracut->proc~rfourtr proc~grph213 GRPH213 proc~grphsub GRPHSUB proc~grph213->proc~grphsub ind ind proc~grph213->ind proc~readspectral READSPECTRAL proc~readspectral->grib_count_in_file proc~readspectral->grib_close_file proc~phgr213 PHGR213 proc~phgr213->proc~phsym proc~phgrad PHGRAD proc~spfilter SPFILTER float float proc~spfilter->float alog alog proc~spfilter->alog proc~rfourtr->fft99 proc~ia IA proc~statis STATIS proc~vduvsub VDUVSUB program~calc_etadot calc_etadot program~calc_etadot->proc~posnam program~calc_etadot->proc~gauleg program~calc_etadot->proc~phgcut program~calc_etadot->proc~readlatlon program~calc_etadot->proc~grph213 program~calc_etadot->proc~readspectral program~calc_etadot->proc~phgr213 program~calc_etadot->proc~phgrad program~calc_etadot->proc~statis set99 set99 program~calc_etadot->set99 grib_open_file grib_open_file program~calc_etadot->grib_open_file program~calc_etadot->grib_close_file
Help