NCEPLIBS-ip  5.0.0
ip_polar_stereo_grid_mod::ip_polar_stereo_grid Type Reference
Inheritance diagram for ip_polar_stereo_grid_mod::ip_polar_stereo_grid:
ip_grid_mod::ip_grid

Private Member Functions

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

Private Attributes

class(ip_grid_descriptor), allocatable descriptor
 Descriptor. More...
 
real dxs
 'x'-direction grid length, adjusted by the scanning mode. More...
 
real dys
 'y'-direction grid length, adjusted by the scanning mode. More...
 
real eccen_squared
 Eccentricity of the Earth squared (e^2). More...
 
logical elliptical
 When true/false, computations are based on an elliptical/spherical earth. More...
 
real h
 Hemisphere flag. More...
 
integer im
 Number of x points. More...
 
integer irot
 Rotation flag. 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 orient
 Orientation longitude. More...
 
real rerth
 Radius of the Earth. More...
 
real rlat1
 Latitude of the first grid point. More...
 
real rlon1
 Longitude of the first grid point. More...
 
real slatr
 Standard latitude of grid in radians. More...
 

Detailed Description

Definition at line 23 of file ip_polar_stereo_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_polar_stereo_grid_mod::ip_polar_stereo_grid::gdswzd
private

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

Returns
N/A

Definition at line 41 of file ip_polar_stereo_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_polar_stereo_grid_mod::ip_polar_stereo_grid::init_grib1
private

Initializes a grid given a grib1_descriptor object.

Returns
N/A

Definition at line 37 of file ip_polar_stereo_grid_mod.F90.

◆ init_grib2()

procedure ip_polar_stereo_grid_mod::ip_polar_stereo_grid::init_grib2
private

Initializes a grid given a grib2_descriptor object.

Returns
N/A

Definition at line 38 of file ip_polar_stereo_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.

◆ dxs

real ip_polar_stereo_grid_mod::ip_polar_stereo_grid::dxs
private

'x'-direction grid length, adjusted by the scanning mode.

Definition at line 29 of file ip_polar_stereo_grid_mod.F90.

◆ dys

real ip_polar_stereo_grid_mod::ip_polar_stereo_grid::dys
private

'y'-direction grid length, adjusted by the scanning mode.

Definition at line 30 of file ip_polar_stereo_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.

◆ elliptical

logical ip_polar_stereo_grid_mod::ip_polar_stereo_grid::elliptical
private

When true/false, computations are based on an elliptical/spherical earth.

Definition at line 24 of file ip_polar_stereo_grid_mod.F90.

◆ h

real ip_polar_stereo_grid_mod::ip_polar_stereo_grid::h
private

Hemisphere flag.

0 - NH; 1 - SH.

Definition at line 28 of file ip_polar_stereo_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.

◆ irot

integer ip_polar_stereo_grid_mod::ip_polar_stereo_grid::irot
private

Rotation flag.

When '0' the u/v vector components are relative to north/east. When '1' the u/v vector components are grid relative.

Definition at line 35 of file ip_polar_stereo_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.

◆ orient

real ip_polar_stereo_grid_mod::ip_polar_stereo_grid::orient
private

Orientation longitude.

Definition at line 27 of file ip_polar_stereo_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_polar_stereo_grid_mod::ip_polar_stereo_grid::rlat1
private

Latitude of the first grid point.

Definition at line 25 of file ip_polar_stereo_grid_mod.F90.

◆ rlon1

real ip_polar_stereo_grid_mod::ip_polar_stereo_grid::rlon1
private

Longitude of the first grid point.

Definition at line 26 of file ip_polar_stereo_grid_mod.F90.

◆ slatr

real ip_polar_stereo_grid_mod::ip_polar_stereo_grid::slatr
private

Standard latitude of grid in radians.

Definition at line 31 of file ip_polar_stereo_grid_mod.F90.


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