Changeset 6086 for anuga_core/source/anuga/shallow_water/most2nc.py
- Timestamp:
- Dec 19, 2008, 10:38:08 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/most2nc.py
r6058 r6086 9 9 import sys 10 10 from Scientific.IO.NetCDF import NetCDFFile 11 from anuga.config import netcdf_mode_r, netcdf_mode_w, netcdf_mode_a 11 12 12 13 … … 75 76 if verbose: print 'writing results' 76 77 77 out_file = NetCDFFile(output_file, 'w')78 out_file = NetCDFFile(output_file, netcdf_mode_w) 78 79 79 80 out_file.createDimension(long_name,nx)
Note: See TracChangeset
for help on using the changeset viewer.