NCEPLIBS-ip  4.4.0
spectral_interp_mod::interpolate_spectral Interface Reference

Private Member Functions

subroutine interpolate_spectral_scalar (IPOPT, grid_in, grid_out, MI, MO, KM, IBI, GI, NO, RLAT, RLON, IBO, LO, GO, IRET)
 Interpolate spectral scalar. More...
 
subroutine interpolate_spectral_vector (IPOPT, grid_in, grid_out, MI, MO, KM, IBI, UI, VI, NO, RLAT, RLON, CROT, SROT, IBO, LO, UO, VO, IRET)
 Interpolate spectral vector. More...
 

Detailed Description

Definition at line 19 of file spectral_interp_mod.F90.

Member Function/Subroutine Documentation

◆ interpolate_spectral_scalar()

subroutine spectral_interp_mod::interpolate_spectral::interpolate_spectral_scalar ( integer, dimension(20), intent(in)  IPOPT,
class(ip_grid), intent(in)  grid_in,
class(ip_grid), intent(in)  grid_out,
integer, intent(in)  MI,
integer, intent(in)  MO,
integer, intent(in)  KM,
integer, dimension(km), intent(in)  IBI,
real, dimension(mi,km), intent(in)  GI,
integer, intent(out)  NO,
real, dimension(mo), intent(inout)  RLAT,
real, dimension(mo), intent(inout)  RLON,
integer, dimension(km), intent(out)  IBO,
logical*1, dimension(mo,km), intent(out)  LO,
real, dimension(mo,km), intent(out)  GO,
integer, intent(out)  IRET 
)
private

Interpolate spectral scalar.

Parameters
[in]ipoptinterpolation options; ipopt(1)=0 for triangular; ipopt(1)=1 for rhomboidal; ipopt(2) is truncation number (defaults to a sensible truncation if ipopt(2)=-1).
[in]grid_ininput grid descriptor.
[in]grid_outoutput grid descriptor.
[in]MIskip number between input grid fields if km>1 or dimension of input grid fields if km=1.
[in]MOskip number between output grid fields if km>1 or dimension of output grid fields if km=1.
[in]KMnumber of fields to interpolate.
[in]IBIinput bitmap flags (Must be all 0. Routine does not do bitmapped interpolation.)
[in]GIinput fields to interpolate.
[out]NOnumber of output points.
[in,out]RLAToutput latitudes in degrees.
[in,out]RLONoutput longitudes in degrees.
[out]IBOoutput bitmap flags.
[out]LOoutput bitmaps.
[out]GOoutput fields interpolated.
[out]IRETreturn code. 0/non-0 - successful/not successful.
Author
Mark Iredell
Date
96-04-10

Definition at line 60 of file spectral_interp_mod.F90.

◆ interpolate_spectral_vector()

subroutine spectral_interp_mod::interpolate_spectral::interpolate_spectral_vector ( integer, dimension(20), intent(in)  IPOPT,
class(ip_grid), intent(in)  grid_in,
class(ip_grid), intent(in)  grid_out,
integer, intent(in)  MI,
integer, intent(in)  MO,
integer, intent(in)  KM,
integer, dimension(km), intent(in)  IBI,
real, dimension(mi,km), intent(in)  UI,
real, dimension(mi,km), intent(in)  VI,
integer, intent(out)  NO,
real, dimension(mo), intent(inout)  RLAT,
real, dimension(mo), intent(inout)  RLON,
real, dimension(mo), intent(out)  CROT,
real, dimension(mo), intent(out)  SROT,
integer, dimension(km), intent(out)  IBO,
logical*1, dimension(mo,km), intent(out)  LO,
real, dimension(mo,km), intent(out)  UO,
real, dimension(mo,km), intent(out)  VO,
integer, intent(out)  IRET 
)
private

Interpolate spectral vector.

Parameters
ipoptinterpolation options; ipopt(1)=0 for triangular; ipopt(1)=1 for rhomboidal; ipopt(2) is truncation number (defaults to a sensible truncation if ipopt(2)=-1).
grid_ininput grid descriptor.
grid_outoutput grid descriptor.
MIskip number between input grid fields if km>1 or dimension of input grid fields if km=1.
MOskip number between output grid fields if km>1 or dimension of output grid fields if km=1.
KMnumber of fields to interpolate.
IBIinput bitmap flags (Must be all 0. Routine does not do bitmapped interpolation.)
UIinput u-component fields to interpolate.
VIinput v-component fields to interpolate.
NOnumber of output points.
RLAToutput latitudes in degrees.
RLONoutput longitudes in degrees.
CROTvector rotation cosines.
SROTvector rotation sines.
IBOoutput bitmap flags.
LOoutput bitmaps.
UOoutput u-component fields interpolated.
VOoutput v-component fields interpolated.
IRETreturn code. 0/non-0 - successful/not successful.
Author
Mark Iredell
Date
96-04-10

Definition at line 121 of file spectral_interp_mod.F90.

References spectral_interp_mod::polatev4_grib1().


The documentation for this interface was generated from the following file: