- Timestamp:
- Mar 27, 2013, 8:04:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/file_conversion/test_sww2dem.py
r8634 r8780 5 5 from anuga.shallow_water.shallow_water_domain import Domain 6 6 from anuga.config import netcdf_mode_r 7 from anuga.file.netcdf import NetCDFFile 7 8 8 9 from anuga.coordinate_transforms.geo_reference import Geo_reference, \ … … 85 86 86 87 import time, os 87 from Scientific.IO.NetCDF import NetCDFFile88 88 89 89 # Setup … … 124 124 125 125 # Check georeferencig: zone, xllcorner and yllcorner 126 assert fid.zone [0]== 56127 assert fid.xllcorner [0]== 308500128 assert fid.yllcorner [0]== 6189000126 assert fid.zone == 56 127 assert fid.xllcorner == 308500 128 assert fid.yllcorner == 6189000 129 129 130 130 … … 300 300 301 301 import time, os 302 from Scientific.IO.NetCDF import NetCDFFile303 302 304 303 #Create basic mesh (100m x 100m) … … 466 465 467 466 import time, os 468 from Scientific.IO.NetCDF import NetCDFFile469 467 470 468 #Setup … … 660 658 661 659 import time, os 662 from Scientific.IO.NetCDF import NetCDFFile663 660 664 661 #Setup … … 825 822 826 823 import time, os 827 from Scientific.IO.NetCDF import NetCDFFile828 824 829 825 #Setup … … 933 929 934 930 import time, os 935 from Scientific.IO.NetCDF import NetCDFFile936 931 937 932 #Setup … … 1038 1033 1039 1034 import time, os 1040 from Scientific.IO.NetCDF import NetCDFFile1041 1035 1042 1036 #Setup … … 1152 1146 1153 1147 import time, os 1154 from Scientific.IO.NetCDF import NetCDFFile1155 1148 1156 1149 #Setup mesh not coinciding with rectangle. … … 1298 1291 1299 1292 import time, os 1300 from Scientific.IO.NetCDF import NetCDFFile1301 1293 1302 1294 … … 1396 1388 1397 1389 import time, os 1398 from Scientific.IO.NetCDF import NetCDFFile1399 1390 1400 1391 base_name = 'tegp' … … 1527 1518 1528 1519 import time, os 1529 from Scientific.IO.NetCDF import NetCDFFile1530 1520 1531 1521 try: … … 1611 1601 1612 1602 import time, os 1613 from Scientific.IO.NetCDF import NetCDFFile1614 1603 1615 1604 try: … … 1747 1736 1748 1737 import time, os 1749 from Scientific.IO.NetCDF import NetCDFFile1750 1738 1751 1739 try:
Note: See TracChangeset
for help on using the changeset viewer.