Created
December 3, 2014 10:43
-
-
Save baelter/da02819a3ba1d8d7d43a to your computer and use it in GitHub Desktop.
Edit netCDF files
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
#!/bin/bash | |
cp $1 $1_bak | |
cdl=/tmp/$1.cdl | |
ncdump $1 > $cdl | |
nano $cdl | |
ncgen -o $1 $cdl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment