Package ucar.nc2.wmo

Class Util


  • @Deprecated
    public class Util
    extends Object
    Deprecated.
    will be moved in ver6
    Uitlities common to WMO table parsing.
    • Constructor Detail

      • Util

        public Util()
        Deprecated.
    • Method Detail

      • cleanUnit

        public static String cleanUnit​(String unit)
        Deprecated.
        Clean up strings to be used for unit string
        Parameters:
        unit - original
        Returns:
        cleaned up
      • cleanName

        public static String cleanName​(String name)
        Deprecated.
        Clean up strings to be used in Netcdf Object names
        Parameters:
        name - original name
        Returns:
        cleaned up name
      • cleanupDescription

        public static String cleanupDescription​(String desc)
        Deprecated.
      • equivilantName

        public static boolean equivilantName​(String name1,
                                             String name2)
        Deprecated.
        Compare two names from tables, trying to ignore superfulous characters.
        Returns:
        true if these are equivilent
      • isUnitless

        public static boolean isUnitless​(String unit)
        Deprecated.
        The given unit is "unitless".