public class GridDirectory extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
GridDirectory(int[] dirblock)
Construct a GridDirectory from the grid directory block.
|
Modifier and Type | Method and Description |
---|---|
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
|
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
public GridDirectory(int[] dirblock) throws McIDASException
dirblock
- directory block from the McIDAS gridMcIDASException
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)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.