@Immutable
public abstract class Grib2Pds
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Grib2Pds.PdsAerosol |
static interface |
Grib2Pds.PdsEnsemble |
static interface |
Grib2Pds.PdsEnsembleDerived |
static interface |
Grib2Pds.PdsInterval |
static interface |
Grib2Pds.PdsPercentile |
static interface |
Grib2Pds.PdsProbability |
static class |
Grib2Pds.SatelliteBand |
static class |
Grib2Pds.TimeInterval |
Modifier and Type | Field and Description |
---|---|
protected byte[] |
input |
protected int |
template |
Modifier | Constructor and Description |
---|---|
protected |
Grib2Pds(byte[] input)
Constructs a Grib2PDSVariables object from a byte[].
|
Modifier and Type | Method and Description |
---|---|
protected CalendarDate |
calcTime(int startIndex) |
static Grib2Pds |
factory(int template,
byte[] input)
Factory for Grib2Pds
|
int |
getBackProcessId()
Get Background generating process identifier (defined by originating centre)
|
float[] |
getExtraCoordinates() |
int |
getExtraCoordinatesCount()
Number of coordinate values at end of template.
|
int |
getForecastTime()
Forecast time in units of getTimeUnit()
forecast time for points, should not be used for intervals
|
int |
getGenProcessId()
Forecast/Analysis generating process identifier (defined by originating centre).
|
int |
getGenProcessType()
Type of Generating Process (Code Table 4.3)
|
int |
getLevelScale1() |
int |
getLevelScale2() |
int |
getLevelType1() |
int |
getLevelType2() |
double |
getLevelValue1() |
double |
getLevelValue2() |
int |
getOctet(int index)
Get the indexth byte in the PDS as an integer.
|
int |
getOctetSigned(int index) |
int |
getParameterCategory()
Parameter Category
|
int |
getParameterNumber()
Parameter Number
|
int |
getRawLength() |
protected double |
getScaledValue(int start) |
int |
getStatisticalProcessType() |
int |
getTemplateNumber()
product Definition template, Table 4.0
|
abstract int |
getTimeUnit()
Indicator of unit of time range (see Code table 4.4)
|
boolean |
isAerosol() |
boolean |
isEnsemble() |
boolean |
isEnsembleDerived() |
boolean |
isProbability() |
boolean |
isSpatialInterval() |
boolean |
isTimeInterval() |
void |
show(java.util.Formatter f) |
abstract int |
templateLength() |
protected Grib2Pds(byte[] input)
input
- raw bytespublic static Grib2Pds factory(int template, byte[] input)
template
- pds template numberinput
- raw bytespublic abstract int templateLength()
public int getExtraCoordinatesCount()
public final float[] getExtraCoordinates()
public final int getTemplateNumber()
public final int getParameterCategory()
public final int getParameterNumber()
public int getGenProcessType()
public int getGenProcessId()
public int getBackProcessId()
public abstract int getTimeUnit()
public int getForecastTime()
public double getLevelValue1()
public int getLevelScale1()
public double getLevelValue2()
public int getLevelType1()
public int getLevelType2()
public int getLevelScale2()
public boolean isAerosol()
public boolean isEnsemble()
public boolean isEnsembleDerived()
public boolean isProbability()
public boolean isTimeInterval()
public boolean isSpatialInterval()
public void show(java.util.Formatter f)
public final int getOctet(int index)
index
- 1 based indexpublic final int getOctetSigned(int index)
public final int getRawLength()
protected double getScaledValue(int start)
public int getStatisticalProcessType()
protected CalendarDate calcTime(int startIndex)