NCEPLIBS-ip 5.3.0
|
Public Member Functions | |
procedure | field_pos (self, i, j) |
Field position for a given grid point. | |
procedure | gdswzd (self, iopt, npts, fill, xpts, ypts, rlon, rlat, nret, crot, srot, xlon, xlat, ylon, ylat, area) |
Calculates Earth coordinates (iopt = 1) or grid coorindates (iopt = -1) for IP Station Point grids. | |
generic | init init_grib1 |
Init subprogram. | |
generic | init init_grib2 |
Init subprogram. | |
procedure | init_grib1 (self, g1_desc) |
Initializes a gaussian grid given a grib1_descriptor object. | |
procedure | init_grib2 (self, g2_desc) |
Initializes a gaussian grid given a grib2_descriptor object. | |
Data Fields | |
class(ip_grid_descriptor), allocatable | descriptor |
Descriptor. | |
real | eccen_squared |
Eccentricity of the Earth squared (e^2). | |
integer | im |
Number of x points. | |
integer | iwrap |
x wraparound increment (0 if no wraparound). | |
integer | jm |
Number of y points. | |
integer | jwrap1 |
y wraparound lower pivot point (0 if no wraparound). | |
integer | jwrap2 |
y wraparound upper pivot point (0 if no wraparound). | |
integer | kscan |
Mass/wind flag for staggered diagonal (0 if mass; 1 if wind). | |
integer | nm |
Total number of points. | |
integer | nscan |
integer | nscan_field_pos |
nscan for field_pos routine. | |
real | rerth |
Radius of the Earth. | |
Definition at line 18 of file ip_station_points_grid_mod.F90.
|
inherited |
Field position for a given grid point.
[in] | self | |
[in] | i | |
[in] | j |
Definition at line 92 of file ip_grid_mod.F90.
procedure ip_station_points_grid_mod::ip_station_points_grid::gdswzd | ( | class(ip_station_points_grid), intent(in) | self, |
integer, intent(in) | iopt, | ||
integer, intent(in) | npts, | ||
real, intent(in) | fill, | ||
real, dimension(npts), intent(inout) | xpts, | ||
real, dimension(npts), intent(inout) | ypts, | ||
real, dimension(npts), intent(inout) | rlon, | ||
real, dimension(npts), intent(inout) | rlat, | ||
integer, intent(out) | nret, | ||
real, dimension(npts), intent(out), optional | crot, | ||
real, dimension(npts), intent(out), optional | srot, | ||
real, dimension(npts), intent(out), optional | xlon, | ||
real, dimension(npts), intent(out), optional | xlat, | ||
real, dimension(npts), intent(out), optional | ylon, | ||
real, dimension(npts), intent(out), optional | ylat, | ||
real, dimension(npts), intent(out), optional | area ) |
Calculates Earth coordinates (iopt = 1) or grid coorindates (iopt = -1) for IP Station Point grids.
[in] | self | The grid. |
[in] | IOPT | must be minus 1 (return grid coordinates for selected earth coordinates). |
[in] | NPTS | Maximum number of points. |
[in] | FILL | Fill value to set invalid output data. Must be impossible value; suggested value: -9999. |
[in,out] | XPTS | X point coordinates. Always output. |
[in,out] | YPTS | Y point coordinates. Always output. |
[in,out] | RLON | Point longitudes. Always input. |
[in,out] | RLAT | Point latitudes. Always input. |
[out] | NRET | Number of valid points computed. |
[out] | CROT | Not used. |
[out] | SROT | Not used. |
[out] | XLON | Not used. |
[out] | XLAT | Not used. |
[out] | YLON | Not used. |
[out] | YLAT | Not used. |
[out] | AREA | Not used. |
Definition at line 29 of file ip_station_points_grid_mod.F90.
|
inherited |
|
inherited |
procedure ip_station_points_grid_mod::ip_station_points_grid::init_grib1 | ( | class(ip_station_points_grid), intent(inout) | self, |
type(grib1_descriptor), intent(in) | g1_desc ) |
Initializes a gaussian grid given a grib1_descriptor object.
[in,out] | self | The grid to initialize |
[in] | g1_desc | A grib1_descriptor |
Definition at line 22 of file ip_station_points_grid_mod.F90.
procedure ip_station_points_grid_mod::ip_station_points_grid::init_grib2 | ( | class(ip_station_points_grid), intent(inout) | self, |
type(grib2_descriptor), intent(in) | g2_desc ) |
Initializes a gaussian grid given a grib2_descriptor object.
[in,out] | self | The grid to initialize |
[in] | g2_desc | A grib2_descriptor |
Definition at line 25 of file ip_station_points_grid_mod.F90.
|
inherited |
Descriptor.
Definition at line 60 of file ip_grid_mod.F90.
|
inherited |
Eccentricity of the Earth squared (e^2).
Definition at line 79 of file ip_grid_mod.F90.
|
inherited |
Number of x points.
Definition at line 62 of file ip_grid_mod.F90.
|
inherited |
x wraparound increment (0 if no wraparound).
Definition at line 75 of file ip_grid_mod.F90.
|
inherited |
Number of y points.
Definition at line 63 of file ip_grid_mod.F90.
|
inherited |
y wraparound lower pivot point (0 if no wraparound).
Definition at line 76 of file ip_grid_mod.F90.
|
inherited |
y wraparound upper pivot point (0 if no wraparound).
Definition at line 77 of file ip_grid_mod.F90.
|
inherited |
Mass/wind flag for staggered diagonal (0 if mass; 1 if wind).
Definition at line 71 of file ip_grid_mod.F90.
|
inherited |
Total number of points.
Definition at line 64 of file ip_grid_mod.F90.
|
inherited |
Scanning | mode.
|
Definition at line 70 of file ip_grid_mod.F90.
|
inherited |
nscan for field_pos routine.
Can be different than nscan due to differences in grib/grib2.
Definition at line 73 of file ip_grid_mod.F90.
|
inherited |
Radius of the Earth.
Definition at line 78 of file ip_grid_mod.F90.