grib2io.tables.section3

  1table_3_0 = {
  2'0':'Specified in Code Table 3.1',
  3'1':'Predetermined Grid Definition - Defined by Originating Center',
  4'2-191':'Reserved',
  5'192-254':'Reserved for Local Use',
  6'255':'A grid definition does not apply to this product.',
  7}
  8
  9table_3_1 = {
 10'0':'Latitude/Longitude',
 11'1':'Rotated Latitude/Longitude',
 12'2':'Stretched Latitude/Longitude',
 13'3':'Rotated and Stretched Latitude/Longitude',
 14'4':'Variable Resolution Latitude/longitude ',
 15'5':'Variable Resolution Rotated Latitude/longitude ',
 16'6-9':'Reserved',
 17'10':'Mercator',
 18'11':'Reserved',
 19'12':'Transverse Mercator ',
 20'13':'Mercator with modelling subdomains definition ',
 21'14-19':'Reserved',
 22'20':'Polar Stereographic Projection (Can be North or South)',
 23'21-22':'Reserved',
 24'23':'Polar Stereographic with modelling subdomains definition ',
 25'24-29':'Reserved',
 26'30':'Lambert Conformal (Can be Secant, Tangent, Conical, or Bipolar)',
 27'31':'Albers Equal Area',
 28'32':'Reserved',
 29'33':'Lambert conformal with modelling subdomains definition ',
 30'34-39':'Reserved',
 31'40':'Gaussian Latitude/Longitude',
 32'41':'Rotated Gaussian Latitude/Longitude',
 33'42':'Stretched Gaussian Latitude/Longitude',
 34'43':'Rotated and Stretched Gaussian Latitude/Longitude',
 35'44-49':'Reserved',
 36'50':'Spherical Harmonic Coefficients',
 37'51':'Rotated Spherical Harmonic Coefficients',
 38'52':'Stretched Spherical Harmonic Coefficients',
 39'53':'Rotated and Stretched Spherical Harmonic Coefficients',
 40'54-59':'Reserved',
 41'60':'Cubed-Sphere Gnomonic ',
 42'61':'Spectral Mercator with modelling subdomains definition ',
 43'62':'Spectral Polar Stereographic with modelling subdomains definition ',
 44'63':'Spectral Lambert conformal with modelling subdomains definition ',
 45'64-89':'Reserved',
 46'90':'Space View Perspective or Orthographic',
 47'91-99':'Reserved',
 48'100':'Triangular Grid Based on an Icosahedron',
 49'101':'General Unstructured Grid (see Template 3.101)',
 50'102-109':'Reserved',
 51'110':'Equatorial Azimuthal Equidistant Projection',
 52'111-119':'Reserved',
 53'120':'Azimuth-Range Projection',
 54'121-139':'Reserved',
 55'140':'Lambert Azimuthal Equal Area Projection ',
 56'141-203':'Reserved',
 57'204':'Curvilinear Orthogonal Grids',
 58'205-999':'Reserved',
 59'1000':'Cross Section Grid with Points Equally Spaced on the Horizontal',
 60'1001-1099':'Reserved',
 61'1100':'Hovmoller Diagram with Points Equally Spaced on the Horizontal',
 62'1101-1199':'Reserved',
 63'1200':'Time Section Grid',
 64'1201-32767':'Reserved',
 65'32768-65534':'Reserved for Local Use',
 66'32768':'Rotated Latitude/Longitude (Arakawa Staggered E-Grid)',
 67'32769':'Rotated Latitude/Longitude (Arakawa Non-E Staggered Grid)',
 68'65535':'Missing',
 69}
 70
 71table_3_2 = {
 72'0':'Earth assumed spherical with radius = 6,367,470.0 m',
 73'1':'Earth assumed spherical with radius specified (in m) by data producer',
 74'2':'Earth assumed oblate spheriod with size as determined by IAU in 1965 (major axis = 6,378,160.0 m, minor axis = 6,356,775.0 m, f = 1/297.0)',
 75'3':'Earth assumed oblate spheriod with major and minor axes specified (in km) by data producer',
 76'4':'Earth assumed oblate spheriod as defined in IAG-GRS80 model (major axis = 6,378,137.0 m, minor axis = 6,356,752.314 m, f = 1/298.257222101)',
 77'5':'Earth assumed represented by WGS84 (as used by ICAO since 1998) (Uses IAG-GRS80 as a basis)',
 78'6':'Earth assumed spherical with radius = 6,371,229.0 m',
 79'7':'Earth assumed oblate spheroid with major and minor axes specified (in m) by data producer',
 80'8':'Earth model assumed spherical with radius 6,371,200 m, but the horizontal datum of the resulting Latitude/Longitude field is the WGS84 reference frame',
 81'9':'Earth represented by the OSGB 1936 Datum, using the Airy_1830 Spheroid, the Greenwich meridian as 0 Longitude, the Newlyn datum as mean sea level, 0 height.',
 82'10':'Earth model assumed WGS84 with corrected geomagnetic coordinates (latitude and longitude) defined by Gustafsson et al., 1992".',
 83'11':'Sun assumed spherical with radius = 695 990 000 m (Allen, C.W., Astrophysical Quantities, 3rd ed.; Athlone: London, 1976) and Stonyhurst latitude and longitude system with origin at the intersection of the solar central meridian (as seen from Earth) and the solar equator (Thompson, W., Coordinate systems for solar image data, Astron. Astrophys. 2006, 449, 791-803)',
 84'12-191':'Reserved',
 85'192-254':'Reserved for Local Use',
 86'255':'Missing',
 87}
 88
 89table_3_11 = {
 90'0':'There is no appended list',
 91'1':'Numbers define number of points corresponding to full coordinate circles (i.e. parallels). Coordinate values on each circle are multiple of the circle mesh, and extreme coordinate values given in grid definition may not be reached in all rows.',
 92'2':'Numbers define number of points corresponding to coordinate lines delimited by extreme coordinate values given in grid definition which are present in each row.',
 93'3':'Numbers define the actual latitudes for each row in the grid. The list of numbers are integer values of the valid latitudes in microdegrees (scale by 106) or in unit equal to the ratio of the basic angle and the subdivisions number for each row, in the same order as specified in the "scanning mode flag" (bit no. 2)',
 94'4-254':'Reserved',
 95'255':'Missing',
 96}
 97
 98earth_params = {
 99'0':{'shape':'spherical','radius':6367470.0},
100'1':{'shape':'spherical','radius':None},
101'2':{'shape':'oblateSpheriod','major_axis':6378160.0,'minor_axis':6356775.0,'flattening':1.0/297.0},
102'3':{'shape':'oblateSpheriod','major_axis':None,'minor_axis':None,'flattening':None},
103'4':{'shape':'oblateSpheriod','major_axis':6378137.0,'minor_axis':6356752.314,'flattening':1.0/298.257222101},
104'5':{'shape':'oblateSpheriod','major_axis':6378137.0,'minor_axis':6356752.3142,'flattening':1.0/298.257223563},
105'6':{'shape':'spherical','radius':6371229.0},
106'7':{'shape':'oblateSpheriod','major_axis':None,'minor_axis':None,'flattening':None},
107'8':{'shape':'spherical','radius':6371200.0},
108}
109for i in range(9,256):
110    earth_params[str(i)] = {'shape':'unknown','radius':None}