referencing the 'data' packages from Jython

If you want to reference specific classes in any of the packages in
"visad.data" or it's sub-packages, you need to first do:

from visad import *

before doing something like:

from visad.data.mcidas import PointDataAdapter

Without the first from...import the classloader apparently gets confused by the
class named "visad.Data" and the packages that start with "visad.data".  

I have updated the Jython tutorial page on reading files to reflect this.

tom

-- 
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Phone/VoiceMail: 608/262-2759
Fax: 608/262-5974


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: