Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Working with large data files (hundreds of megas)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9152] Re: [mg9112] Working with large data files (hundreds of megas)
  • From: "Parker E.C. Bradley" <PJDRINKA at concentric.net>
  • Date: Thu, 16 Oct 1997 03:37:53 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Gilberto Espinoza wrote:

> I am trying to figure out the best way to to work with huge data
> files. For
> example, I have a compressed (gzip) file that is 13 mega and when I
> uncompress it it inflates to abut 90 mega and i have several of these.
>
> I would like to know if there is a way to work with compressed files
> within
> mathematica either 2.2 on a unix platform or 3.0.1 on a windows nt
> 4.0. my
> nt is hooked up to the network so i have acces to the unix drive where
> my
> file is located. I would like to read the data from the compressed
> file and
> perform my analysis and write my results into a compressed file to
> avoid
> giving my sytem administrator a fit as I would use up all the disk
> space
> space quite fast working with the uncompressed files.
>
> thanks a lot
>
> gilberto espinoza
>
> gespinoza at earthlink.net

 This is a very interesting problem -- fortunately, I my situation, I
was able to just add more disk space and memory (though I may have to
utilize my own advice in the near future). In your case, the first
possiblility (for the Unix scenario) that comes to mind is to utilize
Mathlink with a unix shell script. When Mathematica needs  the data,
MathLink would act as an intermediary between Mathematica and the Unix
shell script; passing data back and forth and giving appropriate
commands to the shell script. The shell script's job would be to handle
the compression/decompression with gzip/gunzip, and perform any other
needed file handling.

    Hope this helps. If anyone has a more elegant/direct approach -- I
too am very interested.

PECB

--
******************************************************* Parker E.C.
Bradley
315-330-1893
Air Force Rome Labs / C3BB                   PJDRINKA at concentric.net 525
Brooks Road
bradley at rl.af.mil
Rome, NY 13441
*******************************************************

-----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGP for Personal Privacy
5.0

mQGiBDOm5eIRBAD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EA5h20xeKIA
mN777oyHvhcbu6M7sJ1CDZiM7Yj7wbms2i6g1nux+dSAPNdlTunVy2E4/RUgbDAc
aQSrYEuX8dv5PJN8YZvO3pzExiVYpAnXE9iz+D8bQsSUYMRMYAIio2lbrWdCaiRM
BCYLBGN/x3CMhDQQwFWlVWIM52SX2K6LwaI8HvowtGSTtmkBuIkAPwMFGDOm5eLj
CjF27+oh6RECmLsAoMW/gZOiAy9fQVfjj4nQVKFGrd+rAJsHm+F+UcAIPJ+JnyZA
gngXM6WThQ==
=SqV5
-----END PGP PUBLIC KEY BLOCK-----



  • Prev by Date: Mathematica 2.2 sound export
  • Next by Date: Re: Mathematica <-> fortran
  • Previous by thread: Working with large data files (hundreds of megas)
  • Next by thread: HELP! Internal Error in BoxForm expression: Mma 3.0.1