Class McGridDefRecord


  • public class McGridDefRecord
    extends GridDefRecord
    Class to hold the grid navigation information.
    • 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