Changeset 7454
- Timestamp:
- Sep 1, 2009, 11:13:00 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/config.py
r7302 r7454 206 206 # whether Scientific.IO supports large NetCDF files 207 207 s = """ 208 import os 208 import os, tempfile 209 209 from Scientific.IO.NetCDF import NetCDFFile 210 fid = NetCDFFile('tmpfilenamexx', 'wl') 210 211 filename = tempfile.mktemp('.nc') 212 213 fid = NetCDFFile(filename, 'wl') 211 214 fid.close() 212 os.remove( 'tmpfilenamexx')215 os.remove(filename) 213 216 """ 214 217
Note: See TracChangeset
for help on using the changeset viewer.