Ignore:
Timestamp:
Mar 31, 2009, 5:39:21 PM (16 years ago)
Author:
myall
Message:

running and exporting scripts

Location:
anuga_work/production/australia_ph2/strahan
Files:
2 edited

Legend:

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

    r6619 r6672  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090302_104336_run_final_0_27255_mhingee'
    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]
     24time_dir1 = '20090327_143655_run_final_0_64214_2044_Tb_None_mhingee'
     25time_dir2 = '20090327_143836_run_final_0_58337_2044_Tb_None_mhingee'
     26time_dir3 = '20090330_095007_run_final_0_68779_2044_Tb_None_mhingee'
     27time_dir4 = '20090330_095719_run_final_0_64214_2044_Bf_None_mhingee'
     28time_dir5 = '20090330_095845_run_final_0_58337_2044_Bf_None_mhingee'
     29time_dir6 = '20090330_143221_run_final_0_68779_2044_Bf_None_mhingee'
     30
     31time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
    3232 
    3333
     
    3636
    3737#timestep = None    # None means no timestep!
    38 timestep = 0
     38timestep = None
    3939
    4040######
     
    5656
    5757# one or more key strings from var_equations above
    58 var = ['elevation','stage']
     58var = ['stage','speed']
    5959
    6060######
     
    9191            names = [name1] #, name2]#, name3]
    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)
  • anuga_work/production/australia_ph2/strahan/project.py

    r6619 r6672  
    2828tide = 0                # difference between MSL and HAT
    2929central_meridian = 147.0 # Central meridian for projection (optional)
    30 event_number =     # the event number or the mux file name
    31 # main events: 64214 (sandwich 1.4e-5), 58337 (puysegur 3e-6),
     30event_number = 68779    # the event number or the mux file name
     31# main events: 64214 (sandwich 1.4e-5), 58337 (puysegur 3e-6), 68779 (sumatra 7.53-7)
    3232# others: 27295 (java 3e-7), 31817 (kermadec 5e-7), 46559 (midAmerica 4.2e-7)
    3333# 51460 (newHebrides 7e-7), 57477 (peru 5.4e-7), 65322 (shetland 3.6e-7),
    34 # 68779 (sumatra 7.53-7)
     34
    3535alpha = 0.1             # smoothing parameter for mesh
    3636friction=0.01           # manning's friction coefficient
     
    4040# index is only used when wave = Tb
    4141index = 2044            # index from the PTHA - Y2000 is 0.60374m
    42 wave = 'Tb'             # Bf (sts wave) Tb (index wave)
     42wave = 'Bf'             # Bf (sts wave) Tb (index wave)
    4343
    4444setup = 'final'         # This can be one of three values
     
    7777
    7878# Format for point is x,y,elevation (with header)
    79 point_filenames = ['grid250m_pts.txt',
    80                    'coast_250.txt'] # 250m grid 2005
     79point_filenames = ['grid_250m.txt'] # 250m grid 2005
    8180
    8281### Add csv header list to all files in point_filenames
     
    125124# Thinned ordering file from Hazard Map (geographic)
    126125# Format is index,latitude,longitude (with header)
    127 urs_order_filename = 'urs_order_austtg.csv'
     126urs_order_filename = 'urs_order.csv'
    128127
    129128# Landward bounding points
Note: See TracChangeset for help on using the changeset viewer.