fname =
cached_decompress(filename) ¶Decompress a file using a cache.
filename: name of the file which is possibly compressed
fname: the filename of the uncompressed file
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.
Package: ncarray