NCEPLIBS-ip 5.2.0
|
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. | |
Definition at line 20 of file spectral_interp_mod.F90.
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.
[in] | ipopt | interpolation 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_in | input grid descriptor. |
[in] | grid_out | output grid descriptor. |
[in] | MI | skip number between input grid fields if km>1 or dimension of input grid fields if km=1. |
[in] | MO | skip number between output grid fields if km>1 or dimension of output grid fields if km=1. |
[in] | KM | number of fields to interpolate. |
[in] | IBI | input bitmap flags (Must be all 0. Routine does not do bitmapped interpolation.) |
[in] | GI | input fields to interpolate. |
[out] | NO | number of output points. |
[in,out] | RLAT | output latitudes in degrees. |
[in,out] | RLON | output longitudes in degrees. |
[out] | IBO | output bitmap flags. |
[out] | LO | output bitmaps. |
[out] | GO | output fields interpolated. |
[out] | IRET | return code. 0/non-0 - successful/not successful. |
Definition at line 61 of file spectral_interp_mod.F90.
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.
ipopt | interpolation 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_in | input grid descriptor. |
grid_out | output grid descriptor. |
MI | skip number between input grid fields if km>1 or dimension of input grid fields if km=1. |
MO | skip number between output grid fields if km>1 or dimension of output grid fields if km=1. |
KM | number of fields to interpolate. |
IBI | input bitmap flags (Must be all 0. Routine does not do bitmapped interpolation.) |
UI | input u-component fields to interpolate. |
VI | input v-component fields to interpolate. |
NO | number of output points. |
RLAT | output latitudes in degrees. |
RLON | output longitudes in degrees. |
CROT | vector rotation cosines. |
SROT | vector rotation sines. |
IBO | output bitmap flags. |
LO | output bitmaps. |
UO | output u-component fields interpolated. |
VO | output v-component fields interpolated. |
IRET | return code. 0/non-0 - successful/not successful. |
Definition at line 122 of file spectral_interp_mod.F90.
References spectral_interp_mod::polatev4_grib1().