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

changed event number

File:
1 edited

Legend:

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

    r6393 r6531  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090224_102606_run_trial_0_58362_kvanputt'
    25 ##time_dir2 = ''
    26 ##time_dir3 = ''
    27 ##time_dir4 = ''
    28 ##time_dir5 = ''
    29 ##time_dir6 = ''
    30 ##
    31 time_dirs = [time_dir1] #time_dir2]# , time_dir4, time_dir5, time_dir6]
    32  
     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 = '20090316_095609_run_final_0_51453_3727_Bf_jgriffin'
     28time_dirs = [time_dir4]#,time_dir2,time_dir3,time_dir4] 
    3329
    3430cellsize = 250
     
    5652
    5753# one or more key strings from var_equations above
    58 var = ['elevation']
     54var = ['stage']
    5955
    6056######
     
    8682
    8783            name1 = join(directory, time_dir, project.scenario_name)
    88             #name2 = join(directory, time_dir, project.scenario_name)+'_time_39600_0'
    89             #name3 = join(directory, time_dir, project.scenario_name)+'_time_79200_0'
    90 
    91             names = [name1] #, name2]#, name3]
     84            name2 = join(directory, time_dir, project.scenario_name)+'_time_21060_0'
     85            name3 = join(directory, time_dir, project.scenario_name)+'_time_42120_0'
     86            name4 = join(directory, time_dir, project.scenario_name)+'_time_63180_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]
    9292     
    93            # asc_name = []   
     93            asc_name = []   
    9494               
    9595            for name in names:
     
    112112                            format = 'asc')
    113113
    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)
     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.