Ncarray Toolkit - cached_decompress
fname =cached_decompress(filename)Decompress a file using a cache.
Inputs
filename: name of the file which is possibly compressed
Outputs
fname: the filename of the uncompressed file
Global variables
CACHED_DECOMPRESS_DIR (default is the result of tempname) cache directory of decompressed files.
CACHED_DECOMPRESS_LOG_FID (default 1): file id for log message
CACHED_DECOMPRESS_MAX_SIZE (default 1e10): maximum size of cache in bytes.