|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib2.Grib2DataRepresentationSection
public final class Grib2DataRepresentationSection
A class that represents the DataRepresentationSection of a GRIB product. These are the variables needed by the Data Section class
Constructor Summary | |
---|---|
Grib2DataRepresentationSection(RandomAccessFile raf)
Constructs a Grib2DataRepresentationSection object from a raf. |
Method Summary | |
---|---|
int |
getBinaryScaleFactor()
Binary scale factor (E). |
int |
getBitsGroupWidths()
Number of bits used for the group widths (after the reference value in octet 36 has been removed). |
int |
getBitsScaledGroupLength()
Number of bits used for the scaled group lengths (after subtraction of the reference value given in octets 38-41 and division by the length increment given in octet 42). |
int |
getCompressionMethod()
Type compression method used (see Code Table 5.40000). |
int |
getCompressionRatio()
Compression ratio used . |
int |
getDataPoints()
Get the number of dataPoints in DS section. |
int |
getDataTemplateNumber()
Get the Data Template Number for the GRID. |
int |
getDecimalScaleFactor()
Decimal scale factor (D). |
int |
getDescriptorSpatial()
Number of octets required in the Data Section to specify extra descriptors needed for spatial differencing (octets 6-ww in Data Template 7.3). |
int |
getLength()
Get the byte length of the Section DRS section. |
int |
getLengthIncrement()
Length increment for the group lengths (see Note 14). |
int |
getLengthLastGroup()
Length increment for the group lengths (see Note 14). |
int |
getMissingValueManagement()
Missing value management used (see Code Table 5.5). |
int |
getNumberOfBits()
Number of bits used for each packed value.. |
int |
getNumberOfGroups()
NG - Number of groups of data values into which field is split. |
int |
getOrderSpatial()
Order of spatial differencing (see Code Table 5.6). |
int |
getOriginalType()
Type of original field values. |
float |
getPrimaryMissingValue()
Primary missing value substitute. |
int |
getReferenceGroupLength()
Reference for group lengths (see Note 13). |
int |
getReferenceGroupWidths()
Reference for group widths (see Note 12). |
float |
getReferenceValue()
Reference value (R) (IEEE 32-bit floating-point value). |
float |
getSecondaryMissingValue()
Secondary missing value substitute. |
int |
getSplittingMethod()
Group splitting method used (see Code Table 5.4). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grib2DataRepresentationSection(RandomAccessFile raf) throws IOException
raf
- RandomAccessFile with Section DRS content
IOException
- if stream contains no valid GRIB fileMethod Detail |
---|
public final int getLength()
public final int getDataPoints()
public final int getDataTemplateNumber()
public final float getReferenceValue()
public final int getBinaryScaleFactor()
public final int getDecimalScaleFactor()
public final int getNumberOfBits()
public final int getOriginalType()
public final int getSplittingMethod()
public final int getCompressionMethod()
public final int getCompressionRatio()
public final int getMissingValueManagement()
public final float getPrimaryMissingValue()
public final float getSecondaryMissingValue()
public final int getNumberOfGroups()
public final int getReferenceGroupWidths()
public final int getBitsGroupWidths()
public final int getReferenceGroupLength()
public final int getLengthIncrement()
public final int getLengthLastGroup()
public final int getBitsScaledGroupLength()
public final int getOrderSpatial()
public final int getDescriptorSpatial()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |