Documentation of 'edu.wisc.ssec.mcidas.GridDirectory' Java class
GridDirectory
edu.wisc.ssec.mcidas

Class GridDirectory

    • Constructor Detail

      • GridDirectory

        public GridDirectory(int[] dirblock)
                      throws McIDASException
        Construct a GridDirectory from the grid directory block.
        Parameters:
        dirblock - directory block from the McIDAS grid
        Throws:
        McIDASException
    • Method Detail

      • getDirBlock

        public int[] getDirBlock()
        Deprecated. use getDirectoryBlock
        Get the raw directory block
        Returns:
        array of the raw parameters in int form
      • getDirectoryBlock

        public int[] getDirectoryBlock()
        Get the raw directory block
        Returns:
        array of the raw parameters in int form
      • getParamName

        public java.lang.String getParamName()
        Get the name of the parameter
        Returns:
        parameter name
      • getGridDescription

        public java.lang.String getGridDescription()
        Get the grid description
        Returns:
        grid description
      • getParamScale

        public double getParamScale()
        Get the scale of the parameter values
        Returns:
        parameter scale (power of 10)
      • getParamUnitName

        public java.lang.String getParamUnitName()
        Get the unit name of the parameter values
        Returns:
        unit name for this parameter
      • getReferenceTime

        public java.util.Date getReferenceTime()
        Get the reference time for this parameter
        Returns:
        reference time
      • getValidTime

        public java.util.Date getValidTime()
        Get the valid time for this parameter if it is a forecast
        Returns:
        valid time
      • getForecastHour

        public int getForecastHour()
        Get the forecast hour for this parameter if it is a forecast
        Returns:
        forecast hour
      • getSecondTime

        public java.util.Date getSecondTime()
        Get the second time for this parameter if it is a time difference
        Returns:
        second time (null if only one time associated with this)
      • getLevelValue

        public double getLevelValue()
        Get the vertical level value.
        Returns:
        level By McIDAS conventions, 1013. == mean sea level, 0. == tropopause, 1001. == surface. Otherwise, value is what is returned.
      • getLevelUnitName

        public java.lang.String getLevelUnitName()
        Get the units of the vertical level.
        Returns:
        unit name of the level
      • getSecondLevelValue

        public double getSecondLevelValue()
        Get the second vertical level value if one exists.
        Returns:
        level By McIDAS conventions, 1013. == mean sea level, 0. == tropopause, 1001. == surface. Otherwise, value is what is returned.
      • getRows

        public int getRows()
        Get the number of rows in the grid
        Returns:
        number of rows
      • getColumns

        public int getColumns()
        Get the number of columns in the grid
        Returns:
        number of columns
      • getNavBlock

        public int[] getNavBlock()
        Get the navigation parameters.
        Returns:
        array of nav parameters. The first value is the grid type and subsequent values provide the parameters for that type. see McIDAS Programmer's Manual for a description
        See Also:
        getNavType()
      • getNavigation

        public GRIDnav getNavigation()
        Get the navigation
        Returns:
        GRIDnav for this grid (may be null)
      • getNavType

        public int getNavType()
        Get the navigation type. Type is stored as first element of the nav block.
        Returns:
        nav type
                  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
         
        See Also:
        getNavBlock()
      • equals

        public boolean equals(java.lang.Object o)
        Check the equality of the object in question with this.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - object in question
      • toString

        public java.lang.String toString()
        String representation of the GridDirectory
        Overrides:
        toString in class java.lang.Object
        Returns:
        human readable string

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.