NCEPLIBS-ip 5.2.0
Loading...
Searching...
No Matches
spectral_interp_mod::interpolate_spectral Interface Reference

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

Detailed Description

Definition at line 20 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 
)

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

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 122 of file spectral_interp_mod.F90.

References spectral_interp_mod::polatev4_grib1().


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