Changeset 3669 for anuga_work/production/hobart_2006/run_hobart.py
- Timestamp:
- Sep 26, 2006, 11:30:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/hobart_2006/run_hobart.py
r3661 r3669 69 69 70 70 # creates DEM from asc data - 12.5m 71 convert_dem_from_ascii2netcdf(onshore_dem_name, use_cache=True, verbose=True)71 #convert_dem_from_ascii2netcdf(onshore_dem_name, use_cache=True, verbose=True) 72 72 73 73 #creates pts file for onshore DEM - 12.5 74 dem2pts(onshore_dem_name,75 easting_min=project.eastingmin,76 easting_max=project.eastingmax,77 northing_min=project.northingmin,78 northing_max= project.northingmax,79 use_cache=True, verbose=True)74 #dem2pts(onshore_dem_name, 75 # easting_min=project.eastingmin, 76 # easting_max=project.eastingmax, 77 # northing_min=project.northingmin, 78 # northing_max= project.northingmax, 79 # use_cache=True, verbose=True) 80 80 81 81 # create DEM from asc data - 25m data … … 83 83 84 84 #creates pts file for onshore DEM - 25 85 dem2pts(onshore_dem_name_25, use_cache=True, verbose=True) 86 87 combine_rectangular_points_files(project.onshore_dem_name + '.pts', 88 project.onshore_dem_name_25 + '.pts', 89 project.all_onshore_dem_name + '.pts') 85 dem2pts(onshore_dem_name_25, 86 easting_min=project.eastingmin25, 87 easting_max=project.eastingmax25, 88 northing_min=project.northingmin25, 89 northing_max= project.northingmax25, 90 use_cache=True, verbose=True) 91 92 #combine_rectangular_points_files(project.onshore_dem_name + '.pts', 93 # project.onshore_dem_name_25 + '.pts', 94 # project.all_onshore_dem_name + '.pts') 90 95 91 96 print 'adding data sets' … … 110 115 Geospatial_data(file_name = project.offshore_dem_name_aho15 + '.xya')+\ 111 116 Geospatial_data(file_name = project.offshore_dem_name_aho16 + '.xya')+\ 112 Geospatial_data(file_name = project. all_onshore_dem_name+ '.pts')117 Geospatial_data(file_name = project.onshore_dem_name_25 + '.pts') 113 118 G.export_points_file(project.combined_dem_name + '.pts') 114 119 #Geospatial_data(file_name = project.all_onshore_dem_name + '.pts') 115 120 #---------------------------------------------------------------------------- 116 121 # Create the triangular mesh based on overall clipping polygon with a tagged … … 134 139 _ = cache(create_mesh_from_regions, 135 140 project.polyAll, 136 {'boundary_tags': {'bottom': [0], ' right': [1],137 'top ': [2], 'left': [3]},138 'maximum_triangle_area': 100000,141 {'boundary_tags': {'bottom': [0], 'bright': [1], 142 'topr': [2], 'top': [3], 'left': [4]}, 143 'maximum_triangle_area': 250000, 139 144 'filename': meshname}, 140 145 #'interior_regions': interior_regions}, … … 230 235 231 236 # for testing 232 domain.set_boundary( {'top ': Bd, 'left': Bd,233 'bottom': Bd, ' right': Bw} )237 domain.set_boundary( {'topr': Bd, 'left': Bd, 'top': Bd, 238 'bottom': Bd, 'bright': Bw} ) 234 239 235 240 #-------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.