ucar.nc2.iosp.mcidas
Class McGridDefRecord

java.lang.Object
  extended by ucar.grid.GridDefRecord
      extended by ucar.nc2.iosp.mcidas.McGridDefRecord

public class McGridDefRecord
extends GridDefRecord

Class to hold the grid navigation information.

Version:
$Revision: 1.3 $
Author:
Unidata Development Team

Field Summary
 
Fields inherited from class ucar.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
McGridDefRecord()
          Create a new grid nav block
McGridDefRecord(int[] words)
          Create a new grid nav block with the values
 
Method Summary
 boolean equals(Object o)
          Check for equality
 String getGroupName()
          Get a short name for this GDSKey for the netCDF group.
 String getProjName(int type)
          Get the name for the projection type
 int hashCode()
          Get the hashcode
 void setValues(int[] values)
          Set the grid nav block values
 String toString()
          Print out a string representation of this
 
Methods inherited from class ucar.grid.GridDefRecord
addParam, addParam, addParam, addParam, addParam, addParam, compare, getDouble, getGdsv, getInt, getKeys, getParam, getParamDouble, getParamInt, getParamsValues, readDouble
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

McGridDefRecord

public McGridDefRecord()
Create a new grid nav block


McGridDefRecord

public McGridDefRecord(int[] words)
Create a new grid nav block with the values

Parameters:
words - analysis block values
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

Overrides:
toString in class Object
Returns:
a String representation of this.

equals

public boolean equals(Object o)
Check for equality

Overrides:
equals in class Object
Parameters:
o - object to compare
Returns:
true if equal

hashCode

public int hashCode()
Get the hashcode

Overrides:
hashCode in class Object
Returns:
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 class GridDefRecord
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


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.