Changeset 6040
- Timestamp:
- Dec 1, 2008, 11:44:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/geraldton/export_results_max.py
r5987 r6040 13 13 import project, os 14 14 import sys 15 from anuga.lib.maxasc.maxasc import MaxAsc 15 16 from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts 16 17 from anuga.shallow_water.data_manager import sww2dem 17 18 from os import sep 18 import maxasc 19 19 20 20 21 directory = project.output_dir 21 22 22 time_dir1 = '20081117_141 443_run_final_0.6_27283_alpha0.1_kvanputt'23 ##time_dir2 = '20081114_155508_run_final_0.6_27283_alpha0.1_kvanputt' Perth 24 ##time_dir3 = '20081114_155610_run_final_0.6_27255_alpha0.1_kvanputt'25 ##time_dir4 = '20081114_155642_run_final_0_27255_alpha0.1_kvanputt'26 ##time_dir5 = '20081114_155725_run_final_0_68693_alpha0.1_kvanputt'27 ##time_dir6 = '20081114_155802_run_final_0.6_68693_alpha0.1_kvanputt'23 time_dir1 = '20081117_141353_run_final_0_27283_alpha0.1_kvanputt' 24 time_dir2 = '20081117_141443_run_final_0.6_27283_alpha0.1_kvanputt' 25 time_dir3 = '20081117_141520_run_final_0_27255_alpha0.1_kvanputt' 26 time_dir4 = '20081117_141558_run_final_0.6_27255_alpha0.1_kvanputt' 27 time_dir5 = '20081117_141634_run_final_0_68693_alpha0.1_kvanputt' 28 time_dir6 = '20081117_141717_run_final_0.6_68693_alpha0.1_kvanputt' 28 29 29 time_dirs = [time_dir1 ] #, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]30 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 30 31 31 32 … … 85 86 86 87 name1 = directory+time_dir+sep+project.scenario_name 87 ## name2 = directory+time_dir+sep+project.scenario_name+'_time_39900_0' 88 ## name3 = directory+time_dir+sep+project.scenario_name+'_time_79800_0' 89 90 names = [name1] #, name2, name3] 88 name2 = directory+time_dir+sep+project.scenario_name+'_time_41820_0' 89 90 names = [name1, name2] 91 91 92 ##asc_name = []92 asc_name = [] 93 93 94 94 for name in names: … … 110 110 verbose = True, 111 111 format = 'asc') 112 ## 113 ##asc_name.append(outname + '.asc')114 ##115 ##maxasc_outname = directory+time_dir+sep+project.scenario_name+'_'+which_area+'_'+which_var+'_max.asc'116 ## 117 ##print 'max asc outname ', maxasc_outname118 ##print 'asc_name ', str(asc_name)119 ##120 ## maxasc.MaxAsc(maxasc_outname, asc_name)112 113 asc_name.append(outname + '.asc') 114 115 maxasc_outname = directory+time_dir+sep+project.scenario_name+'_'+which_area+'_'+which_var+'_max.asc' 116 117 print 'max asc outname ', maxasc_outname 118 print 'asc_name ', str(asc_name) 119 120 MaxAsc(maxasc_outname, asc_name)
Note: See TracChangeset
for help on using the changeset viewer.