Package ucar.nc2.internal.iosp.hdf4
Class H4header
- java.lang.Object
-
- ucar.nc2.internal.iosp.hdf4.H4header
-
- All Implemented Interfaces:
HdfHeaderIF
public class H4header extends Object implements HdfHeaderIF
Read the tags of an HDF4 file, construct CDM objects. All page references are to "HDF Specification and Developers Guide" version 4.1r5, nov 2001.- Since:
- Jul 18, 2007
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
H4header.Tag
-
Constructor Summary
Constructors Constructor Description H4header()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getEosInfo(Formatter f)
Group.Builder
getRootGroup()
List<H4header.Tag>
getTags()
protected Charset
getValueCharset()
Return definedvalue charset
that will be used by reading HDF4 header.boolean
isEos()
void
makeVinfoForDimensionMapVariable(Group.Builder parent, Variable.Builder<?> v)
String
readStructMetadata(Variable.Builder<?> structMetadataVar)
static void
setDebugFlags(DebugFlags debugFlag)
static void
useHdfEos(boolean val)
-
-
-
Method Detail
-
setDebugFlags
public static void setDebugFlags(DebugFlags debugFlag)
-
useHdfEos
public static void useHdfEos(boolean val)
-
getValueCharset
protected Charset getValueCharset()
Return definedvalue charset
that will be used by reading HDF4 header.- Returns:
value charset
-
isEos
public boolean isEos()
-
getEosInfo
public void getEosInfo(Formatter f) throws IOException
- Throws:
IOException
-
getRootGroup
public Group.Builder getRootGroup()
- Specified by:
getRootGroup
in interfaceHdfHeaderIF
-
makeVinfoForDimensionMapVariable
public void makeVinfoForDimensionMapVariable(Group.Builder parent, Variable.Builder<?> v)
- Specified by:
makeVinfoForDimensionMapVariable
in interfaceHdfHeaderIF
-
readStructMetadata
public String readStructMetadata(Variable.Builder<?> structMetadataVar) throws IOException
- Specified by:
readStructMetadata
in interfaceHdfHeaderIF
- Throws:
IOException
-
getTags
public List<H4header.Tag> getTags()
-
-