I recently tested three tools for compressing 102 NetCDF files contain gridded rainfall data (138GB) and found 7-Zip to be the best. Here’s a quick comparison:
Note: The tests were done on a multi-core machine, with 192 cores.
7zz a -tzip test_archive.zip *.nc
tar -cvzf test_archive.tar.gz *.nc
tar cf - *.nc | pigz -p 150 > archive.tar.gz
If you’re dealing with large datasets, 7-Zip is the quickest and most efficient choice.