Changeset 8810 for trunk/anuga_core/source/anuga/file/netcdf.py
- Timestamp:
- Apr 5, 2013, 10:25:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/file/netcdf.py
r8785 r8810 43 43 44 44 45 45 46 try: 46 47 from Scientific.IO.NetCDF import NetCDFFile … … 48 49 except: 49 50 from netCDF4 import Dataset 50 return Dataset(file_name, netcdf_mode, format='NETCDF3_64BIT') 51 52 51 if netcdf_mode == 'wl' : 52 return Dataset(file_name, 'w', format='NETCDF3_64BIT') 53 else: 54 return Dataset(file_name, netcdf_mode, format='NETCDF3_64BIT') 55 56 # from netCDF4 import Dataset 57 # return Dataset(file_name, netcdf_mode, format='NETCDF3_64BIT') 53 58 54 59 #return Dataset(file_name, netcdf_mode, format='NETCDF3_CLASSIC')
Note: See TracChangeset
for help on using the changeset viewer.