NCEPLIBS-ip  4.1.0
ip_gaussian_grid_mod::ip_gaussian_grid Type Reference
Inheritance diagram for ip_gaussian_grid_mod::ip_gaussian_grid:
ip_grid_mod::ip_grid

Private Member Functions

procedure field_pos
 Field position for a given grid point. More...
 
procedure gdswzd => gdswzd_gaussian
 Calculates Earth coordinates (iopt = 1) or grid coorindates (iopt = -1) for Gaussian grids. More...
 
generic init => init_grib1, init_grib2
 Init subprogram. More...
 
procedure init_grib1
 Initializes a gaussian grid given a grib1_descriptor object. More...
 
procedure init_grib2
 Initializes a gaussian grid given a grib2_descriptor object. More...
 

Private Attributes

class(ip_grid_descriptor), allocatable descriptor
 Descriptor. More...
 
real dlon
 "i"-direction increment. More...
 
real eccen_squared
 Eccentricity of the Earth squared (e^2). More...
 
real hi
 Scan mode flag in 'i' direction. More...
 
integer im
 Number of x points. More...
 
integer iwrap
 x wraparound increment (0 if no wraparound). More...
 
integer jg
 Number of parallels between the equator and pole times 2. More...
 
integer jh
 Scan mode flag in 'j' direction. More...
 
integer jm
 Number of y points. More...
 
integer jscan
 Scanning mode in the 'j' direction. More...
 
integer jwrap1
 y wraparound lower pivot point (0 if no wraparound). More...
 
integer jwrap2
 y wraparound upper pivot point (0 if no wraparound). More...
 
integer kscan
 Mass/wind flag for staggered diagonal (0 if mass; 1 if wind). More...
 
integer nm
 Total number of points. More...
 
integer nscan
 
integer nscan_field_pos
 nscan for field_pos routine. More...
 
real rerth
 Radius of the Earth. More...
 
real rlat1
 Latitude of first grid point. More...
 
real rlon1
 Longitude of first grid point. More...
 
real rlon2
 Longitude of last grid point. More...
 

Detailed Description

Definition at line 24 of file ip_gaussian_grid_mod.F90.

Member Function/Subroutine Documentation

◆ field_pos()

procedure ip_grid_mod::ip_grid::field_pos
privateinherited

Field position for a given grid point.

Returns
Integer position in grib field to locate grid point.

Definition at line 82 of file ip_grid_mod.F90.

◆ gdswzd()

procedure ip_gaussian_grid_mod::ip_gaussian_grid::gdswzd
private

Calculates Earth coordinates (iopt = 1) or grid coorindates (iopt = -1) for Gaussian grids.

Returns
N/A

Definition at line 40 of file ip_gaussian_grid_mod.F90.

◆ init()

generic ip_grid_mod::ip_grid::init
privateinherited

Init subprogram.

Returns
N/A

Definition at line 84 of file ip_grid_mod.F90.

◆ init_grib1()

procedure ip_gaussian_grid_mod::ip_gaussian_grid::init_grib1
private

Initializes a gaussian grid given a grib1_descriptor object.

Returns
N/A

Definition at line 35 of file ip_gaussian_grid_mod.F90.

◆ init_grib2()

procedure ip_gaussian_grid_mod::ip_gaussian_grid::init_grib2
private

Initializes a gaussian grid given a grib2_descriptor object.

Returns
N/A

Definition at line 37 of file ip_gaussian_grid_mod.F90.

Field Documentation

◆ descriptor

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

Descriptor.

Definition at line 53 of file ip_grid_mod.F90.

◆ dlon

real ip_gaussian_grid_mod::ip_gaussian_grid::dlon
private

"i"-direction increment.

GRIB2 Section 3, octets 64-67.

Definition at line 26 of file ip_gaussian_grid_mod.F90.

◆ eccen_squared

real ip_grid_mod::ip_grid::eccen_squared
privateinherited

Eccentricity of the Earth squared (e^2).

Definition at line 72 of file ip_grid_mod.F90.

◆ hi

real ip_gaussian_grid_mod::ip_gaussian_grid::hi
private

Scan mode flag in 'i' direction.

When '1' points scan from W to E. When "-1" points scan from E to W.

Definition at line 30 of file ip_gaussian_grid_mod.F90.

◆ im

integer ip_grid_mod::ip_grid::im
privateinherited

Number of x points.

Definition at line 55 of file ip_grid_mod.F90.

◆ iwrap

integer ip_grid_mod::ip_grid::iwrap
privateinherited

x wraparound increment (0 if no wraparound).

Definition at line 68 of file ip_grid_mod.F90.

◆ jg

integer ip_gaussian_grid_mod::ip_gaussian_grid::jg
private

Number of parallels between the equator and pole times 2.

GRIB2 Section 3, octets 68-71.

Definition at line 31 of file ip_gaussian_grid_mod.F90.

◆ jh

integer ip_gaussian_grid_mod::ip_gaussian_grid::jh
private

Scan mode flag in 'j' direction.

When '1' points scan from N to S. When "-1" points scan from S to N.

Definition at line 25 of file ip_gaussian_grid_mod.F90.

◆ jm

integer ip_grid_mod::ip_grid::jm
privateinherited

Number of y points.

Definition at line 56 of file ip_grid_mod.F90.

◆ jscan

integer ip_gaussian_grid_mod::ip_gaussian_grid::jscan
private

Scanning mode in the 'j' direction.

GRIB2 Section 3, octet 72.

Definition at line 32 of file ip_gaussian_grid_mod.F90.

◆ jwrap1

integer ip_grid_mod::ip_grid::jwrap1
privateinherited

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

Definition at line 69 of file ip_grid_mod.F90.

◆ jwrap2

integer ip_grid_mod::ip_grid::jwrap2
privateinherited

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

Definition at line 70 of file ip_grid_mod.F90.

◆ kscan

integer ip_grid_mod::ip_grid::kscan
privateinherited

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

Definition at line 64 of file ip_grid_mod.F90.

◆ nm

integer ip_grid_mod::ip_grid::nm
privateinherited

Total number of points.

Definition at line 57 of file ip_grid_mod.F90.

◆ nscan

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

Definition at line 63 of file ip_grid_mod.F90.

◆ nscan_field_pos

integer ip_grid_mod::ip_grid::nscan_field_pos
privateinherited

nscan for field_pos routine.

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

Definition at line 66 of file ip_grid_mod.F90.

◆ rerth

real ip_grid_mod::ip_grid::rerth
privateinherited

Radius of the Earth.

Definition at line 71 of file ip_grid_mod.F90.

◆ rlat1

real ip_gaussian_grid_mod::ip_gaussian_grid::rlat1
private

Latitude of first grid point.

GRIB2 Section 3, octets 47-50.

Definition at line 27 of file ip_gaussian_grid_mod.F90.

◆ rlon1

real ip_gaussian_grid_mod::ip_gaussian_grid::rlon1
private

Longitude of first grid point.

GRIB2 Section 3, octets 51-54.

Definition at line 28 of file ip_gaussian_grid_mod.F90.

◆ rlon2

real ip_gaussian_grid_mod::ip_gaussian_grid::rlon2
private

Longitude of last grid point.

GRIB2 Section 3, octets 60-63.

Definition at line 29 of file ip_gaussian_grid_mod.F90.


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