net.sourceforge.jgrib.tables
Class Grib1TimeRangeIndicator
Object
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:
- For analysis products, or the first of a series of analysis products, the reference time (octets 13 to 17) indicates the valid time.
- 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.
- Initialized analysis products are allocated numbers distinct from those allocated to uninitialized analysis products.
- A value of 10 allows the period of a forecast to be extended over two octets; this accommodates extended range forecasts.
- 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.
- 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:
- For analysis products P1 is zero and the time range indicator is also zero; for initialized products (sometimes called "zero hour forecasts") P1 is zero, but octet 21 is set to 1.
- For forecasts, typically, P1 contains the number of hours of the forecast (the unit indicator given in octet 18 would be 1) and octet 21 contains a zero.
.......
Copyright (c)Simone Giannecchini <2005
- Author:
- Simone Giannecchini
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 |
Grib1TimeRangeIndicator
public Grib1TimeRangeIndicator()
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.