Changeset 7002


Ignore:
Timestamp:
May 8, 2009, 2:22:03 PM (16 years ago)
Author:
myall
Message:
 
Location:
anuga_work/production/australia_ph2
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/australia_ph2/albany/export_results.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090408_201701_run_final_0_64344_1330_Tb__mhingee'
    25 time_dir2 = '20090421_165204_run_final_0_64344_1330_Tb_internal_mhingee'
     24time_dir1 = '20090507_164822_run_final_30_0_64344_1330_Tb__kvanputt'
     25time_dir2 = '20090507_115302_run_final_30_0_64344_1330_Tb_internal_kvanputt'
    2626##time_dir3 = ''
    2727##time_dir4 = ''
  • anuga_work/production/australia_ph2/albany/export_results_max.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090421_165204_run_final_0_64344_1330_Tb_internal_mhingee'
    25 ##time_dir2 = ''
    26 ##time_dir3 = ''
    27 ##time_dir4 = ''
     24time_dir1 = '20090507_115302_run_final_30_0_64344_1330_Tb_internal_kvanputt'
     25time_dir2 = '20090507_115824_run_final_30_0_27319_1330_Tb__kvanputt'
     26time_dir3 = '20090507_164822_run_final_30_0_64344_1330_Tb__kvanputt'
     27time_dir4 = '20090507_214813_run_final_30_0_46697_1330_Tb__kvanputt'
    2828##time_dir5 = ''
    2929##time_dir6 = ''
    3030
    31 time_dirs = [time_dir1]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
     31time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4]#, time_dir5, time_dir6]
    3232 
    3333
  • anuga_work/production/australia_ph2/bamaga/project.py

    r6975 r7002  
    3232    event_number = int(sys.argv[1])
    3333else:   
    34     event_number = 31975    # the event number or the mux file name
     34    event_number = 63735    # the event number or the mux file name
    3535
    3636event_number_list = [31975, 51390, 63735] # To piggy back multiple events
  • anuga_work/production/australia_ph2/bamaga/run_model.py

    r6979 r7002  
    9292# Boundary tags refer to project.landward_boundary
    9393# 4 points equals 5 segments start at N
    94 boundary_tags={'back': (num_ocean_segments+1),
     94boundary_tags={'back': [num_ocean_segments+1],
    9595               'side': [num_ocean_segments,
    9696                        num_ocean_segments+2,
  • anuga_work/production/australia_ph2/gold_coast/Arc_asc2raster_GDA94z50.py

    r6949 r7002  
    2525output_dir="anuga\\outputs\\"
    2626
    27 time_dir1 = '20090408_171713_run_final_0_50883_3727_Tb__kvanputt'
    28 time_dir2 = '20090409_054747_run_final_0_51318_3727_Tb__kvanputt'
    29 time_dir3 = '20090409_175154_run_final_0_51453_3727_Tb__kvanputt'
     27time_dir1 = '20090505_145250_run_final_0_31854_3727_Tb__lfountai'
     28time_dir2 = '20090506_045043_run_final_0_64479_3727_Tb__lfountai'
     29time_dir3 = '20090506_190156_run_final_0_50883_3727_Tb__lfountai'
    3030
    31 ##time_dir1 = '20090421_150448_run_final_0_50883_3727_Tb_internal_mhingee'
     31##time_dir1 = '20090508_112905_run_final_0_31854_3727_Tb_internal_mhingee'
    3232
    33 time_dirs = [time_dir1]#, time_dir2, time_dir3]
     33time_dirs = [time_dir1, time_dir2, time_dir3]
    3434
    3535for time_dir in time_dirs:
     
    4141##    ocean = scenario_dir + "map_work\\\port_hedland.gdb\\outlines\\initial_conditions_ocean"
    4242
    43 ##    print 'Process: Create File GDB'
    44 ##    gp.CreateFileGDB_management(folder, "raster")
     43    print 'Process: Create File GDB'
     44    gp.CreateFileGDB_management(folder, "raster")
    4545
    4646    gp.Workspace = raster_gbd
     
    5555
    5656    generate_filename = []
    57     input_ascii = glob.glob(folder + '*elevation.asc')
     57    input_ascii = glob.glob(folder + '*max.asc')
    5858
    5959    for infile in input_ascii:
  • anuga_work/production/australia_ph2/gold_coast/project.py

    r6966 r7002  
    5454
    5555
    56 internal_polygon = False
     56internal_polygon = True
    5757
    5858#-------------------------------------------------------------------------------
  • anuga_work/production/australia_ph2/hobart/export_results.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090424_121952_run_final_0_51204_2462_Tb__kvanputt'
    25 time_dir2 = '20090424_123250_run_final_0_51204_2462_Tb_internal_kvanputt'
     24time_dir1 = '20090507_111303_run_final_30_0_51204_2462_Tb__kvanputt'
     25time_dir2 = '20090507_111251_run_final_30_0_51204_2462_Tb_internal_kvanputt'
    2626##time_dir3 = ''
    2727##time_dir4 = ''
  • anuga_work/production/australia_ph2/hobart/export_results_max.py

    r6982 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090424_121952_run_final_0_51204_2462_Tb__kvanputt'
    25 time_dir2 = '20090424_123250_run_final_0_51204_2462_Tb_internal_kvanputt'
    26 time_dir3 = '20090424_122951_run_final_0_58212_2462_Tb__kvanputt'
    27 time_dir4 = '20090424_123104_run_final_0_64425_2462_Tb__kvanputt'
     24time_dir1 = '20090507_111303_run_final_30_0_51204_2462_Tb__kvanputt'
     25time_dir2 = '20090507_150745_run_final_30_0_58212_2462_Tb__kvanputt'
     26time_dir3 = '20090507_185058_run_final_30_0_64425_2462_Tb__kvanputt'
     27##time_dir4 = '20090507_111251_run_final_30_0_51204_2462_Tb_internal_kvanputt'
    2828
    29 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4]
     29time_dirs = [time_dir1, time_dir2, time_dir3]#, time_dir4]
    3030 
    3131
     
    8282        for time_dir in time_dirs:
    8383
    84             name = join(directory, time_dir, project.scenario_name)
    85                            
    86             outname = name + '_' + which_area + '_' + which_var
    87             quantityname = var_equations[which_var]
     84            name1 = join(directory, time_dir, project.scenario_name)
     85            name2 = join(directory, time_dir, project.scenario_name)+'_time_54840_0'
     86##            name3 = join(directory, time_dir, project.scenario_name)+'_time_26640_0'
     87##            name4 = join(directory, time_dir, project.scenario_name)+'_time_39960_0'
     88##            name5 = join(directory, time_dir, project.scenario_name)+'_time_53280_0'
     89##            name6 = join(directory, time_dir, project.scenario_name)+'_time_66600_0'
     90##            name7 = join(directory, time_dir, project.scenario_name)+'_time_79920_0'
     91           
     92            names = [name1, name2]#, name3,name4,name5,name6,name7]
     93     
     94            asc_name = []   
     95               
     96            for name in names:
     97                         
     98                outname = name + '_' + which_area + '_' + which_var
     99                quantityname = var_equations[which_var]
    88100
    89             print 'start sww2dem: time_dir=%s' % time_dir
     101                print 'start sww2dem: time_dir=%s' % time_dir
     102               
     103                sww2dem(name, basename_out = outname,
     104                            quantity = quantityname,
     105                            timestep = timestep,
     106                            cellsize = cellsize,     
     107                            easting_min = easting_min,
     108                            easting_max = easting_max,
     109                            northing_min = northing_min,
     110                            northing_max = northing_max,       
     111                            reduction = max,
     112                            verbose = True,
     113                            format = 'asc')
     114
     115                asc_name.append(outname + '.asc')
     116   
     117            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     118
     119            print 'max asc outname ', maxasc_outname
     120            print 'asc_name ', str(asc_name)
    90121           
    91             sww2dem(name, basename_out = outname,
    92                         quantity = quantityname,
    93                         timestep = timestep,
    94                         cellsize = cellsize,     
    95                         easting_min = easting_min,
    96                         easting_max = easting_max,
    97                         northing_min = northing_min,
    98                         northing_max = northing_max,       
    99                         reduction = max,
    100                         verbose = True,
    101                         format = 'asc')
     122            MaxAsc(maxasc_outname, asc_name)
    102123
  • anuga_work/production/australia_ph2/portland/export_results.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090409_001857_run_final_0_64322_1969_Tb__mhingee'
    25 time_dir2 = '20090421_153138_run_final_0_64322_1969_Tb_internal_mhingee'
     24time_dir1 = '20090507_112926_run_final_30_0_27289_1969_Tb__kvanputt'
     25##time_dir2 = ''
    2626##time_dir3 = ''
    2727##time_dir4 = ''
     
    2929##time_dir6 = ''
    3030##
    31 time_dirs = [time_dir1, time_dir2]# , time_dir4, time_dir5, time_dir6]
     31time_dirs = [time_dir1]#, time_dir2]# , time_dir4, time_dir5, time_dir6]
    3232 
    3333
  • anuga_work/production/australia_ph2/portland/export_results_max.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090421_153138_run_final_0_64322_1969_Tb_internal_mhingee'
    25 ##time_dir2 = ''
    26 ##time_dir3 = ''
     24time_dir1 = '20090507_112926_run_final_30_0_27289_1969_Tb__kvanputt'
     25time_dir2 = '20090507_113007_run_final_30_0_64322_1969_Tb_internal_kvanputt'
     26time_dir3 = '20090507_155610_run_final_30_0_58358_1969_Tb_internal_kvanputt'
    2727##time_dir4 = ''
    2828##time_dir5 = ''
    2929##time_dir6 = ''
    3030
    31 time_dirs = [time_dir1]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
     31time_dirs = [time_dir1, time_dir2, time_dir3]#, time_dir4]#, time_dir5, time_dir6]
    3232 
    3333
     
    8686
    8787            name1 = join(directory, time_dir, project.scenario_name)
    88 ##            name2 = join(directory, time_dir, project.scenario_name)+'_time_10740_0'
     88            name2 = join(directory, time_dir, project.scenario_name)+'_time_44430_0'
    8989##            name3 = join(directory, time_dir, project.scenario_name)+'_time_21480_0'
    9090##            name4 = join(directory, time_dir, project.scenario_name)+'_time_32220_0'
     
    9292##            name6 = join(directory, time_dir, project.scenario_name)+'_time_53700_0'
    9393
    94             names = [name1]#, name2, name3, name4, name5, name6]
     94            names = [name1, name2]#, name3, name4, name5, name6]
    9595     
    96 ##            asc_name = []   
     96            asc_name = []   
    9797               
    9898            for name in names:
     
    115115                            format = 'asc')
    116116
    117 ##                asc_name.append(outname + '.asc')
    118 ##   
    119 ##            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
    120 ##
    121 ##            print 'max asc outname ', maxasc_outname
    122 ##            print 'asc_name ', str(asc_name)
    123 ##           
    124 ##            MaxAsc(maxasc_outname, asc_name)
     117                asc_name.append(outname + '.asc')
     118   
     119            maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'
     120
     121            print 'max asc outname ', maxasc_outname
     122            print 'asc_name ', str(asc_name)
     123           
     124            MaxAsc(maxasc_outname, asc_name)
  • anuga_work/production/australia_ph2/strahan/export_results.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090408_152513_run_final_0_58337_2044_Tb__mhingee'
    25 time_dir2 = '20090421_151652_run_final_0_58337_2044_Tb_internal_mhingee'
     24time_dir1 = '20090507_111151_run_final_30_0_58337_2044_Tb__kvanputt'
     25time_dir2 = '20090507_111501_run_final_30_0_58337_2044_Tb_internal_kvanputt'
    2626##time_dir3 = ''
    2727##time_dir4 = ''
  • anuga_work/production/australia_ph2/strahan/export_results_max.py

    r6926 r7002  
    2222directory = project.output_folder
    2323
    24 time_dir1 = '20090421_151652_run_final_0_58337_2044_Tb_internal_mhingee'
    25 ##time_dir2 = ''
    26 ##time_dir3 = ''
    27 ##time_dir4 = ''
     24time_dir1 = '20090507_111151_run_final_30_0_58337_2044_Tb__kvanputt'
     25time_dir2 = '20090507_111501_run_final_30_0_58337_2044_Tb_internal_kvanputt'
     26time_dir3 = '20090507_122805_run_final_30_0_64214_2044_Tb_internal_kvanputt'
     27time_dir4 = '20090507_134426_run_final_30_0_68779_2044_Tb_internal_kvanputt'
    2828##time_dir5 = ''
    2929##time_dir6 = ''
    3030
    31 time_dirs = [time_dir1]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]
     31time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4]#, time_dir5, time_dir6]
    3232 
    3333
Note: See TracChangeset for help on using the changeset viewer.