ucar.nc2.iosp.grib.tables
Class GribTemplate

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

public class GribTemplate
extends Object
implements Comparable<GribTemplate>

Read and process WMO GRIB templates.

Since:
Jul 31, 2010
Author:
caron

Nested Class Summary
 class GribTemplate.Field
           
 
Field Summary
 String desc
           
 List<GribTemplate.Field> flds
           
 int m1
           
 int m2
           
 String name
           
 
Method Summary
 int compareTo(GribTemplate o)
           
static Map<String,GribTemplate> getParameterTemplates()
           
static List<GribTemplate> getWmoStandard()
           
static void main(String[] arg)
           
static List<GribTemplate> readXml(InputStream ios)
           
 void showInfo(byte[] pds, Formatter f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name

desc

public String desc

m1

public int m1

m2

public int m2

flds

public List<GribTemplate.Field> flds
Method Detail

compareTo

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

showInfo

public void showInfo(byte[] pds,
                     Formatter f)

readXml

public static List<GribTemplate> readXml(InputStream ios)
                                  throws IOException
Throws:
IOException

getParameterTemplates

public static Map<String,GribTemplate> getParameterTemplates()
                                                      throws IOException
Throws:
IOException

getWmoStandard

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

main

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


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