Changeset 6530


Ignore:
Timestamp:
Mar 17, 2009, 2:30:07 PM (16 years ago)
Author:
jgriffin
Message:

updated export_results_max.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/australia_ph2/dampier/export_results_max.py

    r6443 r6530  
    2222directory = project.output_folder
    2323
    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'
     27time_dir4 = '20090311_153009_run_final_0_70454_1203_Bf_jgriffin'
     28time_dirs = [time_dir4]#,time_dir2,time_dir3,time_dir4] 
    2629
    2730cellsize = 250
     
    4952
    5053# one or more key strings from var_equations above
    51 var = ['elevation']
     54var = ['stage']
    5255
    5356######
     
    7982
    8083            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]
    8592     
    86            # asc_name = []   
     93            asc_name = []   
    8794               
    8895            for name in names:
     
    105112                            format = 'asc')
    106113
    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_outname
    112 ##            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.