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

[IDV #TSU-257401]: Using Formulas



> > Full Name: Vanessa Vincente
> > Email Address: address@hidden
> > Organization: UCAR/The COMET Program
> > Package Version:
> > Operating System:
> > Hardware:
> > Description of problem: Hello IDV Support,
> >
> > In my Data Choosers, I have uploaded a .gem file (it is an archive file of 
> > NAM model forecasts). I would like to create a display of the 1000-500 mb 
> > Average Relative Humidity. This field is not available in the .gem file, so 
> > I am trying to create a formula to calculate the 1000-500 mb Average 
> > Relative Humidity.
> >
> > Can you please help me create a formula to calculate this?  I do have a 3D 
> > grid field in my .gem file that allows me to select Relative Humidity at a 
> > particular pressure level.
> >
> > Many thanks in advance for your help!
> > Vanessa
> >
> >
> 
> Hi Vanessa,
> 
> It is very easy to create a simple (a+b)/2 formula in the IDV:
> 
> 1) load the data
> 2) Formula > Grids > Define a grid diagnostic, and select a display type
> 3) you can enter (a + b )/2 or avg(a,b) in the popup window, click OK
> 4) In next popup window, select a and b to be RH at 500 and 1000 levels
> ....
> 
> Let me know if this doesn't help.
> 
> Yuan

If you need to do the vertical average from 1000 to 500, you can use the 
formula:

Formula > Grids > Averages > Vertical Average Weighed

and then select the RH, and subset the vertical levels from 1000 to 500.


Yuan

Ticket Details
===================
Ticket ID: TSU-257401
Department: Support IDV
Priority: Normal
Status: Open
===================
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.