Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

unit conversion in VisAD

Making some computations in VisAD, for example in part
dtdp = (FlatField) (dtdp.multiply( ((FlatField)absvor.getSample(i))) );

The results have values such as .002 and "units" 0.001 K m2 s-1 kg-1.

How can I get the results to have value 2 and "units" 0.000001 K m^2 s-1 kg-1?

Or values 2E-6 and units K m^2 s-1 kg-1?

Stu Wier

-- 

Stuart Wier                              
University Corporation for Atmospheric Research
wier@xxxxxxxxxxxxxxxx                           P.O. Box 3000
http://www.unidata.ucar.edu/staff/wier      Boulder, CO 80307


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: