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/geospatial_data/test_geospatial_data.py

    r5730 r6086  
    1414from anuga.utilities.anuga_exceptions import ANUGAError
    1515from anuga.utilities.system_tools import get_host_name
     16from anuga.config import netcdf_mode_r, netcdf_mode_w, netcdf_mode_a
    1617
    1718class Test_Geospatial_data(unittest.TestCase):
     
    11311132        fileName = tempfile.mktemp(".pts")
    11321133        # NetCDF file definition
    1133         outfile = NetCDFFile(fileName, 'w')
     1134        outfile = NetCDFFile(fileName, netcdf_mode_w)
    11341135       
    11351136        # dimension definitions
     
    12881289        FN = 'test_points.pts'
    12891290        # NetCDF file definition
    1290         outfile = NetCDFFile(FN, 'w')
     1291        outfile = NetCDFFile(FN, netcdf_mode_w)
    12911292       
    12921293        # dimension definitions
     
    13291330        FN = 'test_points.pts'
    13301331        # NetCDF file definition
    1331         outfile = NetCDFFile(FN, 'w')
     1332        outfile = NetCDFFile(FN, netcdf_mode_w)
    13321333
    13331334        # Make up an arbitrary georef
Note: See TracChangeset for help on using the changeset viewer.