- Timestamp:
- Dec 19, 2008, 10:38:08 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/test_geospatial_data.py
r5730 r6086 14 14 from anuga.utilities.anuga_exceptions import ANUGAError 15 15 from anuga.utilities.system_tools import get_host_name 16 from anuga.config import netcdf_mode_r, netcdf_mode_w, netcdf_mode_a 16 17 17 18 class Test_Geospatial_data(unittest.TestCase): … … 1131 1132 fileName = tempfile.mktemp(".pts") 1132 1133 # NetCDF file definition 1133 outfile = NetCDFFile(fileName, 'w')1134 outfile = NetCDFFile(fileName, netcdf_mode_w) 1134 1135 1135 1136 # dimension definitions … … 1288 1289 FN = 'test_points.pts' 1289 1290 # NetCDF file definition 1290 outfile = NetCDFFile(FN, 'w')1291 outfile = NetCDFFile(FN, netcdf_mode_w) 1291 1292 1292 1293 # dimension definitions … … 1329 1330 FN = 'test_points.pts' 1330 1331 # NetCDF file definition 1331 outfile = NetCDFFile(FN, 'w')1332 outfile = NetCDFFile(FN, netcdf_mode_w) 1332 1333 1333 1334 # Make up an arbitrary georef
Note: See TracChangeset
for help on using the changeset viewer.