Changeset 6530
- Timestamp:
- Mar 17, 2009, 2:30:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/dampier/export_results_max.py
r6443 r6530 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090130_165532_run_final_0.6_27255_extend_dt_kvanputt' 25 time_dirs = [time_dir1] 24 ##time_dir1 = '20090311_152848_run_final_0_70385_1203_Bf_jgriffin' 25 ##time_dir2 = '20090311_152929_run_final_0_70385_1203_Tb_jgriffin' 26 ##time_dir3 = '20090311_153009_run_final_0_70454_1203_Bf_jgriffin' 27 time_dir4 = '20090311_153009_run_final_0_70454_1203_Bf_jgriffin' 28 time_dirs = [time_dir4]#,time_dir2,time_dir3,time_dir4] 26 29 27 30 cellsize = 250 … … 49 52 50 53 # one or more key strings from var_equations above 51 var = [' elevation']54 var = ['stage'] 52 55 53 56 ###### … … 79 82 80 83 name1 = join(directory, time_dir, project.scenario_name) 81 #name2 = join(directory, time_dir, project.scenario_name)+'_time_39600_0' 82 #name3 = join(directory, time_dir, project.scenario_name)+'_time_79200_0' 83 84 names = [name1] #, name2]#, name3] 84 name2 = join(directory, time_dir, project.scenario_name)+'_time_13320_0' 85 name3 = join(directory, time_dir, project.scenario_name)+'_time_26640_0' 86 name4 = join(directory, time_dir, project.scenario_name)+'_time_39960_0' 87 name5 = join(directory, time_dir, project.scenario_name)+'_time_53280_0' 88 name6 = join(directory, time_dir, project.scenario_name)+'_time_66600_0' 89 name7 = join(directory, time_dir, project.scenario_name)+'_time_79920_0' 90 91 names = [name1, name2, name3,name4,name5,name6,name7] 85 92 86 #asc_name = []93 asc_name = [] 87 94 88 95 for name in names: … … 105 112 format = 'asc') 106 113 107 ##asc_name.append(outname + '.asc')108 ##109 ##maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'110 ## 111 ##print 'max asc outname ', maxasc_outname112 ##print 'asc_name ', str(asc_name)113 ##114 ##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.