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

[IDV #EKQ-955586]: Point Data Plot: Layout Model Editor Issues With Imbedded Jython Formulas

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 #EKQ-955586]: Point Data Plot: Layout Model Editor Issues With Imbedded Jython Formulas
  • Date: Tue, 27 Oct 2009 14:34:00 -0600

Hi Patrick-

> Full Name: Patrick Campbell
> Email Address: address@hidden
> Organization: University of Wyoming
> Package Version: 2.7u2 build date:2009-08-26 16:33 UTC
> Operating System: Windows Vista
> Hardware: Java: home: C:\Program Files\IDV_2.7u2\jre version: 1.6.0_13 
> j3d:1.5.2 fcs (build4)
> Description of problem: making shapes
> org.python.core.PyException
> 
> -----------------------------------------Problems Listed Below:
> I have a problem inserting an IDV- built in Jython function (i.e. dewpoint) 
> into a Point Data Plot  "Layout Model Editor - Parameter: ", found in Layout 
> Model Properties.
> 
> For example, I input the imbedded Jython function in the parameter box as  " 
> =dewpoint(T,RH)";  where T = D1, and RH = D2; thus coincident with the named 
> variables in my  file.  I can't seem to use other similar formulas, which 
> call for two variables D1 and D2.

You would need a dewpoint Jython function that would calculate dewpoint from 
temp and rh.  The Name error message indicates that there is no function named 
dewpoint. The IDV system one only works for grids at present.
 
> I am opening a .CSV file which is downloaded from the MesoWest Observations 
> Downloading website, from the University of Utah.
> 
> Please see attached file.
> 
> ******************
> Stack trace:
> Traceback (innermost last):
> File "<string>", line 1, in ?
> NameError: dewpoint
> 
> 
> 


Ticket Details
===================
Ticket ID: EKQ-955586
Department: Support IDV
Priority: Normal
Status: Open