[MINC-users] mincconvert -compress broken?

Claude LEPAGE claude at bic.mni.mcgill.ca
Mon Jan 24 16:04:56 EST 2011


Hi Alex,

Interesting... 

Do you have environment variables like these that could interfere?

MINC_FORCE_V2=1
MINC_COMPRESS=4

Try: "file test_compressed.mnc". Is it minc1 or minc2?

Do you need -compress 4 -2 ?

Usually, the best test is to gzip the file. What is the size of test.mnc.gz?
minc2 achieves essentially the same compression ratio as gzip (for the data
part). 

You can also forward me your test.mnc if you want me to have a look at it.
I'm the one to blame for the current blocking strategy for compression in
minc2.

Claude

> I just ran into this:
>
> $ mincconvert -compress 4 test.mnc test_compressed.mnc
> $ du -hs test*mnc
> 23M     test_compressed.mnc
> 15M     test.mnc
>
> That wasn't exactly the desired effect :)
>
> $ mincconvert -version
> program: 2.1.00
> libminc: 2.1.00
> netcdf : 3.6.1 of Dec 22 2010 16:29:38 $
> HDF5   : 1.8.5
>
> However, I get the exact same thing with a 2.0.18 version of
> mincconvert; and no matter what argument (1-9) I provide to the
> -compress option. So from what I can see, 'mincconvert -compress' does
> nothing at all?
>
> -- Alex
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list