Home > atmlab > deprecated > cloudsat_read_zipped.m

cloudsat_read_zipped

PURPOSE ^

% CLOUDSAT_READ_ZIPPED unpack CS file, return input, remove unpacked file

SYNOPSIS ^

function data = cloudsat_read_zipped(CSin, varargin)

DESCRIPTION ^

% CLOUDSAT_READ_ZIPPED unpack CS file, return input, remove unpacked file

 This is a wrapper around cloudsat_read that uncompresses the file, reads the data
 and then deletes the uncompressed file.

 THIS FUNCTION IS DEPRICATED: this is now done in read_cloudsat_hdf.

 $Id: cloudsat_read_zipped.m 8243 2013-02-27 22:05:14Z seliasson $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

cloudsat_read_zipped.m

SOURCE CODE ^

0001 function data = cloudsat_read_zipped(CSin, varargin)
0002 %% CLOUDSAT_READ_ZIPPED unpack CS file, return input, remove unpacked file
0003 %
0004 % This is a wrapper around cloudsat_read that uncompresses the file, reads the data
0005 % and then deletes the uncompressed file.
0006 %
0007 % THIS FUNCTION IS DEPRICATED: this is now done in read_cloudsat_hdf.
0008 %
0009 % $Id: cloudsat_read_zipped.m 8243 2013-02-27 22:05:14Z seliasson $
0010 
0011 tmpdir = create_tmpfolder;
0012 c = onCleanup(@() rmdir(tmpdir,'s'));
0013 filename = uncompress(CSin, tmpdir);
0014 data = read_cloudsat_hdf(filename, varargin{:});

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005