Changeset 6670
- Timestamp:
- Mar 31, 2009, 2:33:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/geraldton/geraldton_rerun/export_results_max.py
r6569 r6670 22 22 directory = project.output_folder 23 23 24 ##time_dir1 = '20081217_101310_run_final_0_27283_250m_none_dt_kvanputt'25 ##time_dir2 = '20081217_115336_run_final_0_27283_250m_none_dp_kvanputt'26 ###time_dir1 = '20080924_123626_run_final_0_27283_250m_all_kvanputt' # This uses the 250m bathymetry with all interior polygons27 ###time_dir2 = '20080912_154716_run_final_0_27283_alpha0.1_kvanputt' # This uses original bathyemetry data28 ###time_dir3 = '20080924_123601_run_final_0_27283_250m_none_kvanputt' # This uses the 250m bathymetry without any interior polygons29 ##time_dirs = [time_dir1, time_dir2]#, time_dir3]30 24 31 time_dir1 = '20090 130_165532_run_final_0.6_27255_extend_dt_kvanputt'32 ##time_dir2 = '20081211_162311_run_final_0_27255_alpha0.1_kvanputt'33 ##time_dir3 = '20081211_162346_run_final_0_68693_alpha0.1_kvanputt'34 ##time_dir4 = '20081211_162433_run_final_0.6_68693_alpha0.1_kvanputt'35 ##time_dir5 = '20081211_162656_run_final_0.6_27283_alpha0.1_kvanputt'36 ##time_dir6 = '20081211_162744_run_final_0_27283_alpha0.1_kvanputt'37 ## 38 time_dirs = [time_dir1 ] #5, time_dir4]# , time_dir4, time_dir5, time_dir6]25 time_dir1 = '20090324_134504_run_final_0.6_27255_Bt_kvanputt' 26 time_dir2 = '20090324_140411_run_final_0.6_27283_Bt_kvanputt' 27 time_dir3 = '20090324_140741_run_final_0.6_68693_Bt_kvanputt' 28 time_dir4 = '20090327_155230_run_final_0_68693_Bt_kvanputt' 29 time_dir5 = '20090327_160022_run_final_0_27283_Bt_kvanputt' 30 time_dir6 = '20090327_160043_run_final_0_27255_Bt_kvanputt' 31 32 time_dirs = [time_dir1, time_dir2, time_dir3] 39 33 40 34 41 cellsize = 25042 ##cellsize = 5 35 #cellsize = 250 36 cellsize = 10 43 37 44 38 #timestep = None # None means no timestep! … … 49 43 ###### 50 44 51 #area = ['Bunbury', 'Busselton'] # strings must match keys in var_equations below52 area = ['All'] # 'All' means no special areas - the whole thing45 area = ['CBD'] # strings must match keys in var_equations below 46 #area = ['All'] # 'All' means no special areas - the whole thing 53 47 54 48 ###### … … 63 57 64 58 # one or more key strings from var_equations above 65 var = [' elevation']59 var = ['depth', 'speed'] 66 60 67 61 ###### … … 93 87 94 88 name1 = join(directory, time_dir, project.scenario_name) 95 #name2 = join(directory, time_dir, project.scenario_name)+'_time_39600_0' 96 #name3 = join(directory, time_dir, project.scenario_name)+'_time_79200_0' 97 98 names = [name1] #, name2]#, name3] 89 name2 = join(directory, time_dir, project.scenario_name)+'_time_42900_0' 90 91 names = [name1, name2] 99 92 100 #asc_name = []93 asc_name = [] 101 94 102 95 for name in names: … … 119 112 format = 'asc') 120 113 121 ##asc_name.append(outname + '.asc')122 ##123 ##maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'124 ## 125 ##print 'max asc outname ', maxasc_outname126 ##print 'asc_name ', str(asc_name)127 ##128 ##MaxAsc(maxasc_outname, asc_name)114 asc_name.append(outname + '.asc') 115 116 maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc' 117 118 print 'max asc outname ', maxasc_outname 119 print 'asc_name ', str(asc_name) 120 121 MaxAsc(maxasc_outname, asc_name)
Note: See TracChangeset
for help on using the changeset viewer.