Class UnidataPointDatasetHelper


  • public class UnidataPointDatasetHelper
    extends Object
    Helper routines for point feature datasets using Unidata Conventions.
    Since:
    Feb 29, 2008
    • Constructor Detail

      • UnidataPointDatasetHelper

        public UnidataPointDatasetHelper()
    • Method Detail

      • getCoordinateName

        public static String getCoordinateName​(NetcdfDataset ds,
                                               AxisType a)
        Tries to find the coordinate variable of the specified type.
        Parameters:
        ds - search in this dataset
        a - AxisType.LAT, LON, HEIGHT, or TIME
        Returns:
        coordinate variable, or null if not found.
      • getCoordinateName

        public static String getCoordinateName​(NetcdfDataset ds,
                                               AxisType a,
                                               Dimension dim)
        Tries to find the coordinate variable of the specified type, which has the specified dimension as its firsst dimension
        Parameters:
        ds - search in this dataset
        a - AxisType.LAT, LON, HEIGHT, or TIME
        dim - must use this dimension
        Returns:
        coordinate variable, or null if not found.
      • getCoordinate

        public static Variable getCoordinate​(NetcdfDataset ds,
                                             AxisType a)
        Tries to find the coordinate variable of the specified type.
        Parameters:
        ds - search in this dataset
        a - AxisType.LAT, LON, HEIGHT, or TIME
        Returns:
        coordinate variable, or null if not found.