public abstract class GribPds extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
input |
| Constructor and Description |
|---|
GribPds() |
| Modifier and Type | Method and Description |
|---|---|
static GribPds |
factory(int edition,
byte[] raw,
long baseTime,
Calendar cal) |
abstract Date |
getForecastDate()
Forecast time as a Date
|
abstract int |
getForecastTime()
Forecast time in units defined by getTimeUnit()) from getReferenceTime()
|
abstract int[] |
getForecastTimeInterval()
Get the time interval of the forecast.
|
abstract int[] |
getForecastTimeInterval(int wantUnit) |
abstract int |
getGenProcessId() |
abstract long |
getIntervalTimeEnd()
Grib-2 encodes an "end of overall time interval" .
|
abstract int |
getLevelType1()
Get the type for the first level
|
abstract int |
getLevelType2()
Get the type for the second level
|
abstract double |
getLevelValue1()
Get the first level value
|
abstract double |
getLevelValue2()
Get the second level
|
abstract int |
getNumberEnsembleForecasts() |
int |
getOctet(int index)
Get the index-th byte in the PDS as an unsigned integer.
|
abstract int |
getParameterNumber()
Parameter number
|
byte[] |
getPDSBytes()
PDS as byte[]
|
abstract int |
getPercentileValue() |
abstract int |
getPerturbationNumber() |
abstract int |
getPerturbationType() |
abstract double |
getProbabilityLowerLimit() |
abstract int |
getProbabilityType() |
abstract double |
getProbabilityUpperLimit() |
Date |
getReferenceDate()
Reference time as a Date
|
abstract long |
getReferenceTime()
Reference time as a long millis.
|
abstract int |
getStatisticalProcessType()
Get Grib-2 Interval Statistic Type code, only valid if isInterval()
|
abstract int |
getTimeUnit()
Time Unit code
|
abstract boolean |
isEnsemble() |
abstract boolean |
isEnsembleDerived() |
abstract boolean |
isInterval()
Is this a time interval.
|
abstract boolean |
isPercentile() |
abstract boolean |
isProbability() |
public static GribPds factory(int edition, byte[] raw, long baseTime, Calendar cal) throws IOException
IOExceptionpublic byte[] getPDSBytes()
public final int getOctet(int index)
index - 1 based indexpublic abstract int getParameterNumber()
public abstract double getLevelValue1()
public abstract double getLevelValue2()
public abstract int getLevelType1()
public abstract int getLevelType2()
public abstract int getTimeUnit()
public abstract int getForecastTime()
public abstract Date getForecastDate()
public abstract long getReferenceTime()
public final Date getReferenceDate()
public abstract boolean isInterval()
public abstract int getStatisticalProcessType()
public abstract long getIntervalTimeEnd()
public abstract int[] getForecastTimeInterval()
public abstract int[] getForecastTimeInterval(int wantUnit)
public abstract int getGenProcessId()
public abstract boolean isEnsemble()
public abstract int getPerturbationNumber()
public abstract int getPerturbationType()
public abstract boolean isEnsembleDerived()
public abstract int getNumberEnsembleForecasts()
public abstract boolean isProbability()
public abstract double getProbabilityLowerLimit()
public abstract double getProbabilityUpperLimit()
public abstract int getProbabilityType()
public abstract boolean isPercentile()
public abstract int getPercentileValue()
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.