Previous: Writing Text Files Next: Tag Index Table of contents Images Frames Unidata's Integrated Data Viewer > Miscellaneous > IDV Scripting

7.1.6 Scripting with Jython
Jython and ISL
The IDV also supports writing scripts in Jython. This means that you can create a Jython script that includes calls to special methods (defined below), and also does "normal" Jython things.

Please Note: Some of the APIs described below will likely change in the coming months!

To start with, here is an example Python script.

Scripting in Jython allows for flexibility and a more "programming" flavor for IDV scripting, though you can still do much of the functionality using Jython that you can do using ISL. The benefit of the ISL is that it is more declarative and requires (hopefully) less knowledge of programming.

To run the IDV with a Jython script, do:

runIDV -islfile your-script.py

Below, each of the available methods in the Jython scripting interface will be described.

 


Previous: Writing Text Files Next: Tag Index Table of contents Images Frames Unidata's Integrated Data Viewer > Miscellaneous > IDV Scripting