Interface GridTableLookup

    • Method Detail

      • getGridName

        String getGridName​(GridDefRecord gds)
        Get the grid name
        Parameters:
        gds - Grid definition record
        Returns:
        GridName.
      • getShapeName

        String getShapeName​(GridDefRecord gds)
        Get the grid shape name
        Parameters:
        gds - Grid definition record
        Returns:
        ShapeName.
      • getDisciplineName

        String getDisciplineName​(GridRecord gr)
        Get the grid discipline name
        Parameters:
        gr - record to check
        Returns:
        DisciplineName.
      • getCategoryName

        String getCategoryName​(GridRecord gr)
        Get the grid category name
        Parameters:
        gr - record to check
        Returns:
        CategoryName.
      • getParameter

        GridParameter getParameter​(GridRecord gr)
        Get the grid parameter that corresponds to this record
        Parameters:
        gr - record to check
        Returns:
        Parameter.
      • getLevelName

        String getLevelName​(GridRecord gr)
        Get the level name
        Parameters:
        gr - record to check
        Returns:
        LevelName.
      • getLevelDescription

        String getLevelDescription​(GridRecord gr)
        Get the level description
        Parameters:
        gr - record to check
        Returns:
        LevelDescription.
      • getLevelUnit

        String getLevelUnit​(GridRecord gr)
        Get the level unit
        Parameters:
        gr - GridRecord with metadata
        Returns:
        LevelUnit.
      • getFirstBaseTime

        Date getFirstBaseTime()
        Get the first base time
        Returns:
        FirstBaseTime.
      • getTimeRangeUnitName

        String getTimeRangeUnitName​(int tunit)
        Get the first time range unit name
        Returns:
        the first time range unit name
      • isLatLon

        boolean isLatLon​(GridDefRecord gds)
        Is this a lat/lon grid
        Parameters:
        gds - Grid definition record
        Returns:
        is this a LatLon Grid
      • isVerticalCoordinate

        boolean isVerticalCoordinate​(GridRecord gr)
        If vertical level should be made into a coordinate; dont do for surface, or levels without a meaningful coordinate value
        Parameters:
        gr - GridRecord with metadata
        Returns:
        is this a VerticalCoordinate
      • isPositiveUp

        boolean isPositiveUp​(GridRecord gr)
        Is postitive up for the vertical coordinate
        Parameters:
        gr - GridRecord with metadata
        Returns:
        is this positive up level
      • getProjectionType

        int getProjectionType​(GridDefRecord gds)
        Get the projection type
        Parameters:
        gds - Grid definition record
        Returns:
        one of the enumerated types
      • getFirstMissingValue

        float getFirstMissingValue()
        .
        Returns:
        FirstMissingValue.
      • isLayer

        boolean isLayer​(GridRecord gr)
        Check to see if this grid is a layer variable
        Parameters:
        gr - record to check
        Returns:
        true if a layer
      • getTitle

        String getTitle()
        Title for CF conventions
        Returns:
        Title
      • getInstitution

        String getInstitution()
        Institution for CF conventions
        Returns:
        Institution
      • getSource

        String getSource()
        Generating Process of model for CF conventions
        Returns:
        source
      • getComment

        String getComment()
        Comment for CF conventions
        Returns:
        comment
      • getGridType

        String getGridType()
        Get the grid type (GRIB, GEMPAK, McIDAS, GRADS) for labelling
        Returns:
        the grid type