Changeset 6498
- Timestamp:
- Mar 12, 2009, 10:57:08 AM (16 years ago)
- Location:
- anuga_work/production/australia_ph2/sydney
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/sydney/Arc_asc2raster_GDA94z56.py
r6288 r6498 31 31 ##time_dir1 = '20081031_133353_run_final_0.6_68693_alpha0.1_kvanputt' 32 32 ##time_dir2 = '20081031_133511_run_final_0_68693_alpha0.1_kvanputt' 33 time_dir3 = '20090 130_160955_run_final_0_7875_250m_vlarge_jgriffin'33 time_dir3 = '20090211_135851_run_final_0_7875_jgriffin' 34 34 #time_dir4 = '20090123_154945_run_final_0_7875_250m_small_jgriffin' 35 35 ##time_dir5 = '20081031_133841_run_final_0_27283_alpha0.1_kvanputt' … … 62 62 63 63 generate_filename = [] 64 input_ascii = glob.glob(folder + '* stage_max.asc')64 input_ascii = glob.glob(folder + '*max.asc') 65 65 print time_dir 66 66 -
anuga_work/production/australia_ph2/sydney/comparisons/export_results_max.py
r6298 r6498 20 20 directory = project_250m.output_dir 21 21 22 time_dir1 = '200902 06_152643_run_final_0_250m_large_jgriffin'22 time_dir1 = '20090210_162935_run_final_0_250m_vlarge_jgriffin' 23 23 #time_dir2 = '20090123_155045_run_final_0_7875_250m_large_jgriffin' 24 24 #time_dir3 = '20090123_154945_run_final_0_7875_250m_small_jgriffin' … … 80 80 81 81 name1 = directory+time_dir+sep+project_250m.scenario_name 82 83 names = [name1] 82 name2 = directory+time_dir+sep+project_250m.scenario_name+'_time_16680_0' 83 name3 = directory+time_dir+sep+project_250m.scenario_name+'_time_33360_0' 84 name4 = directory+time_dir+sep+project_250m.scenario_name+'_time_50040_0' 85 name5 = directory+time_dir+sep+project_250m.scenario_name+'_time_66720_0' 86 87 names = [name1, name2 , name3, name4, name5] 84 88 85 89 asc_name = [] -
anuga_work/production/australia_ph2/sydney/comparisons/project_250m.py
r6295 r6498 40 40 scenario_name = 'sydney' 41 41 scenario = 'sydney' 42 area = ' vlarge' #'small_b10'42 area = 'large' #'small_b10' 43 43 44 44 # Model specific parameters. One or all can be changed each time the … … 104 104 # Used in run_model.py 105 105 # Format for points easting,northing (no header) 106 interior_regions_data = [['coast_3km_buffer_' + area + '.csv', 10000]]106 interior_regions_data = [['coast_3km_buffer_' + area + '.csv', 50000]] 107 107 108 108 #------------------------------------------------------------------------------ -
anuga_work/production/australia_ph2/sydney/comparisons/run_sydney_250m.py
r6295 r6498 221 221 222 222 domain.set_boundary({'back': Br, 223 'side1': B t,224 'side2':B t,223 'side1': Bd, 224 'side2':Bd, 225 225 'ocean':Rb}) 226 226 -
anuga_work/production/australia_ph2/sydney/export_results_max.py
r6298 r6498 2 2 Generates ascii grids of nominated areas - 3 3 Input: sww file from run_pt_hedland.py 4 boundaries for grids from project _250m.py4 boundaries for grids from project.py 5 5 Outputs: ascii grids of specified variables 6 6 Stored in the 'outputs_dir' folder for respective .sww file … … 11 11 """ 12 12 13 import project _250m, os13 import project, os 14 14 import sys 15 15 from anuga.lib.maxasc.maxasc import MaxAsc … … 17 17 from anuga.shallow_water.data_manager import sww2dem 18 18 from os import sep 19 from os.path import join 19 20 20 directory = project_250m.output_dir 21 directory = project.output_folder 22 print directory 21 23 22 time_dir1 = '20090 206_150250_run_final_0_250m_large_jgriffin'23 #time_dir2 = '20090123_155045_run_final_0_7875_250m_large_jgriffin'24 time_dir1 = '20090311_145740_run_final_0_58152_2956_Tb_jgriffin' 25 time_dir2 = '20090311_145828_run_final_0_58152_2956_Bf_jgriffin' 24 26 #time_dir3 = '20090123_154945_run_final_0_7875_250m_small_jgriffin' 25 time_dirs = [time_dir1 ]#,time_dir2,time_dir3]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]27 time_dirs = [time_dir1,time_dir2]#,time_dir2,time_dir3]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 26 28 27 29 #cellsize = 20 … … 69 71 else: 70 72 try: 71 easting_min = eval('project _250m.xmin%s' % which_area)72 easting_max = eval('project _250m.xmax%s' % which_area)73 northing_min = eval('project _250m.ymin%s' % which_area)74 northing_max = eval('project _250m.ymax%s' % which_area)73 easting_min = eval('project.xmin%s' % which_area) 74 easting_max = eval('project.xmax%s' % which_area) 75 northing_min = eval('project.ymin%s' % which_area) 76 northing_max = eval('project.ymax%s' % which_area) 75 77 except AttributeError: 76 78 print 'Unrecognized area name: %s' % which_area … … 79 81 for time_dir in time_dirs: 80 82 81 name1 = directory+time_dir+sep+project_250m.scenario_name 82 #name2 = directory+time_dir+sep+project_250m.scenario_name+'_time_52620_0' 83 # name3 = directory+time_dir+sep+project_250m.scenario_name+'_time_78360_0' 83 name1 = join(directory, time_dir, project.scenario_name) 84 name2 = join(directory, time_dir, project.scenario_name)+'_time_66360_0' 85 #name3 = join(directory, time_dir, project.scenario_name)+'_time_33360_0' 86 #name4 = join(directory, time_dir, project.scenario_name)+'_time_50040_0' 87 #name5 = join(directory, time_dir, project.scenario_name)+'_time_66720_0' 84 88 85 names = [name1 ]#, name2] #, name3]89 names = [name1, name2]# , name3, name4, name5] 86 90 87 91 asc_name = [] … … 108 112 asc_name.append(outname + '.asc') 109 113 110 maxasc_outname = directory+time_dir+sep+project _250m.scenario_name+'_'+which_area+'_'+which_var+'_max.asc'114 maxasc_outname = directory+time_dir+sep+project.scenario_name+'_'+which_area+'_'+which_var+'_max.asc' 111 115 112 116 print 'max asc outname ', maxasc_outname -
anuga_work/production/australia_ph2/sydney/project.py
r6466 r6498 29 29 tide = 0 # difference between MSL and HAT 30 30 zone = 50 # specify zone of model 31 event_number = 6368# the event number or the mux file name31 event_number = 58326 # the event number or the mux file name 32 32 alpha = 0.1 # smoothing parameter for mesh 33 33 friction=0.01 # manning's friction coefficient … … 36 36 37 37 # index is only used when wave = Tb 38 index = 29 71# index from the PTHA39 wave = ' Tb' # Bf (sts wave) Tb (index wave)38 index = 2956 # index from the PTHA 39 wave = 'Bf' # Bf (sts wave) Tb (index wave) 40 40 41 41 setup = 'final' # This can be one of three values
Note: See TracChangeset
for help on using the changeset viewer.