net.sourceforge.jgrib.tables
Class Grib1TimeRangeIndicator

Object
  extended by Grib1TimeRangeIndicator

public final class Grib1TimeRangeIndicator
extends Object

Title:Grib1TimeRangeIndicator

Description: This class is an helper class that implements table 5 of grib edition 1.

It is worth to point out the following excerpt taken from the above mentioned web page:

NOTES:

  1. For analysis products, or the first of a series of analysis products, the reference time (octets 13 to 17) indicates the valid time.
  2. For forecast products, or the first of a series of forecast products, the reference time indicates the valid time of the analysis upon which the (first) forecast is based.
  3. Initialized analysis products are allocated numbers distinct from those allocated to uninitialized analysis products.
  4. A value of 10 allows the period of a forecast to be extended over two octets; this accommodates extended range forecasts.
  5. Where products or a series of products are averaged or accumulated, the number involved is to be represented in octets 22-23 of Section 1, while any number missing is to be represented in octet 24.
  6. Forecasts of the accumulation or difference of some quantity (e.g. quantitative precipitation forecasts, indicated by values of 4 or 5 in octet 21, have a product valid time given by the reference time + P2; the period of accumulation, or difference, can be calculated as P2 - P1.

A few examples may help to clarify the use of Table 5:

.......

Copyright (c)Simone Giannecchini <2005

Author:
Simone Giannecchini

Constructor Summary
Grib1TimeRangeIndicator()
           
 
Method Summary
static Map<Integer,String> getAll()
          getAll, returns a collection made of all the values we have put inside this object.
static String TimeRangeIndicator(int key)
          getOriginatingCenter, looks if there exists an originating center with the uspplied key otherwise it returns null.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1TimeRangeIndicator

public Grib1TimeRangeIndicator()
Method Detail

TimeRangeIndicator

public static String TimeRangeIndicator(int key)
getOriginatingCenter, looks if there exists an originating center with the uspplied key otherwise it returns null.

Parameters:
key - int

getAll

public static Map<Integer,String> getAll()
getAll, returns a collection made of all the values we have put inside this object.



Copyright © 2006-2010 GeoSolutions. All Rights Reserved.