#!/bin/bash ###### # A simple script to convert a NetCDF 64-bit offset file to a NetCDF # classic format file, which is viewable by the Windows viewer. # # This script is overkill; to convert new file new.sww to old.sww do: # ncdump new.sww > fred.ncd # ncgen -k classic -o old.sww fred.ncd # rm -f fred.ncd # # If you are not sure what type of SWW file you have, do: # ncdump -k ###### ncdump $1 | ncgen -o $2