ucar.nc2.iosp.grib.tables
Class GribCodeTable

java.lang.Object
  extended by ucar.nc2.iosp.grib.tables.GribCodeTable
All Implemented Interfaces:
Comparable<GribCodeTable>

public class GribCodeTable
extends Object
implements Comparable<GribCodeTable>

Read and process WMO grib code tables.

Since:
Jul 31, 2010
Author:
caron

Nested Class Summary
 class GribCodeTable.TableEntry
           
 
Field Summary
 int category
           
 int discipline
           
 List<GribCodeTable.TableEntry> entries
           
 boolean isParameter
           
 int m1
           
 int m2
           
 String name
           
 
Method Summary
 int compareTo(GribCodeTable o)
           
static GribCodeTable.TableEntry getEntry(int discipline, int category, int number)
           
static List<GribCodeTable> getWmoStandard()
           
static void main(String[] arg)
           
static Map<String,GribCodeTable> readGribCodes()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

m1

public int m1

m2

public int m2

isParameter

public boolean isParameter

discipline

public int discipline

category

public int category

entries

public List<GribCodeTable.TableEntry> entries
Method Detail

getEntry

public static GribCodeTable.TableEntry getEntry(int discipline,
                                                int category,
                                                int number)

compareTo

public int compareTo(GribCodeTable o)
Specified by:
compareTo in interface Comparable<GribCodeTable>

toString

public String toString()
Overrides:
toString in class Object

readGribCodes

public static Map<String,GribCodeTable> readGribCodes()
                                               throws IOException
Throws:
IOException

getWmoStandard

public static List<GribCodeTable> getWmoStandard()
                                          throws IOException
Throws:
IOException

main

public static void main(String[] arg)
                 throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.