NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: older verions of visad/jython

Tom Whittaker wrote:
> On Tue, 23 Apr 2002, Campbell, Garrett wrote:
> 
> > Great, a work around.
> 
> Excellent.  You might want to read in your data objects and re-save them
> in a non-version-dependent manner....

You can do this by changing your code from:

  VisADForm().save(filename,fselect,1)

to:

  VisADForm(1).save(filename,fselect,1)

(I think that's the way to pass 'true' to the constructor ... I'm
still learning this Jython stuff)

This will use VisAD's own binary format, rather than Java's
serialization.  The VisAD-specific binary file classes are
slower than Java's serialization code, but are guaranteed to
be backward compatible even if the file format changes in the
future.


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