@Immutable public final class Grib1Pds extends GribPds
| Constructor and Description |
|---|
Grib1Pds(byte[] input)
Constructs Grib1PDSVariables from a byte[].
|
Grib1Pds(byte[] input,
Calendar cal)
Constructs Grib1PDSVariables from a byte[].
|
| Modifier and Type | Method and Description |
|---|---|
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() |
factory, getOctet, getPDSBytes, getReferenceDatepublic Grib1Pds(byte[] input)
throws IOException
input - PDSIOException - byte[] readpublic Grib1Pds(byte[] input,
Calendar cal)
throws IOException
input - PDScal - use this calendar to set the dateIOException - byte[] readpublic final int getSection()
public final int getLength()
public final int getParameterTableVersion()
public final int getCenter()
public final int getGenProcessId()
getGenProcessId in class GribPdspublic final int getGridId()
public final boolean gdsExists()
public final boolean bmsExists()
public final int getParameterNumber()
getParameterNumber in class GribPdspublic final int getLevelType1()
getLevelType1 in class GribPdspublic final String getLevelName()
public final double getLevelValue1()
getLevelValue1 in class GribPdspublic final int getLevelType2()
getLevelType2 in class GribPdspublic final double getLevelValue2()
getLevelValue2 in class GribPdspublic final long getReferenceTime()
getReferenceTime in class GribPdspublic final int getTimeUnit()
getTimeUnit in class GribPdspublic final int getP1()
public final int getP2()
public final int getTimeRangeIndicator()
public final Date getForecastDate()
GribPdsgetForecastDate in class GribPdspublic final int getForecastTime()
getForecastTime in class GribPdspublic final boolean isInterval()
GribPdsisInterval in class GribPdspublic long getIntervalTimeEnd()
GribPdsgetIntervalTimeEnd in class GribPdspublic int[] getForecastTimeInterval()
getForecastTimeInterval in class GribPdspublic int[] getForecastTimeInterval(int wantTimeUnit)
getForecastTimeInterval in class GribPdspublic int getStatisticalProcessType()
getStatisticalProcessType in class GribPdspublic 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 GribPdspublic boolean isPercentile()
isPercentile in class GribPdspublic int getPercentileValue()
getPercentileValue in class GribPdspublic final boolean isEnsemble()
isEnsemble in class GribPdspublic final int getPerturbationType()
getPerturbationType in class GribPdspublic final int getPerturbationNumber()
getPerturbationNumber in class GribPdspublic int getNumberEnsembleForecasts()
getNumberEnsembleForecasts in class GribPdspublic boolean isEnsembleDerived()
isEnsembleDerived in class GribPdspublic boolean isProbability()
isProbability in class GribPdspublic double getProbabilityLowerLimit()
getProbabilityLowerLimit in class GribPdspublic double getProbabilityUpperLimit()
getProbabilityUpperLimit in class GribPdspublic 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()
Copyright © 1999-2013 UCAR/Unidata. All Rights Reserved.