Created
September 24, 2019 22:44
-
-
Save trondkr/fbe80d707555d864d76b73570b0b54b5 to your computer and use it in GitHub Desktop.
Convert NetCDF4 to NetCDF4_classic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module load NCO/4.7.7-intel-2018b | |
for file in *; do | |
ext=${file##*.} | |
fname=`basename $file .$ext` | |
fname=${fname}_classic.nc | |
echo ${fname} | |
nccopy -k nc7 ${file} ${fname} | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment