Changeset 8784
- Timestamp:
- Mar 28, 2013, 1:23:19 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 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') -
trunk/anuga_core/source/anuga_parallel/pymetis/test_metis.py
r8770 r8784 36 36 1,\ 37 37 3,) 38 print edgecut39 print epart40 print npart38 #print edgecut 39 #print epart 40 #print npart 41 41 epart_expected = array([2, 2, 0, 0, 0, 0], 'i') 42 42 npart_expected = array([0, 2, 2, 2, 0, 0, 0], 'i') … … 67 67 1,\ 68 68 2,) 69 print edgecut70 print epart71 print npart69 #print edgecut 70 #print epart 71 #print npart 72 72 epart_expected = array([1, 0, 0, 0, 1, 1], 'i') 73 73 npart_expected = array([0, 1, 1, 0, 0, 0, 1], 'i') … … 103 103 1,\ 104 104 3,) 105 print edgecut106 print epart107 print npart105 #print edgecut 106 #print epart 107 #print npart 108 108 epart_expected = array([0, 0, 0, 1, 2, 2, 2, 2, 1, 1], 'i') 109 109 npart_expected = array([0, 2, 0, 2, 1, 1, 2, 2, 0, 1], 'i') -
trunk/anuga_work/development/carrier_greenspan/produce_results.py
r8594 r8784 2 2 # import modules 3 3 #-------------------------------- 4 from fabricate import*4 from anuga_validation_tests.fabricate import ** 5 5 from validation_tests.utilities import run_validation_script 6 6
Note: See TracChangeset
for help on using the changeset viewer.