|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.GribPds
ucar.grib.grib1.Grib1Pds
@Immutable public final class Grib1Pds
A class representing the product definition section (PDS) of a GRIB-1 product. This is section 1 of a Grib record that contains information about the parameter
Field Summary |
---|
Fields inherited from class ucar.grib.GribPds |
---|
input |
Constructor Summary | |
---|---|
Grib1Pds(byte[] input)
Constructs Grib1PDSVariables from a byte[]. |
|
Grib1Pds(byte[] input,
Calendar cal)
Constructs Grib1PDSVariables from a byte[]. |
Method Summary | |
---|---|
boolean |
bmsExists()
Check if BMS exists. |
boolean |
gdsExists()
Check if GDS exists |
int |
getCenter()
Center see table 0 |
int |
getDecimalScale()
Get the exponent of the decimal scale used for all data values. |
float |
getEastLongitude()
Eastern Longitude |
int |
getEcmwfClass()
Class |
int |
getExtension()
|
Date |
getForecastDate()
Forecast time as a Date |
int |
getForecastTime()
Get the time of the forecast. |
int[] |
getForecastTimeInterval()
Get the time interval of the forecast. |
int[] |
getForecastTimeInterval(int wantTimeUnit)
|
int |
getGenProcessId()
Generating Process Id, see Table A, assigned by originating center |
int |
getGridId()
Grid ID see Table B |
int |
getID()
ID of ensemble |
long |
getIntervalTimeEnd()
Grib-2 encodes an "end of overall time interval" . |
int |
getLength()
|
String |
getLevelName()
|
int |
getLevelType1()
Get the numeric type for 1st level, see Table 3 and 3a |
int |
getLevelType2()
Get the numeric type for 2nd level. |
double |
getLevelValue1()
Get the numeric value for this level, see Table 3 |
double |
getLevelValue2()
Get value 2 (if it exists) for this level. |
int[] |
getMembership()
Membership |
int |
getMethod()
Method |
float |
getNorthLatitude()
Northern latitude |
int |
getNumberClusters()
number Clusters |
int |
getNumberEnsembleForecasts()
|
int |
getNumberForecasts()
number members / forecasts |
int |
getNumberIncludedInAverage()
Number Included In Average, octet 22 & 23 |
int |
getNumberMissingInAverage()
Number Missing In Average, octet 24 |
int |
getP1()
Period of time, octet 19 in units of getTimeRangeUnit() |
int |
getP2()
P2 - octet 20 - Period of time or time interval in units of getTimeRangeUnit() |
int |
getParameterNumber()
Get the number of the parameter, see Table 2 |
int |
getParameterTableVersion()
gets the Table version as a int. |
int |
getPercentileValue()
|
int |
getPerturbationNumber()
|
int |
getPerturbationType()
|
double |
getProbabilityLowerLimit()
|
int |
getProbabilityProduct()
Product of ensemble |
int |
getProbabilityType()
Product type of probability |
double |
getProbabilityUpperLimit()
|
int |
getProductID()
Product of ensemble |
long |
getReferenceTime()
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 |
getStatisticalProcessType()
Get Grib-2 Statistic Type (Table 4-10) by converting Grib-1 Table 5 |
int |
getStream()
Stream. |
int |
getSubCenter()
SubCenter, allocated by center (Table C) |
int |
getTimeRangeIndicator()
Time Range indicator - octet 21 (see Table 5) |
int |
getTimeUnit()
octet 18 Forecast time unit, see Table 4 |
int |
getType()
|
float |
getValueLowerLimit()
lower limit of probability |
float |
getValueUpperLimit()
upper limit of probability |
float |
getWestLongitude()
Western Longitude |
boolean |
isEnsemble()
NCEP Appendix C Manual 388 http://www.nco.ncep.noaa.gov/pmb/docs/on388/appendixc.html states that if the PDS is > 28 bytes and octet 41 == 1 then it's an ensemble an product. |
boolean |
isEnsembleDerived()
|
boolean |
isInterval()
Is this a time interval. |
boolean |
isPercentile()
|
boolean |
isProbability()
|
Methods inherited from class ucar.grib.GribPds |
---|
factory, getOctet, getPDSBytes, getReferenceDate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grib1Pds(byte[] input) throws IOException
input
- PDS
IOException
- byte[] readpublic Grib1Pds(byte[] input, Calendar cal) throws IOException
input
- PDScal
- use this calendar to set the date
IOException
- byte[] readMethod Detail |
---|
public final int getSection()
public final int getLength()
public final int getParameterTableVersion()
public final int getCenter()
public final int getGenProcessId()
getGenProcessId
in class GribPds
public final int getGridId()
public final boolean gdsExists()
public final boolean bmsExists()
public final int getParameterNumber()
getParameterNumber
in class GribPds
public final int getLevelType1()
getLevelType1
in class GribPds
public final String getLevelName()
public final double getLevelValue1()
getLevelValue1
in class GribPds
public final int getLevelType2()
getLevelType2
in class GribPds
public final double getLevelValue2()
getLevelValue2
in class GribPds
public final long getReferenceTime()
getReferenceTime
in class GribPds
public final int getTimeUnit()
getTimeUnit
in class GribPds
public final int getP1()
public final int getP2()
public final int getTimeRangeIndicator()
public final Date getForecastDate()
GribPds
getForecastDate
in class GribPds
public final int getForecastTime()
getForecastTime
in class GribPds
public final boolean isInterval()
GribPds
isInterval
in class GribPds
public long getIntervalTimeEnd()
GribPds
getIntervalTimeEnd
in class GribPds
public int[] getForecastTimeInterval()
getForecastTimeInterval
in class GribPds
public int[] getForecastTimeInterval(int wantTimeUnit)
getForecastTimeInterval
in class GribPds
public int getStatisticalProcessType()
getStatisticalProcessType
in class GribPds
public final int getNumberIncludedInAverage()
public final int getNumberMissingInAverage()
public final int getSubCenter()
public final int getDecimalScale()
public final int getExtension()
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()
getProbabilityType
in class GribPds
public boolean isPercentile()
isPercentile
in class GribPds
public int getPercentileValue()
getPercentileValue
in class GribPds
public final boolean isEnsemble()
isEnsemble
in class GribPds
public final int getPerturbationType()
getPerturbationType
in class GribPds
public final int getPerturbationNumber()
getPerturbationNumber
in class GribPds
public int getNumberEnsembleForecasts()
getNumberEnsembleForecasts
in class GribPds
public boolean isEnsembleDerived()
isEnsembleDerived
in class GribPds
public boolean isProbability()
isProbability
in class GribPds
public double getProbabilityLowerLimit()
getProbabilityLowerLimit
in class GribPds
public double getProbabilityUpperLimit()
getProbabilityUpperLimit
in class GribPds
public final int getType()
public final float getValueLowerLimit()
public final float getValueUpperLimit()
public final int getNumberForecasts()
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |