Package ucar.nc2.internal.iosp.hdf4
Class HdfEos
- java.lang.Object
-
- ucar.nc2.internal.iosp.hdf4.HdfEos
-
public class HdfEos extends Object
Parse structural metadata from HDF-EOS. This allows us to use shared dimensions, identify Coordinate Axes, and the FeatureType.from HDF-EOS.status.ppt:
HDF-EOS is format for EOS Standard Products
- Landsat 7 (ETM+)
- Terra (CERES, MISR, MODIS, ASTER, MOPITT)
- Meteor-3M (SAGE III)
- Aqua (AIRS, AMSU-A, AMSR-E, CERES, MODIS)
- Aura(MLS, TES, HIRDLS, OMI
- OrbView 2 (SeaWIFS)
- TRMM (CERES, VIRS, TMI, PR)
- Quickscat (SeaWinds)
- EO-1 (Hyperion, ALI)
- ICESat (GLAS)
- Calypso
- Since:
- Jul 23, 2007
-
-
Field Summary
Fields Modifier and Type Field Description static String
HDF5_GROUP
static String
HDFEOS_CRS
static String
HDFEOS_CRS_LowerRight
static String
HDFEOS_CRS_Projection
static String
HDFEOS_CRS_ProjParams
static String
HDFEOS_CRS_SphereCode
static String
HDFEOS_CRS_UpperLeft
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
amendFromODL(String location, HdfHeaderIF header, Group.Builder eosGroup)
Amend the given NetcdfFile with metadata from HDF-EOS structMetadata.static boolean
getEosInfo(String location, HdfHeaderIF header, Group.Builder eosGroup, Formatter f)
-
-
-
Field Detail
-
HDF5_GROUP
public static final String HDF5_GROUP
- See Also:
- Constant Field Values
-
HDFEOS_CRS
public static final String HDFEOS_CRS
- See Also:
- Constant Field Values
-
HDFEOS_CRS_Projection
public static final String HDFEOS_CRS_Projection
- See Also:
- Constant Field Values
-
HDFEOS_CRS_UpperLeft
public static final String HDFEOS_CRS_UpperLeft
- See Also:
- Constant Field Values
-
HDFEOS_CRS_LowerRight
public static final String HDFEOS_CRS_LowerRight
- See Also:
- Constant Field Values
-
HDFEOS_CRS_ProjParams
public static final String HDFEOS_CRS_ProjParams
- See Also:
- Constant Field Values
-
HDFEOS_CRS_SphereCode
public static final String HDFEOS_CRS_SphereCode
- See Also:
- Constant Field Values
-
-
Method Detail
-
amendFromODL
public static boolean amendFromODL(String location, HdfHeaderIF header, Group.Builder eosGroup) throws 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:
eosGroup
- the group containing variables named StructMetadata.*- Returns:
- true if HDF-EOS info was found
- Throws:
IOException
- on read error
-
getEosInfo
public static boolean getEosInfo(String location, HdfHeaderIF header, Group.Builder eosGroup, Formatter f) throws IOException
- Throws:
IOException
-
-