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

Re: 20030414: IDV Formula Application



Charlie
>
> Thanks for the info.
> 
> I tried this and the formula generator took
> getNthTimeGrid ok - but when I applied it
> I got an error "ControlDescriptor.Creating Display null"
> 
> I assume this is because getNthTimeGrid() is not in
> the library - so my question is how/where to cut and
> paste this routine as you described below.

Oops sorry I did not say where to put it! Use the Jython library
in the IDV itself : menu choice 
Edit->Jython library, user library pane. You can enter and edit Jython
code there.

Any methods in the IDV jython library can be called directly by your
formulas.
The Jython library is a way to create code more complex than a one-line
formula.

Stu

p.s. see the IDV help
http://www.unidata.ucar.edu/projects/metapps/idv_help/IDV_Jython.html



-- 
****************************************************************************
Unidata User Support                                    UCAR Unidata
Program
303 497 8643                                                  P.O. Box
3000
address@hidden                                   Boulder, CO
80307
----------------------------------------------------------------------------
Unidata WWW Service             
http://my.unidata.ucar.edu/content/support     
****************************************************************************