Package ucar.nc2.grib.grib2
Class Grib2SectionDataRepresentation
- java.lang.Object
-
- ucar.nc2.grib.grib2.Grib2SectionDataRepresentation
-
@Immutable public class Grib2SectionDataRepresentation extends Object
The Data Representation section (5) for GRIB-2 files- Since:
- 3/29/11
-
-
Constructor Summary
Constructors Constructor Description Grib2SectionDataRepresentation(long startingPosition, int dataPoints, int dataTemplate)
Grib2SectionDataRepresentation(RandomAccessFile raf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDataPoints()
int
getDataTemplate()
Grib2Drs
getDrs(RandomAccessFile raf)
long
getLength(RandomAccessFile raf)
long
getStartingPosition()
String
toString()
-
-
-
Constructor Detail
-
Grib2SectionDataRepresentation
public Grib2SectionDataRepresentation(RandomAccessFile raf) throws IOException
- Throws:
IOException
-
Grib2SectionDataRepresentation
public Grib2SectionDataRepresentation(long startingPosition, int dataPoints, int dataTemplate)
-
-
Method Detail
-
getDataPoints
public int getDataPoints()
-
getDataTemplate
public int getDataTemplate()
-
getStartingPosition
public long getStartingPosition()
-
getLength
public long getLength(RandomAccessFile raf) throws IOException
- Throws:
IOException
-
getDrs
public Grib2Drs getDrs(RandomAccessFile raf) throws IOException
- Throws:
IOException
-
-