Netcdf Toolkit - netcdf.inqVarDeflate
[shuffle,deflate,deflate_level] =netcdf.inqVarDeflate(ncid,varid)Determines the compression settings NetCDF variable varid.
If deflate is true, then the variable is compressed.
The compression level deflate_level is an integer between 0 (no compression) and 9 (maximum compression).