[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave and gzipped files
From: |
Geordie McBain |
Subject: |
Re: Octave and gzipped files |
Date: |
Tue, 09 Jan 2007 09:54:08 +1100 |
On Mon, 2007-01-08 at 22:16 +0000, Joseph Wakeling wrote:
> Is it possible for Octave to read data from gzipped ascii files?
>
> I'm having to deal with some rather large data files from simulations
> and it would be convenient to gzip them---it reduces their size by
> anything from 65-70%.
>
> If Octave can't directly read the gzipped file I suppose an alternative
> would be for Octave to call gzip to temporarily unzip the file, read the
> data, and then zip it back up again. Is this possible?
Hello. My Octave (2.9.9 on Debian etch) can save gzipped ascii files;
e.g.
octave> save -ascii -z A.gz A
and load them again too (automatically detecting the need for
gunzipping):
octave> load A.gz
--
Geordie McBain
www.aeromech.usyd.edu.au/~mcbain
- Octave and gzipped files, Joseph Wakeling, 2007/01/08
- Re: Octave and gzipped files,
Geordie McBain <=
- Re: Octave and gzipped files, Dmitri A. Sergatskov, 2007/01/08
- Re: Octave and gzipped files, Joseph Wakeling, 2007/01/08
- Re: Octave and gzipped files, Geordie McBain, 2007/01/08
- Re: Octave and gzipped files, Joseph Wakeling, 2007/01/08
- Re: Octave and gzipped files, John Swensen, 2007/01/08
- Re: Octave and gzipped files, Francesco Potorti`, 2007/01/09