Changeset 5647


Ignore:
Timestamp:
Aug 13, 2008, 8:22:53 AM (16 years ago)
Author:
kristy
Message:

updated

Location:
anuga_work/production
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/export_results.py

    r5575 r5647  
    2121#time_dir = '20080708_101731_run_trial_0.6_exmouth_4777_jsexton'
    2222#time_dir = '20080710_095410_run_trial_0.6_exmouth_4695_jsexton'
    23 time_dir = '20080717_092900_run_final_0_exmouth_newExtent_kvanputt'
     23time_dir = '20080807_102253_run_final_0.0_polyline_newExtent_kvanputt'
    2424
    2525
     
    2828timestep = 0
    2929directory = project.output_dir
    30 name = directory+sep+'test'+sep+time_dir+sep+project.scenario_name
     30name = directory+sep+time_dir+sep+project.scenario_name
    3131
    3232from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts
     
    8787                    quantity = quantityname,
    8888                    timestep = timestep,
    89                     cellsize = cellsize,     
     89                    cellsize = cellsize,
     90                    number_of_decimal_places = 4,
    9091                    #easting_min = project_grad.e_min_area,
    9192                    #easting_max = project_grad.e_max_area,
  • anuga_work/production/busselton/export_results_all.py

    r5445 r5647  
    66
    77
    8 time_dir = '20080619_092128_run_trial_0.6_exmouth_current_kvanputt'
     8time_dir = '20080807_102253_run_final_0.0_polyline_newExtent_kvanputt'
    99
    1010
    1111
    12 cellsize = 10
    13 #cellsize = 150
    14 timestep = 0
     12cellsize = 5
     13#timestep = 0
    1514directory = project.output_dir
    16 name = directory+'test'+sep+time_dir+sep+project.scenario_name # test folder take out!!
     15name = directory+time_dir+sep+project.scenario_name # test folder take out!!
    1716
    1817from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts
     
    4645        northing_max = project.ymaxDunsborough
    4746
    48    # var = [2,3,4] # depth and speed
    49 #var = [2] # depth
    50     var = [0,4]
     47    var = [2,3] # depth and speed
     48    #var = [2] # depth
     49    #var = [0,4]
    5150
    5251    for which_var in var:
     
    9291            sww2dem(name, basename_out = outname,
    9392                        quantity = quantityname,
    94                         timestep = timestep,
     93                        #timestep = timestep,
    9594                        cellsize = cellsize,     
    9695                        easting_min = easting_min,
  • anuga_work/production/busselton/get_timeseries.py

    r5610 r5647  
    1818#timestamp='20080724_121200_run_trial_0.6_polyline_alpha0.1_kvanputt'
    1919#timestamp='20080724_161830_run_final_0.6_polyline_alpha0.1_kvanputt'
    20 timestamp='20080804_044523_run_final_0.0_polyline_alpha0.1_kvanputt'
     20timestamp='20080807_102253_run_final_0.0_polyline_newExtent_kvanputt'
    2121
    2222filename=project.output_dir+timestamp+sep+project.scenario_name+'.sww'
  • anuga_work/production/busselton/project.py

    r5626 r5647  
    3535scenario = 'busselton_tsunami_scenario'
    3636
    37 tide = 0.0 #0.6
     37tide = 0.6
    3838
    3939alpha = 0.1
     
    9292offshore_name2 = 'Busselton_Digitised'
    9393offshore_name3 = 'Busselton_250m' # for areas that were heading to zero - 2005 Bathymetry grid
     94offshore_name4 = 'Bunbury_TIN' # for area within Bunbury 500 mesh less than zero generated from TIN
     95offshore_name5 = 'Busselton_TIN' # for area within Busselton 500 mesh less than zero generated from TIN
    9496
    9597
     
    113115offshore_in_dir_name2 = topographies_in_dir + offshore_name2 #Digitised Fairsheet
    114116offshore_in_dir_name3 = topographies_in_dir + offshore_name3 #250m
     117offshore_in_dir_name4 = topographies_in_dir + offshore_name4 #Bunbury TIN
     118offshore_in_dir_name5 = topographies_in_dir + offshore_name5 #Busselton TIN
    115119
    116120#output to anuga from build file
     
    124128offshore_dir_name2 = topographies_dir + offshore_name2
    125129offshore_dir_name3 = topographies_dir + offshore_name3
     130offshore_dir_name4 = topographies_dir + offshore_name4
     131offshore_dir_name5 = topographies_dir + offshore_name5
    126132
    127133#final topo files
     
    160166#gauges
    161167gauge_name = 'busselton.csv'
    162 gauge_name2 = 'thinned_MGA50+1.csv'
     168gauge_name2 = 'thinned_MGA50+1-1.csv'
    163169
    164170gauges_dir = home+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep
     
    191197res_bunbury = 500*res_factor
    192198
    193 poly_dunsborough = read_polygon(polygons_dir+'dunsborough_1km.csv')
    194 res_dunsborough = 500*res_factor
    195 
    196199poly_busselton2 = read_polygon(polygons_dir+'busselton_2km.csv')
    197200res_busselton2 = 10000*res_factor
     
    200203res_bunbury2 = 10000*res_factor
    201204
     205poly_island1 = read_polygon(polygons_dir+'island1.csv')
     206res_island1 = 10000*res_factor
     207
     208poly_island2 = read_polygon(polygons_dir+'island2.csv')
     209res_island2 = 10000*res_factor
     210
    202211
    203212interior_regions = [[poly_large,res_large],[poly_busselton,res_busselton],[poly_bunbury,res_bunbury]
    204                     ,[poly_dunsborough,res_dunsborough],[poly_busselton2,res_busselton2]
    205                     ,[poly_bunbury2,res_bunbury2]]
     213                    ,[poly_busselton2,res_busselton2],[poly_bunbury2,res_bunbury2]
     214                    ,[poly_island1, res_island1],[poly_island2, res_island2]]
    206215
    207216
  • anuga_work/production/onslow_2008/build_onslow.py

    r5635 r5647  
    6565offshore_in_dir_name1 = project.offshore_in_dir_name1
    6666offshore_in_dir_name2 = project.offshore_in_dir_name2
    67 ffshore_in_dir_name3 = project.offshore_in_dir_name3
     67offshore_in_dir_name3 = project.offshore_in_dir_name3
    6868offshore_in_dir_name4 = project.offshore_in_dir_name4
    6969
     
    9494
    9595#creates pts file for island DEM
     96dem2pts(onshore_dir_name, use_cache=True, verbose=True)
    9697dem2pts(island_dir_name, use_cache=True, verbose=True)
    97 dem2pts(island_dir_name1, use_cache=True, verbose=True)
     98
    9899
    99100print'create Geospatial data1 objects from topographies'
  • anuga_work/production/perth/export_results_all.py

    r5446 r5647  
    77#time_dir = '20080526_104946_run_final_0.6_test_kvanputt'
    88#time_dir = '20080530_170833_run_final_0.6_exmouth_kvanputt'
    9 time_dir = '20080619_115643_run_trial_0.6_exmouth_kvanputt'
     9time_dir = '20080807_134943_run_final_0.0_polyline_alpha0.1_kvanputt'
    1010
    1111
    1212
    13 cellsize = 10
     13cellsize = 5
    1414#cellsize = 150
    15 timestep = 0
     15#timestep = 0
    1616directory = project.output_dir
    1717name = directory+time_dir+sep+project.scenario_name
     
    5353        northing_max = project.ymaxRockingham
    5454
    55    # var = [2,3,4] # depth and speed
    56 #var = [2] # depth
    57     var = [0,4]
     55    var = [2,3] # depth and speed
     56    #var = [2] # depth
     57    #var = [0,4]
    5858
    5959    for which_var in var:
     
    9999            sww2dem(name, basename_out = outname,
    100100                        quantity = quantityname,
    101                         timestep = timestep,
     101                        #timestep = timestep,
    102102                        cellsize = cellsize,     
    103103                        easting_min = easting_min,
  • anuga_work/production/perth/get_timeseries.py

    r5607 r5647  
    1818#timestamp='20080724_121200_run_trial_0.6_polyline_alpha0.1_kvanputt'
    1919#timestamp='20080724_161830_run_final_0.6_polyline_alpha0.1_kvanputt'
    20 timestamp='20080804_044523_run_final_0.0_polyline_alpha0.1_kvanputt'
     20timestamp='20080807_134943_run_final_0.0_polyline_alpha0.1_kvanputt'
    2121
    2222filename=project.output_dir+timestamp+sep+project.scenario_name+'.sww'
  • anuga_work/production/perth/project.py

    r5626 r5647  
    3838
    3939
    40 tide = 0.0 #0.6
     40tide = 0.6
    4141
    4242alpha = 0.1
     
    157157#gauges
    158158gauge_name = 'perth.csv'
    159 gauge_name2 = 'thinned_MGA50+1.csv'
     159gauge_name2 = 'thinned_MGA50.csv'
     160
    160161
    161162gauges_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep
Note: See TracChangeset for help on using the changeset viewer.