|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grib.grib1.Grib1PDSVariables
public final class Grib1PDSVariables
A class representing the product definition section (PDS) of a GRIB product. This is section 1 of a Grib record that contains information about the parameter
| Constructor Summary | |
|---|---|
Grib1PDSVariables(byte[] input)
Constructs Grib1PDSVariables from a byte[]. |
|
| Method Summary | |
|---|---|
boolean |
bmsExists()
Check if BMS exists. |
boolean |
gdsExists()
Check if GDS exists. |
int |
getAnalysisGenProcess()
analysisGenProcess. |
int |
getAvgInclude()
AvgInclude as int. |
int |
getAvgMissing()
getAvgMissing as int. |
int |
getBackGenProcess()
backGenProcess. |
java.util.Date |
getBaseTime()
Get the base (analysis) time of the forecast. |
int |
getCenter()
Center as int. |
int |
getChemicalType()
ChemicalType. |
int |
getCoordinates()
Number of this coordinates. |
int |
getDecimalScale()
Get the exponent of the decimal scale used for all data values. |
float |
getEastLongitude()
Eastern Longitude |
int |
getEcmwfClass()
Class |
int |
getEnsembleNumber()
Class |
int |
getExtension()
|
int |
getForecastPercentile()
ForecastPercentile. |
int |
getForecastProbability()
ForecastProbability. |
int |
getForecastTime()
Get the time of the forecast. |
int |
getGrid_Id()
Grid ID as int. |
int |
getHoursAfter()
hoursAfter. |
int |
getID()
ID of ensemble |
int |
getInt(int index)
Converts byte to int. |
int |
getLength()
|
int[] |
getMembership()
Membership |
int |
getMethod()
Method |
int |
getMinutesAfter()
minutesAfter. |
int |
getNB()
Number Bands. |
float |
getNorthLatitude()
Northern latitude |
int |
getNumberClusters()
number Clusters |
int |
getNumberForecasts()
number members / forecasts |
int |
getObservationProcess()
ObservationProcess. |
int |
getOctet50()
Octet 50 |
int |
getOctet51()
Octet 51 |
int |
getOctet52()
Octet 52 |
int |
getP1()
P1. |
int |
getP2()
P2. |
int |
getParameterCategory()
parameter Category . |
int |
getParameterNumber()
Get the number of the parameter. |
byte[] |
getPDSBytes()
PDS as byte[] |
int |
getPerturbation()
Perturbation number |
int |
getProbabilityProduct()
Product of ensemble |
int |
getProbabilityType()
Product type of probability |
int |
getProductDefinition()
ProductDefinition Since Grib1 doesn't have a Product Definition, use the ime range. |
int |
getProductID()
Product of ensemble |
long |
getRefTime()
gets reference time as a long millis. |
int |
getSection()
Number PDS section . |
int |
getSizeClusters()
size Clusters |
float |
getSouthLatitude()
Southern latitude |
int |
getSpatialorProbability()
Spatial Identifier or Probability of ensemble |
int |
getStream()
Stream. |
int |
getSubCenter()
SubCenter as int. |
int |
getTableVersion()
gets the Table version as a int. |
int |
getTimeRange()
TimeRange as int. |
java.lang.String |
getTimeRangeString()
// TODO: move to Grib1GridTableLookup TimeRange as String. |
int |
getTimeRangeUnit()
returns timeRangeUnit . |
int |
getType()
type of ensemble |
int |
getTypeFirstFixedSurface()
Get the numeric type for 1st level. |
int |
getTypeGenProcess()
Process Id as int. |
int |
getTypeSecondFixedSurface()
Get the numeric type for 2nd level. |
float |
getValueFirstFixedSurface()
Get the numeric value for this level. |
float |
getValueLowerLimit()
lower limit of probability |
float |
getValueSecondFixedSurface()
Get value 2 (if it exists) for this level. |
float |
getValueUpperLimit()
upper limit of probability |
float |
getWestLongitude()
Western Longitude |
boolean |
isEnsemble()
NCEP Appendix C Manual 388 states that if the PDS is > 28 bytes and octet 41 == 1 then it's ensemble an product. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grib1PDSVariables(byte[] input)
throws java.io.IOException
input - PDS
java.io.IOException - byte[] read| Method Detail |
|---|
public byte[] getPDSBytes()
getPDSBytes in interface GribPDSVariablesIFpublic final int getLength()
getLength in interface GribPDSVariablesIFpublic final int getSection()
getSection in interface GribPDSVariablesIFpublic final int getTableVersion()
public final int getCenter()
public final int getTypeGenProcess()
getTypeGenProcess in interface GribPDSVariablesIFpublic final int getGrid_Id()
public final boolean gdsExists()
public final boolean bmsExists()
public final int getParameterCategory()
getParameterCategory in interface GribPDSVariablesIFpublic final int getParameterNumber()
getParameterNumber in interface GribPDSVariablesIFpublic final int getTypeFirstFixedSurface()
getTypeFirstFixedSurface in interface GribPDSVariablesIFpublic final float getValueFirstFixedSurface()
getValueFirstFixedSurface in interface GribPDSVariablesIFpublic final int getTypeSecondFixedSurface()
getTypeSecondFixedSurface in interface GribPDSVariablesIFpublic final float getValueSecondFixedSurface()
getValueSecondFixedSurface in interface GribPDSVariablesIFpublic final java.util.Date getBaseTime()
public final long getRefTime()
public final int getTimeRangeUnit()
GribPDSVariablesIF
getTimeRangeUnit in interface GribPDSVariablesIFpublic final int getP1()
public final int getP2()
public final int getTimeRange()
public final int getProductDefinition()
getProductDefinition in interface GribPDSVariablesIFpublic final int getForecastTime()
getForecastTime in interface GribPDSVariablesIFpublic final java.lang.String getTimeRangeString()
public final int getAvgInclude()
public final int getAvgMissing()
public final int getSubCenter()
public final int getDecimalScale()
public final boolean isEnsemble()
public final int getExtension()
public final int getType()
getType in interface GribPDSVariablesIFpublic final int getEcmwfClass()
public final int getID()
public final int getStream()
public final int getProductID()
public final int getSpatialorProbability()
public final int getProbabilityProduct()
public final int getProbabilityType()
public final int getOctet50()
public final int getEnsembleNumber()
public final int getOctet51()
public final int getOctet52()
public final float getValueLowerLimit()
getValueLowerLimit in interface GribPDSVariablesIFpublic final float getValueUpperLimit()
getValueUpperLimit in interface GribPDSVariablesIFpublic final int getNumberForecasts()
getNumberForecasts in interface GribPDSVariablesIFpublic final int getSizeClusters()
public final int getNumberClusters()
public final int getMethod()
public final float getNorthLatitude()
public final float getSouthLatitude()
public final float getEastLongitude()
public final float getWestLongitude()
public final int[] getMembership()
public final int getCoordinates()
getCoordinates in interface GribPDSVariablesIFpublic final int getChemicalType()
getChemicalType in interface GribPDSVariablesIFpublic final int getBackGenProcess()
getBackGenProcess in interface GribPDSVariablesIFpublic final int getObservationProcess()
getObservationProcess in interface GribPDSVariablesIFpublic final int getNB()
getNB in interface GribPDSVariablesIFpublic final int getAnalysisGenProcess()
getAnalysisGenProcess in interface GribPDSVariablesIFpublic final int getHoursAfter()
getHoursAfter in interface GribPDSVariablesIFpublic final int getMinutesAfter()
getMinutesAfter in interface GribPDSVariablesIFpublic final int getForecastProbability()
getForecastProbability in interface GribPDSVariablesIFpublic final int getForecastPercentile()
getForecastPercentile in interface GribPDSVariablesIFpublic final int getPerturbation()
getPerturbation in interface GribPDSVariablesIFpublic final int getInt(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||