Re: Reading a binary file with Jython

Hi Cicero,

> I am not sure if this mailing list is also about Jython (if is not please
> tell me). Athogh Jython is very helpfull, the documentation is a litle
> poor yet.
> 
> Ok here is the problem: I heve a binary file created in C that is an
> array of 4-bytes-float 512x512. And I cant read it. The Jython tutorial
> tells only how to read a text file (the method readlines()). I imagine
> that is a very simple question.
> 
> One more thing: in the Jython´s tutorial where can I find the files used
> in the examples like OUTLUSAM or AREA0007 ? Or they dont exist?

You can find both files in the ftp directory:

  ftp://www.ssec.wisc.edu/pub/visad-2.0/

I don't know about reading binary files in Jython that were
written in C. Perhaps Tom or someone else knows.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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