visad.data.mcidas
Class McIDASGridDirectory
- java.lang.Object
-
- visad.jmet.MetGridDirectory
-
- visad.data.mcidas.McIDASGridDirectory
-
public class McIDASGridDirectory extends MetGridDirectory
McIDASGridDirectory for McIDAS 'grid' directory entries
-
-
Constructor Summary
Constructors Constructor and Description McIDASGridDirectory(byte[] h)Construct a McIDASGridDirectory from the byte representation of a the McIDAS grid directory blockMcIDASGridDirectory(GridDirectory directory)Construct a McIDASGridDirectory from a GridDirectory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CoordinateSystemgetCoordinateSystem()Get the GRIDCoordinateSystem associated with this gridGridDirectorygetGridDirectory()Get the grid directory used to create this beast.intgetGridType()Get the raw navigation block from the directory.int[]getNavBlock()Get the raw navigation block from the directory.doublegetParamScale()Get the scale of the parameter valuesjava.lang.StringtoString()Return a String representation of the McIDASGridDirectory-
Methods inherited from class visad.jmet.MetGridDirectory
getColumns, getLevelName, getLevels, getLevelUnit, getLevelValue, getParamLongName, getParamName, getParamUnit, getReferenceTime, getRows, getSecondLevelName, getSecondLevelValue, getSecondTime, getValidHour, getValidTime
-
-
-
-
Constructor Detail
-
McIDASGridDirectory
public McIDASGridDirectory(GridDirectory directory)
Construct a McIDASGridDirectory from a GridDirectory- Parameters:
directory- the grid directory cannot be null
-
McIDASGridDirectory
public McIDASGridDirectory(byte[] h)
Construct a McIDASGridDirectory from the byte representation of a the McIDAS grid directory block- Parameters:
h- header as a byte array
-
-
Method Detail
-
getParamScale
public double getParamScale()
Get the scale of the parameter values- Returns:
- parameter scale (power of 10)
-
getCoordinateSystem
public CoordinateSystem getCoordinateSystem()
Get the GRIDCoordinateSystem associated with this grid- Specified by:
getCoordinateSystemin classMetGridDirectory- Returns:
- coordinate system may be null if nav is unknown.
-
getNavBlock
public int[] getNavBlock()
Get the raw navigation block from the directory.- Returns:
- raw int values vary with grid type
-
getGridType
public int getGridType()
Get the raw navigation block from the directory.- Returns:
- raw int values vary with grid type (-1 == unknown)
-
getGridDirectory
public GridDirectory getGridDirectory()
Get the grid directory used to create this beast.- Returns:
- corresponding edu.wisc.ssec.mcidas.GridDirectory. (may be null)
-
toString
public java.lang.String toString()
Return a String representation of the McIDASGridDirectory- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG