[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #FEO-270734]: Units when using an expression in a LayoutModel parameter

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [IDV #FEO-270734]: Units when using an expression in a LayoutModel parameter
  • Date: Tue, 20 Jan 2009 10:03:32 -0700

> Hi Guys.....
> 
> Regarding Rick's question about units, is it safe to say when using a
> numeric expression in a LayoutModel, that the units for temperature
> (and dew point) are K, and for wind speed they are m/s?
> 
>
Hi Tom,
Actually no, its not safe to assume that. The operands that we get from the 
point data
and pass to the jython code are visad.Real and they are whatever unit they are 
in the data.

For display purposes you can specify a display unit but this does not affect 
the actual data unit.

-Jeff


Ticket Details
===================
Ticket ID: FEO-270734
Department: Support IDV
Priority: Normal
Status: Closed