Пример #1
0
 /**
  * Get the the colorTable unit.
  *
  * @return Unit used for colorTableing values. May be <code>null</code>.
  */
 public Unit getColorTableUnit() {
   if ((colorTableUnit == null) && (colorTableUnitName != null)) {
     try {
       colorTableUnit = ucar.visad.Util.parseUnit(colorTableUnitName);
     } catch (Exception exc) {
     }
   }
   return colorTableUnit;
 }
Пример #2
0
 /**
  * Get the the scale unit.
  *
  * @return Unit used for scaleing values. May be <code>null</code>.
  */
 public Unit getScaleUnit() {
   if ((scaleUnit == null) && (scaleUnitName != null)) {
     try {
       scaleUnit = ucar.visad.Util.parseUnit(scaleUnitName);
     } catch (Exception exc) {
     }
   }
   return scaleUnit;
 }
Пример #3
0
 /**
  * Get the the display unit.
  *
  * @return Unit used for displaying values. May be <code>null</code>.
  */
 public Unit getDisplayUnit() {
   if ((displayUnit == null) && (displayUnitName != null)) {
     try {
       displayUnit = ucar.visad.Util.parseUnit(displayUnitName);
     } catch (Exception exc) {
     }
   }
   return displayUnit;
 }