NCEPLIBS-ip 5.2.0
Loading...
Searching...
No Matches
ip_station_points_grid_mod::ip_station_points_grid Type Reference
Inheritance diagram for ip_station_points_grid_mod::ip_station_points_grid:
ip_grid_mod::ip_grid

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.
 

Detailed Description

Definition at line 18 of file ip_station_points_grid_mod.F90.

Member Function/Subroutine Documentation

◆ field_pos()

procedure ip_grid_mod::ip_grid::field_pos ( class(ip_grid), intent(in)  self,
integer, intent(in)  i,
integer, intent(in)  j 
)
inherited

Field position for a given grid point.

Returns
Integer position in grib field to locate grid point.

Returns the field position for a given grid point.

Parameters
[in]self
[in]i
[in]j
Returns
Integer position in grib field to locate grid point.
Author
Mark Iredell, George Gayno, Kyle Gerheiser
Date
April 1996

Definition at line 91 of file ip_grid_mod.F90.

◆ gdswzd()

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.

Returns
N/A Interpolate gridded data to a series of station points.
Parameters
[in]selfThe grid.
[in]IOPTmust be minus 1 (return grid coordinates for selected earth coordinates).
[in]NPTSMaximum number of points.
[in]FILLFill value to set invalid output data. Must be impossible value; suggested value: -9999.
[in,out]XPTSX point coordinates. Always output.
[in,out]YPTSY point coordinates. Always output.
[in,out]RLONPoint longitudes. Always input.
[in,out]RLATPoint latitudes. Always input.
[out]NRETNumber of valid points computed.
[out]CROTNot used.
[out]SROTNot used.
[out]XLONNot used.
[out]XLATNot used.
[out]YLONNot used.
[out]YLATNot used.
[out]AREANot used.
Author
Kyle Gerheiser
Date
7/21/21
Author
Eric Engle
Date
5/4/23

Definition at line 29 of file ip_station_points_grid_mod.F90.

◆ init() [1/2]

generic ip_grid_mod::ip_grid::init
inherited

Init subprogram.

Returns
N/A

Definition at line 93 of file ip_grid_mod.F90.

◆ init() [2/2]

generic ip_grid_mod::ip_grid::init
inherited

Init subprogram.

Returns
N/A

Definition at line 93 of file ip_grid_mod.F90.

◆ init_grib1()

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.

Returns
N/A Initializes an IP Station grid given a grib1_descriptor object.
Parameters
[in,out]selfThe grid to initialize
[in]g1_descA grib1_descriptor
Author
Iredell
Date
96-04-10

Definition at line 22 of file ip_station_points_grid_mod.F90.

◆ init_grib2()

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.

Returns
N/A Initializes an IP Station grid given a grib2_descriptor object.
Parameters
[in,out]selfThe grid to initialize
[in]g2_descA grib2_descriptor
Author
Iredell
Date
96-04-10

Definition at line 25 of file ip_station_points_grid_mod.F90.

Field Documentation

◆ descriptor

class(ip_grid_descriptor), allocatable ip_grid_mod::ip_grid::descriptor
inherited

Descriptor.

Definition at line 59 of file ip_grid_mod.F90.

◆ eccen_squared

real ip_grid_mod::ip_grid::eccen_squared
inherited

Eccentricity of the Earth squared (e^2).

Definition at line 78 of file ip_grid_mod.F90.

◆ im

integer ip_grid_mod::ip_grid::im
inherited

Number of x points.

Definition at line 61 of file ip_grid_mod.F90.

◆ iwrap

integer ip_grid_mod::ip_grid::iwrap
inherited

x wraparound increment (0 if no wraparound).

Definition at line 74 of file ip_grid_mod.F90.

◆ jm

integer ip_grid_mod::ip_grid::jm
inherited

Number of y points.

Definition at line 62 of file ip_grid_mod.F90.

◆ jwrap1

integer ip_grid_mod::ip_grid::jwrap1
inherited

y wraparound lower pivot point (0 if no wraparound).

Definition at line 75 of file ip_grid_mod.F90.

◆ jwrap2

integer ip_grid_mod::ip_grid::jwrap2
inherited

y wraparound upper pivot point (0 if no wraparound).

Definition at line 76 of file ip_grid_mod.F90.

◆ kscan

integer ip_grid_mod::ip_grid::kscan
inherited

Mass/wind flag for staggered diagonal (0 if mass; 1 if wind).

Definition at line 70 of file ip_grid_mod.F90.

◆ nm

integer ip_grid_mod::ip_grid::nm
inherited

Total number of points.

Definition at line 63 of file ip_grid_mod.F90.

◆ nscan

integer ip_grid_mod::ip_grid::nscan
inherited
Parameters
Scanningmode.
  • 0 if x first then y;
  • 1 if y first then x;
  • 3 if staggered diagonal like projection 203.

Definition at line 69 of file ip_grid_mod.F90.

◆ nscan_field_pos

integer ip_grid_mod::ip_grid::nscan_field_pos
inherited

nscan for field_pos routine.

Can be different than nscan due to differences in grib/grib2.

Definition at line 72 of file ip_grid_mod.F90.

◆ rerth

real ip_grid_mod::ip_grid::rerth
inherited

Radius of the Earth.

Definition at line 77 of file ip_grid_mod.F90.


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