|
||||||||||
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[] |
getForecastTimeInterval()
Get the time interval 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 |
getIntervalStatType()
|
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[] readMethod Detail |
---|
public byte[] getPDSBytes()
getPDSBytes
in interface GribPDSVariablesIF
public final int getLength()
getLength
in interface GribPDSVariablesIF
public final int getSection()
getSection
in interface GribPDSVariablesIF
public final int getTableVersion()
public final int getCenter()
public final int getTypeGenProcess()
getTypeGenProcess
in interface GribPDSVariablesIF
public final int getGrid_Id()
public final boolean gdsExists()
public final boolean bmsExists()
public final int getParameterCategory()
getParameterCategory
in interface GribPDSVariablesIF
public final int getParameterNumber()
getParameterNumber
in interface GribPDSVariablesIF
public final int getTypeFirstFixedSurface()
getTypeFirstFixedSurface
in interface GribPDSVariablesIF
public final float getValueFirstFixedSurface()
getValueFirstFixedSurface
in interface GribPDSVariablesIF
public final int getTypeSecondFixedSurface()
getTypeSecondFixedSurface
in interface GribPDSVariablesIF
public final float getValueSecondFixedSurface()
getValueSecondFixedSurface
in interface GribPDSVariablesIF
public final java.util.Date getBaseTime()
public final long getRefTime()
public final int getTimeRangeUnit()
GribPDSVariablesIF
getTimeRangeUnit
in interface GribPDSVariablesIF
public final int getP1()
public final int getP2()
public final int getTimeRange()
public final int getProductDefinition()
getProductDefinition
in interface GribPDSVariablesIF
public final int getForecastTime()
getForecastTime
in interface GribPDSVariablesIF
public int[] getForecastTimeInterval()
public final java.lang.String getTimeRangeString()
public int getIntervalStatType()
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 GribPDSVariablesIF
public 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 GribPDSVariablesIF
public final float getValueUpperLimit()
getValueUpperLimit
in interface GribPDSVariablesIF
public final int getNumberForecasts()
getNumberForecasts
in interface GribPDSVariablesIF
public 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 GribPDSVariablesIF
public final int getChemicalType()
getChemicalType
in interface GribPDSVariablesIF
public final int getBackGenProcess()
getBackGenProcess
in interface GribPDSVariablesIF
public final int getObservationProcess()
getObservationProcess
in interface GribPDSVariablesIF
public final int getNB()
getNB
in interface GribPDSVariablesIF
public final int getAnalysisGenProcess()
getAnalysisGenProcess
in interface GribPDSVariablesIF
public final int getHoursAfter()
getHoursAfter
in interface GribPDSVariablesIF
public final int getMinutesAfter()
getMinutesAfter
in interface GribPDSVariablesIF
public final int getForecastProbability()
getForecastProbability
in interface GribPDSVariablesIF
public final int getForecastPercentile()
getForecastPercentile
in interface GribPDSVariablesIF
public final int getPerturbation()
getPerturbation
in interface GribPDSVariablesIF
public final int getInt(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |