NCEPLIBS-ip  5.0.0
ip_mercator_grid_mod::ip_mercator_grid Type Reference
Inheritance diagram for ip_mercator_grid_mod::ip_mercator_grid:
ip_grid_mod::ip_grid

Private Member Functions

procedure field_pos
 Field position for a given grid point. More...
 
procedure gdswzd => gdswzd_mercator
 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
 Longitudinal direction grid length. More...
 
real dphi
 Latitudinal direction grid length. More...
 
real eccen_squared
 Eccentricity of the Earth squared (e^2). More...
 
real hi
 Scan mode in the 'i' direction. More...
 
integer im
 Number of x points. More...
 
integer iwrap
 x wraparound increment (0 if no wraparound). More...
 
integer jm
 Number of y points. 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 rlati
 Latitude at which the Mercator projection intersects the Earth. More...
 
real rlon1
 Longitude of first grid point. More...
 
real rlon2
 Longitude of last grid point. More...
 

Detailed Description

Definition at line 22 of file ip_mercator_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_mercator_grid_mod::ip_mercator_grid::gdswzd
private

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

Returns
N/A gdswzd()
N/A

Definition at line 37 of file ip_mercator_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_mercator_grid_mod::ip_mercator_grid::init_grib1
private

Initializes a gaussian grid given a grib1_descriptor object.

Returns
N/A

Definition at line 32 of file ip_mercator_grid_mod.F90.

◆ init_grib2()

procedure ip_mercator_grid_mod::ip_mercator_grid::init_grib2
private

Initializes a gaussian grid given a grib2_descriptor object.

Returns
N/A

Definition at line 34 of file ip_mercator_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_mercator_grid_mod::ip_mercator_grid::dlon
private

Longitudinal direction grid length.

Section 3, octets 65-68.

Definition at line 28 of file ip_mercator_grid_mod.F90.

◆ dphi

real ip_mercator_grid_mod::ip_mercator_grid::dphi
private

Latitudinal direction grid length.

Section 3, octets 69-72.

Definition at line 29 of file ip_mercator_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_mercator_grid_mod::ip_mercator_grid::hi
private

Scan mode in the 'i' direction.

Section 3, octet 60.

Definition at line 27 of file ip_mercator_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.

◆ jm

integer ip_grid_mod::ip_grid::jm
privateinherited

Number of y points.

Definition at line 56 of file ip_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_mercator_grid_mod::ip_mercator_grid::rlat1
private

Latitude of first grid point.

Section 3, octets 39-42.

Definition at line 23 of file ip_mercator_grid_mod.F90.

◆ rlati

real ip_mercator_grid_mod::ip_mercator_grid::rlati
private

Latitude at which the Mercator projection intersects the Earth.

Section 3, octets 48-51.

Definition at line 26 of file ip_mercator_grid_mod.F90.

◆ rlon1

real ip_mercator_grid_mod::ip_mercator_grid::rlon1
private

Longitude of first grid point.

Section 3, octets 43-46.

Definition at line 24 of file ip_mercator_grid_mod.F90.

◆ rlon2

real ip_mercator_grid_mod::ip_mercator_grid::rlon2
private

Longitude of last grid point.

Section 3, octets 56-59.

Definition at line 25 of file ip_mercator_grid_mod.F90.


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