Package ucar.nc2.wmo
Class Util
- java.lang.Object
-
- ucar.nc2.wmo.Util
-
@Deprecated public class Util extends Object
Deprecated.will be moved in ver6Uitlities common to WMO table parsing.
-
-
Constructor Summary
Constructors Constructor Description Util()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
cleanName(String name)
Deprecated.Clean up strings to be used in Netcdf Object namesstatic String
cleanUnit(String unit)
Deprecated.Clean up strings to be used for unit stringstatic String
cleanupDescription(String desc)
Deprecated.static boolean
equivilantName(String name1, String name2)
Deprecated.Compare two names from tables, trying to ignore superfulous characters.static boolean
isUnitless(String unit)
Deprecated.The given unit is "unitless".
-
-
-
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
-
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".
-
-