compare_units

Source: utils/misc/compare_units.pro

 compare_units
        Compare two units strings and decide if they are really the
        same unit or not

 Usage:
        match = compare_units(unit1, unit2)

 Arguments:
        unit1   string  input   The first unit to be considered
        unit2   string  input   The second unit to be compared

 Keyword:
        easy    If set, then allow /nuc settings, and unbounded
                energy fluxes to compare equal with bounded and per
                particle.

 Notes:
        This is not a smart routine. It just looks at lists of known
        alternative forms of the same unit. Case is ignored. Obviously
        there are lots of other forms, free free to add any others you
        need.

 History:
        Original: 1/5/01; SJT



James Tappin 2005-02-04