Package ucar.nc2.iosp.mcidas
Class McGridDefRecord
- java.lang.Object
-
- ucar.nc2.iosp.grid.GridDefRecord
-
- ucar.nc2.iosp.mcidas.McGridDefRecord
-
public class McGridDefRecord extends GridDefRecord
Class to hold the grid navigation information.
-
-
Field Summary
-
Fields inherited from class ucar.nc2.iosp.grid.GridDefRecord
ANGLE, BASICANGLE, debug, DX, DY, GDS_KEY, GRID_NAME, GRID_SHAPE, GRID_SHAPE_CODE, GRID_TYPE, GRID_UNITS, J, K, LA1, LA2, LAD, LAP, LATIN, LATIN1, LATIN2, LO1, LO2, LOP, LOV, M, MAJOR_AXIS_EARTH, METHODNORM, MINOR_AXIS_EARTH, MODEORDER, NP, NPPROJ, NR, NUMBERPARALLELS, NX, NY, PLAT, PLON, PROJ, QUASI, RADIUS_SPHERICAL_EARTH, RESOLUTION, ROTATIONANGLE, SCANNING_MODE, SPLAT, SPLON, STRETCHINGFACTOR, UNDEFINED, VECTOR_COMPONENT_FLAG, WIND_FLAG, XO, XP, YO, YP
-
-
Constructor Summary
Constructors Constructor Description McGridDefRecord()
Create a new grid nav blockMcGridDefRecord(int[] words)
Create a new grid nav block with the values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Check for equalityString
getGroupName()
Get a short name for this GDSKey for the netCDF group.String
getProjName(int type)
Get the name for the projection typeint
hashCode()
Get the hashcodevoid
setValues(int[] values)
Set the grid nav block valuesString
toString()
Print out a string representation of this-
Methods inherited from class ucar.nc2.iosp.grid.GridDefRecord
addParam, addParam, addParam, addParam, addParam, addParam, compare, getDouble, getInt, getKeys, getParam, getParamDouble, getParamInt, getParamsValues, readDouble
-
-
-
-
Method Detail
-
setValues
public void setValues(int[] values)
Set the grid nav block values- Parameters:
values
- the raw values
-
toString
public String toString()
Print out a string representation of this
-
equals
public boolean equals(Object o)
Check for equality
-
hashCode
public int hashCode()
Get the hashcode
-
getGroupName
public String getGroupName()
Get a short name for this GDSKey for the netCDF group. Subclasses should implement as a short description- Specified by:
getGroupName
in classGridDefRecord
- Returns:
- short name
-
getProjName
public String getProjName(int type)
Get the name for the projection type- Parameters:
type
- the projection type- Returns:
- a String name for the type
-
-