Documentation for pp_lib

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

pp_titanbrowse_datacompress.pro


Routines

top source pp_titanbrowse_datacompress

pp_titanbrowse_datacompress, savefile [, compress=compress]

Changes the use of compression in pp_titanbrowse's data files (both for pp_titanbrowse_db and pp_titanbrowse_metadb). This rotuine is necessary, instead of just opening and saving the files, to properly handle the references to the heap variables stored.

The files are provided compressed for faster downloads, and can be used in that way. But if the user want to trade disk space for lower processor use (and, potentially, faster operation, if the disk is fast enough), this routine can be used to decompress the files.

This rotuine can take several minutes to run, as all datafiles currently add to tens of GB.

Parameters

savefile in required

The name of the savefile to compress/decompress.

Keywords

compress in optional default=1B

Determines whether the created files will be compressed.

Examples

To decompress all pp_titanbrowse's ir channel files in the current directory:

fl=file_search('covims_????_ir*.sav') ;find the files for i=0,n_elements(fl)-1 do pp_titanbrowse_datacompress,fl[i],compress=0

Author information

Author:

Paulo Penteado (pp.penteado@gmail.com), Jul/2010

Statistics

Lines:
21 lines
Cyclomatic complexity:
5
Modified cyclomatic complexity:
2

File attributes

Modification date: Fri Apr 25 01:37:03 2014
Lines: 21
Docformat: rst rst