|
NCEPLIBS-ip 4.0.0
|
Abstract grid that holds fields and methods common to all grids. More...
Private Member Functions | |
| procedure | field_pos |
| Field position for a given grid point. More... | |
| procedure(gdswzd_interface), deferred | gdswzd |
| Coordinate transformations for the grid. More... | |
| generic | init => init_grib1, init_grib2 |
| procedure(init_grib1_interface), deferred | init_grib1 |
| Initializer for grib1 input descriptor. More... | |
| procedure(init_grib2_interface), deferred | init_grib2 |
| Initializer for grib2 input descriptor. More... | |
Private Attributes | |
| class(ip_grid_descriptor), allocatable | descriptor |
| real | eccen_squared |
| Eccentricity of the Earth squared (e^2) 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... | |
Abstract grid that holds fields and methods common to all grids.
ip_grid is meant to be subclassed when implementing a new grid.
There are three methods that must be implemented:
The init methods are responsible for setting up the grid using grib1/grib2 descriptors.
Gdswzd performs transformations to/from Earth coordinates and grid coordinates.
Definition at line 45 of file ip_grid_mod.f90.
|
private |
Field position for a given grid point.
Definition at line 74 of file ip_grid_mod.f90.
|
private |
Coordinate transformations for the grid.
Definition at line 72 of file ip_grid_mod.f90.
|
private |
Definition at line 75 of file ip_grid_mod.f90.
|
private |
Initializer for grib1 input descriptor.
Definition at line 68 of file ip_grid_mod.f90.
|
private |
Initializer for grib2 input descriptor.
Definition at line 70 of file ip_grid_mod.f90.
|
private |
Definition at line 46 of file ip_grid_mod.f90.
|
private |
Eccentricity of the Earth squared (e^2)
Definition at line 65 of file ip_grid_mod.f90.
|
private |
Number of x points.
Definition at line 48 of file ip_grid_mod.f90.
|
private |
x wraparound increment (0 if no wraparound).
Definition at line 61 of file ip_grid_mod.f90.
|
private |
Number of y points.
Definition at line 49 of file ip_grid_mod.f90.
|
private |
y wraparound lower pivot point (0 if no wraparound).
Definition at line 62 of file ip_grid_mod.f90.
|
private |
y wraparound upper pivot point (0 if no wraparound).
Definition at line 63 of file ip_grid_mod.f90.
|
private |
Mass/wind flag for staggered diagonal (0 if mass; 1 if wind)
Definition at line 57 of file ip_grid_mod.f90.
|
private |
Total number of points.
Definition at line 50 of file ip_grid_mod.f90.
|
private |
| Scanning | mode. 0 if x first then y; 1 if y first then x; 3 if staggered diagonal like projection 203. |
Definition at line 56 of file ip_grid_mod.f90.
|
private |
nscan for field_pos routine.
Can be different than nscan due to differences in grib/grib2.
Definition at line 59 of file ip_grid_mod.f90.
|
private |
Radius of the Earth.
Definition at line 64 of file ip_grid_mod.f90.