Changeset 3871
- Timestamp:
- Oct 26, 2006, 10:38:48 AM (18 years ago)
- Location:
- anuga_work/production/dampier_2006
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/dampier_2006/build_dampier.py
r3870 r3871 52 52 53 53 #normal screen output is stored in 54 screen_output_name = project.output timedir + "screen_output.txt"55 screen_error_name = project.output timedir + "screen_error.txt"54 screen_output_name = project.output_build_time_dir + "screen_output.txt" 55 screen_error_name = project.output_build_time_dir + "screen_error.txt" 56 56 57 57 #used to catch screen output to file … … 152 152 if access(project.boundaries_time_dir,F_OK) == 0: 153 153 mkdir (project.boundaries_time_dir) 154 urs2sww(boundaries_in_dir_name,basename_out= project.boundaries_time_dir_name, 155 minlat=project.south_boundary, maxlat=project.north_boundary, 156 minlon= project.west_boundary, maxlon=project.east_boundary, 157 mint=0, maxt= 35000, 158 verbose='true') 154 #urs2sww(boundaries_in_dir_name,basename_out= project.boundaries_time_dir_name, 155 # minlat=project.south_boundary, maxlat=project.north_boundary, 156 # minlon= project.west_boundary, maxlon=project.east_boundary, 157 # mint=0, maxt= 35000, 158 # verbose='true') 159 160 cache(urs2sww, 161 (boundaries_in_dir_name, 162 basename_out= project.boundaries_time_dir_name), 163 {'verbose': True, 164 'minlat': project.south_boundary, 165 'maxlat': project.north_boundary, 166 'minlon': project.west_boundary, 167 'maxlon': project.east_boundary, 168 'mint': 0, 'maxt': 35000, 169 'origin': domain.geo_reference.get_origin(), 170 'mean_stage': project.tide, 171 # 'zscale': 1, #Enhance tsunami 172 'fail_on_NaN': False, 173 'inverted_bathymetry': True}, 174 verbose = True, 175 ) 176 # dependencies = source_dir + project.boundary_basename + '.sww') 159 177 160 178 -
anuga_work/production/dampier_2006/project.py
r3870 r3871 37 37 boundaries_name = 'dampier' 38 38 boundaries_source = 'test' 39 40 tide = 0.0 39 41 40 42 # topography file names -
anuga_work/production/dampier_2006/run_dampier.py
r3870 r3871 65 65 66 66 #normal screen output is stored in 67 screen_output_name = project.output timedir + "screen_output.txt"68 screen_error_name = project.output timedir + "screen_error.txt"67 screen_output_name = project.output_run_time_dir + "screen_output.txt" 68 screen_error_name = project.output_run_time_dir + "screen_error.txt" 69 69 70 70 #used to catch screen output to file … … 138 138 # Setup initial conditions 139 139 #------------------------------------------------------------------------- 140 tide = 2.4140 tide = project.tide 141 141 domain.set_quantity('stage', tide) 142 142 domain.set_quantity('friction', 0.0)
Note: See TracChangeset
for help on using the changeset viewer.