Changeset 8784 for trunk/anuga_core/source/anuga/file/netcdf.py
- Timestamp:
- Mar 28, 2013, 1:23:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/file/netcdf.py
r8781 r8784 42 42 """ 43 43 44 from Scientific.IO.NetCDF import NetCDFFile 45 return NetCDFFile(file_name, netcdf_mode) 46 47 #from netCDF4 import Dataset 48 #return Dataset(file_name, netcdf_mode, format='NETCDF3_64BIT') 44 try: 45 from Scientific.IO.NetCDF import NetCDFFile 46 return NetCDFFile(file_name, netcdf_mode) 47 except: 48 from netCDF4 import Dataset 49 return Dataset(file_name, netcdf_mode, format='NETCDF3_64BIT') 50 49 51 50 52 #return Dataset(file_name, netcdf_mode, format='NETCDF3_CLASSIC')
Note: See TracChangeset
for help on using the changeset viewer.