ucar.nc2.iosp.hdf4
Class HdfEos

java.lang.Object
  extended by ucar.nc2.iosp.hdf4.HdfEos

public class HdfEos
extends java.lang.Object

Parse structural metadata from HDF-EOS. This allows us to use shared dimensions, identify Coordinate Axes, and the FeatureType.

Since:
Jul 23, 2007
Author:
caron

Constructor Summary
HdfEos()
           
 
Method Summary
static void amendFromODL(NetcdfFile ncfile, Group eosGroup)
          Amend the given NetcdfFile with metadata from HDF-EOS structMetadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HdfEos

public HdfEos()
Method Detail

amendFromODL

public static void amendFromODL(NetcdfFile ncfile,
                                Group eosGroup)
                         throws java.io.IOException
Amend the given NetcdfFile with metadata from HDF-EOS structMetadata. All Variables named StructMetadata.n, where n= 1, 2, 3 ... are read in and their contents concatenated to make the structMetadata String.

Parameters:
ncfile - Amend this file
eosGroup - the group containing variables named StructMetadata.*
Throws:
java.io.IOException - on read error