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 classH4header.Tag
-
Constructor Summary
Constructors Constructor Description H4header()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetEosInfo(Formatter f)Group.BuildergetRootGroup()List<H4header.Tag>getTags()protected CharsetgetValueCharset()Return definedvalue charsetthat will be used by reading HDF4 header.booleanisEos()voidmakeVinfoForDimensionMapVariable(Group.Builder parent, Variable.Builder<?> v)StringreadStructMetadata(Variable.Builder<?> structMetadataVar)static voidsetDebugFlags(DebugFlags debugFlag)static voiduseHdfEos(boolean val)
-
-
-
Method Detail
-
setDebugFlags
public static void setDebugFlags(DebugFlags debugFlag)
-
useHdfEos
public static void useHdfEos(boolean val)
-
getValueCharset
protected Charset getValueCharset()
Return definedvalue charsetthat 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:
getRootGroupin interfaceHdfHeaderIF
-
makeVinfoForDimensionMapVariable
public void makeVinfoForDimensionMapVariable(Group.Builder parent, Variable.Builder<?> v)
- Specified by:
makeVinfoForDimensionMapVariablein interfaceHdfHeaderIF
-
readStructMetadata
public String readStructMetadata(Variable.Builder<?> structMetadataVar) throws IOException
- Specified by:
readStructMetadatain interfaceHdfHeaderIF- Throws:
IOException
-
getTags
public List<H4header.Tag> getTags()
-
-