#!/bin/csh
ncdump $1 | sed -e 's/=  ;/= \" \" ;/; s/FORMAT_VERSION = \"2.3 \"/FORMAT_VERSION = "2.2 "/' | ncgen -o $1

