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

[IDV #RMA-540936]: Error while reading in a formula

> Full Name: Matthew King
> Email Address: address@hidden
> Organization: Millersville University Earth Science Department
> Package Version: 2.9u1 build date:2010-09-02 19:36 UTC
> Operating System: Linux
> Hardware: Java: home: /export/home/students/mking/IDV_2.9u1/jre version: 
> 1.6.0_20 j3d:1.5.2 fcs (build4)
> Description of problem: Hello
> I am currently working with the WRFChem V3.2 in association with a research 
> project.
> I am attempting to visualize the temperature profile from the output data by 
> using this formula:
> Temp = (T + 300) * ((P+PH)/1000)**.2854
> With T= perturbation potential temperature
> P= perturbation pressure
> PH= base state pressure
> Yet this error comes up and I am puzzled on how to fixing it:

Hi Matthew,
     This is the problem of mixing the unit in this equation. There are two 
ways to fix this, first option is to set the new unit for P and PH, such as 
P0=newUnit(P, "P", "K"), so the it will result all variables in the same unit. 
Second option is to set no unit for all variables, such as P0=newUnit(P), and 
then set the new unit to the final result.

You can also reference the work tutorial:



Ticket Details
Ticket ID: RMA-540936
Department: Support IDV
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.