|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.wisc.ssec.mcidas.GridDirectory
public class GridDirectory
Class for modelling a McIDAS grid header.
Field Summary | |
---|---|
static int |
COLS_INDEX
number of columns |
static int |
DIRSIZE
GridDirectory block size |
static int |
FTIME_INDEX
forecast time |
static int |
GRID_DESCR_INDEX
grid description |
static int |
GRID_DESCR_LENGTH
grid description length |
static int |
LEVEL_SCALE_INDEX
level scale |
static int |
LEVEL_UNITS_INDEX
level unit |
static int |
LEVEL_VALUE_INDEX
level value |
static int |
NAV_BLOCK_INDEX
navigation index |
static int |
NAV_BLOCK_LENGTH
navigation length |
static int |
PARAM_NAME_INDEX
param name |
static int |
PARAM_SCALE_INDEX
param scale |
static int |
PARAM_TYPE_INDEX
param type |
static int |
PARAM_UNITS_INDEX
param units |
static int |
REFDATE_INDEX
ref date |
static int |
REFTIME_INDEX
ref time |
static int |
ROWS_INDEX
number of rows |
static int |
SECOND_FTIME_INDEX
second forecast time (for time diff or average) |
static int |
SECOND_LEVEL_VALUE_INDEX
second level value |
Constructor Summary | |
---|---|
GridDirectory(int[] dirblock)
Construct a GridDirectory from the grid directory block. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Check the equality of the object in question with this. |
int |
getColumns()
Get the number of columns in the grid |
int[] |
getDirBlock()
Deprecated. use getDirectoryBlock |
int[] |
getDirectoryBlock()
Get the raw directory block |
int |
getForecastHour()
Get the forecast hour for this parameter if it is a forecast |
String |
getGridDescription()
Get the grid description |
String |
getLevelUnitName()
Get the units of the vertical level. |
double |
getLevelValue()
Get the vertical level value. |
int[] |
getNavBlock()
Get the navigation parameters. |
GRIDnav |
getNavigation()
Get the navigation |
int |
getNavType()
Get the navigation type. |
String |
getParamName()
Get the name of the parameter |
double |
getParamScale()
Get the scale of the parameter values |
String |
getParamUnitName()
Get the unit name of the parameter values |
Date |
getReferenceTime()
Get the reference time for this parameter |
int |
getRows()
Get the number of rows in the grid |
double |
getSecondLevelValue()
Get the second vertical level value if one exists. |
Date |
getSecondTime()
Get the second time for this parameter if it is a time difference |
Date |
getValidTime()
Get the valid time for this parameter if it is a forecast |
String |
toString()
String representation of the GridDirectory |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DIRSIZE
public static final int ROWS_INDEX
public static final int COLS_INDEX
public static final int REFDATE_INDEX
public static final int REFTIME_INDEX
public static final int FTIME_INDEX
public static final int PARAM_NAME_INDEX
public static final int PARAM_SCALE_INDEX
public static final int PARAM_UNITS_INDEX
public static final int LEVEL_VALUE_INDEX
public static final int LEVEL_SCALE_INDEX
public static final int LEVEL_UNITS_INDEX
public static final int PARAM_TYPE_INDEX
public static final int SECOND_FTIME_INDEX
public static final int SECOND_LEVEL_VALUE_INDEX
public static final int NAV_BLOCK_INDEX
public static final int NAV_BLOCK_LENGTH
public static final int GRID_DESCR_INDEX
public static final int GRID_DESCR_LENGTH
Constructor Detail |
---|
public GridDirectory(int[] dirblock) throws McIDASException
dirblock
- directory block from the McIDAS grid
McIDASException
Method Detail |
---|
public int[] getDirBlock()
public int[] getDirectoryBlock()
public String getParamName()
public String getGridDescription()
public double getParamScale()
public String getParamUnitName()
public Date getReferenceTime()
public Date getValidTime()
public int getForecastHour()
public Date getSecondTime()
public double getLevelValue()
public String getLevelUnitName()
public double getSecondLevelValue()
public int getRows()
public int getColumns()
public int[] getNavBlock()
getNavType()
public GRIDnav getNavigation()
public int getNavType()
types are: 1 = pseudo-Mercator 2 = Polar Stereographic or Lambert Conformal 3 = Equidistant 4 = pseudo-Mercator (more general) 5 = no navigation 6 = Lambert Conformal Tangent Cone
getNavBlock()
public boolean equals(Object o)
equals
in class Object
o
- object in questionpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |