/**
  * Returns the VisAD {@link DataImpl} corresponding to the value of a DODS {@link DUInt16} and the
  * DODS variable used during construction of this instance.
  *
  * @param var The DODS variable to have the corresponding VisAD data object returned. The variable
  *     must be compatible with the variable used to construct this instance.
  * @param copy If true, then data values are copied.
  * @return The VisAD data object of this instance. The class of the object will be {@link Real}.
  *     The VisAD {@link MathType} of the data object will be based on the DODS variable used
  *     during construction of this instance.
  */
 public DataImpl data(DUInt16 var, boolean copy) {
   return new Real(realType, valuator.process(var.getValue()));
 }
 private UInt16VariableAdapter(DUInt16 var, DAS das) throws VisADException, RemoteException {
   AttributeTable table = attributeTable(das, var);
   realType = realType(var, table);
   valuator = Valuator.valuator(table, Attribute.UINT16);
   repSets = new SimpleSet[] {valuator.getRepresentationalSet(realType)};
 }