Ignore:
Timestamp:
Dec 19, 2008, 10:38:08 AM (15 years ago)
Author:
rwilson
Message:

Changes to handle large files when Scientific.IO.NetCDF provides the feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/most2nc.py

    r6058 r6086  
    99import sys
    1010from Scientific.IO.NetCDF import NetCDFFile
     11from anuga.config import netcdf_mode_r, netcdf_mode_w, netcdf_mode_a
    1112
    1213
     
    7576    if verbose: print 'writing results'
    7677
    77     out_file = NetCDFFile(output_file,'w')
     78    out_file = NetCDFFile(output_file, netcdf_mode_w)
    7879
    7980    out_file.createDimension(long_name,nx)
Note: See TracChangeset for help on using the changeset viewer.