Changeset 6552


Ignore:
Timestamp:
Mar 19, 2009, 11:04:03 AM (16 years ago)
Author:
jgriffin
Message:

timestep = None

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/new_south_wales/batemans_bay/export_results_max.py

    r6427 r6552  
    2929##time_dirs = [time_dir1, time_dir2]#, time_dir3]
    3030
    31 time_dir1 = '20090225_153333_run_final_0_31821_jgriffin'
     31time_dir1 = '20090306_165253_run_final_0_58368_jgriffin'
    3232##time_dir2 = '20081211_162311_run_final_0_27255_alpha0.1_kvanputt'
    3333##time_dir3 = '20081211_162346_run_final_0_68693_alpha0.1_kvanputt'
     
    4242##cellsize = 5
    4343
    44 #timestep = None    # None means no timestep!
    45 timestep = 0
     44timestep = None    # None means no timestep!
     45##timestep = 0
    4646
    4747######
     
    6363
    6464# one or more key strings from var_equations above
    65 var = ['elevation']
     65var = ['elevation', 'stage', 'speed','depth']
    6666
    6767######
     
    9898            names = [name1] #, name2]#, name3]
    9999     
    100            # asc_name = []   
     100            asc_name = []   
    101101               
    102102            for name in names:
     
    119119                            format = 'asc')
    120120
    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_outname
    126 ##            print 'asc_name ', str(asc_name)
    127 ##           
    128 ##            MaxAsc(maxasc_outname, asc_name)
     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_outname
     126            print 'asc_name ', str(asc_name)
     127           
     128            MaxAsc(maxasc_outname, asc_name)
Note: See TracChangeset for help on using the changeset viewer.