Re: Repainting images in JyVisAD

Hi again...

Tom Rink pointed out that as long as your types don't change, you don't need to remove and add the references, you can just put your (new) FlatField into the existing Reference:

Something like:

if ref is None: ref=addData("twister",twist)
else: ref.setData(twist)

The first line is for the first time thru; after that, it would just redo the 'setData()' for the newer FlatField.

tom

--
Tom Whittaker (tomw@xxxxxxxxxxxxx)
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Phone/VoiceMail: 608.262.2759


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