|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib2.Grib2Tables
public class Grib2Tables
Class contains most of the hard coded tables for Grib2. Tables extracted from PDS and GDS sections. LOOK replace with reading actual WMO tables, now that they are in XML - jcaron 9/13/10 NCEP specific : http://www.nco.ncep.noaa.gov/pmb/docs/on388/ http://www.nco.ncep.noaa.gov/pmb/docs/on388/tableb.html
Nested Class Summary | |
---|---|
static class |
Grib2Tables.VectorComponentFlag
enum for componet_flag for both Grib2 and Grib1 |
Constructor Summary | |
---|---|
Grib2Tables()
|
Method Summary | |
---|---|
static String |
codeTable3_1(int gdtn)
Grid Definition Template |
static String |
codeTable3_2(int shape)
Shape of the Earth |
static String |
codeTable4_0(int productDefinition)
Product Definition Template Code table 4.0. |
static String |
codeTable4_10(int code)
Code Table 4.10: Type of statistical processing |
static String |
codeTable4_10short(int code)
Code Table 4.10: Type of statistical processing, short form For embedding in a variable name |
static String |
codeTable4_11(int code)
Code Table 4.11: Type of time intervals |
static String |
codeTable4_3(int typeGenProcess)
|
static long |
codeTable4_4_toSecs(int code44)
return Time Range Unit Name from code table 4.4. |
static String |
codeTable4_4(int code44)
return Time Range Unit Name from code table 4.4. |
static String |
codeTable4_5(int id)
type of vertical coordinate: Name code table 4.5. |
static String |
codeTable4_6(int type)
|
static String |
codeTable4_7short(int code)
|
static String |
codeTable4_9(int code)
Code Table 4.9: Probability Type |
static String |
getEnsembleType(int productType,
int type)
Gets a Ensemble type, Derived or Perturbed |
static int |
getProjectionType(int gridType)
Gets the ProjectionType based on the Grid definition template number. |
static String |
getTypeGenProcessName(String typeGenProcess)
typeGenProcess name. |
static String |
getTypeSurfaceNameShort(int id)
type of vertical coordinate: short Name derived from code table 4.5. |
static String |
getTypeSurfaceUnit(int id)
type of vertical coordinate: Units. |
static String |
getUdunitTimeUnitFromTable4_4(int code44)
return a udunits time unit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grib2Tables()
Method Detail |
---|
public static String codeTable3_1(int gdtn)
gdtn
- Grid definition template number same as type of grid
public static final int getProjectionType(int gridType)
gridType
- Grid definition template number
public static String codeTable3_2(int shape)
shape
- as an int
public static String codeTable4_0(int productDefinition)
productDefinition
- productDefinition
public static final String getTypeGenProcessName(String typeGenProcess)
typeGenProcess
- _more_
public static final String codeTable4_3(int typeGenProcess)
public static String codeTable4_4(int code44)
code44
- code for table 4.4
public static long codeTable4_4_toSecs(int code44)
code44
- code for table 4.4
public static String getUdunitTimeUnitFromTable4_4(int code44)
code44
- code for table 4.4
public static String codeTable4_5(int id)
id
- surface type
public static String getTypeSurfaceNameShort(int id)
id
- surfaceType
public static String getTypeSurfaceUnit(int id)
id
- units id as int
public static String codeTable4_6(int type)
public static String getEnsembleType(int productType, int type)
productType,
- productTypetype
- of ensemble, derived or perturbed
public static String codeTable4_9(int code)
code
- number
public static String codeTable4_7short(int code)
public static String codeTable4_10(int code)
code
- number
public static String codeTable4_10short(int code)
code
- number
public static String codeTable4_11(int code)
code
- number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |