Last change
on this file since 7378 was
7281,
checked in by rwilson, 16 years ago
|
Instructions on how to convert a new SWW file into an old SWW file.
|
-
Property svn:executable set to
*
|
File size:
397 bytes
|
Rev | Line | |
---|
[7281] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | ###### |
---|
| 4 | # A simple script to convert a NetCDF 64-bit offset file to a NetCDF |
---|
| 5 | # classic format file, which is viewable by the Windows viewer. |
---|
| 6 | # |
---|
| 7 | # This script is overkill; to convert new file new.sww to old.sww do: |
---|
| 8 | # ncdump new.sww > fred.ncd |
---|
| 9 | # ncgen -o old.sww fred.ncd |
---|
| 10 | # rm -f fred.ncd |
---|
| 11 | ###### |
---|
| 12 | |
---|
| 13 | ncdump $1 >/tmp/n2o.tmp |
---|
| 14 | ncgen -o $2 /tmp/n2o.tmp |
---|
| 15 | rm -f /tmp/n2o.tmp # cleanup |
---|
Note: See
TracBrowser
for help on using the repository browser.