Changeset 5655


Ignore:
Timestamp:
Aug 14, 2008, 9:16:08 AM (16 years ago)
Author:
kristy
Message:

updated

Location:
anuga_work/production
Files:
7 edited

Legend:

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

    r5647 r5655  
    55from os import sep
    66
    7 #time_dir = '20080630_104134_run_trial_0.6_exmouth_5449_kvanputt'
    8 #time_dir = '20080630_111936_run_trial_0.6_exmouth_4695_kvanputt'
    9 #time_dir = '20080630_112512_run_trial_0.6_exmouth_4743_kvanputt'
    10 #time_dir = '20080630_112830_run_trial_0.6_exmouth_4777_kvanputt'
    11 #time_dir = '20080630_114135_run_trial_0.6_exmouth_4901_kvanputt'
    12 #time_dir = '20080630_114503_run_trial_0.6_exmouth_4874_kvanputt'
    13 #time_dir = '20080630_114811_run_trial_0.6_exmouth_4990_kvanputt'
    14 #time_dir = '20080630_115238_run_trial_0.6_exmouth_5103_kvanputt'
    15 #time_dir = '20080630_115458_run_trial_0.6_exmouth_5185_kvanputt'
    16 #time_dir = '20080630_115757_run_trial_0.6_exmouth_5273_kvanputt'
    17 #time_dir = '20080707_164738_run_trial_0.6_exmouth_5120_kvanputt'
    18 #time_dir = '20080707_165101_run_trial_0.6_exmouth_5140_kvanputt'
    19 #time_dir = '20080707_165619_run_trial_0.6_exmouth_5160_kvanputt'
    20 #time_dir = '20080708_101451_run_trial_0.6_exmouth_4743_jsexton'
    21 #time_dir = '20080708_101731_run_trial_0.6_exmouth_4777_jsexton'
    22 #time_dir = '20080710_095410_run_trial_0.6_exmouth_4695_jsexton'
    23 time_dir = '20080807_102253_run_final_0.0_polyline_newExtent_kvanputt'
     7
     8time_dir = '20080812_165858_run_final_0.0_polyline_newExtent_kvanputt'
    249
    2510
  • anuga_work/production/geraldton/build_geraldton.py

    r5652 r5655  
    9292
    9393print'add all geospatial objects'
    94 G = G1 + G2 + G3 + G_off + G_off1 + G_off2 + G_off3 + G_off4
     94G = G1 + G2 + G3 + G_off + G_off1 + G_off2 + G_off3
    9595
    9696print'clip combined geospatial object by bounding polygon'
  • anuga_work/production/onslow_2008/export_results.py

    r5635 r5655  
    1313#time_dir = '20080725_173911_run_final_0.6_polyline_alpha0.1_kvanputt'
    1414#time_dir = '20080728_112519_run_final_0.6_polyline_alpha0.2_kvanputt'
    15 time_dir = '20080807_134943_run_final_0.0_polyline_alpha0.1_kvanputt'
     15time_dir = '20080812_165726_run_final_0.0_polyline_alpha0.1_kvanputt'
    1616
    1717cellsize = 25
    1818#cellsize = 150
    19 timestep = 0
     19#timestep = 0
    2020directory = project.output_dir
    2121name = directory+time_dir+sep+project.scenario_name
     
    3030print 'output dir:', name
    3131
    32 #var = [2,3,4] # depth and speed
     32var = [3,4] # depth and speed
    3333#var = [2] # depth
    34 var = [0,4] # stage and elevation
     34#var = [0,4] # stage and elevation
    3535
    3636
     
    7777        sww2dem(name, basename_out = outname,
    7878                    quantity = quantityname,
    79                     timestep = timestep,
     79                    #timestep = timestep,
    8080                    cellsize = cellsize,     
    8181                    #easting_min = project_grad.e_min_area,
  • anuga_work/production/perth/build_perth.py

    r5524 r5655  
    2525# Related major packages
    2626from anuga.shallow_water import Domain
    27 #from anuga.shallow_water import Dirichlet_boundary
    28 #from anuga.shallow_water import File_boundary
    29 #from anuga.shallow_water import Reflective_boundary
    3027from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts
    31 #from anuga.pmesh.mesh_interface import create_mesh_from_regions
    3228from anuga.geospatial_data.geospatial_data import *
    3329from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files
     
    138134import sys
    139135sys.exit()
    140 
    141 #-------------------------------------------------------------------------
    142 # Convert URS to SWW file for boundary conditions
    143 #-------------------------------------------------------------------------
    144 print 'starting to create boundary conditions'
    145 from anuga.shallow_water.data_manager import urs2sww, urs_ungridded2sww
    146 
    147 boundaries_in_dir_name = project.boundaries_in_dir_name
    148 print 'boundaries_in_dir_name',project.boundaries_in_dir_name
    149 
    150 
    151 #import sys; sys.exit()
    152 
    153 urs_ungridded2sww(project.boundaries_in_dir_name, project.boundaries_in_dir_name,
    154                   verbose=True, mint=4000, maxt=80000, zscale=1)
    155 
    156 
    157 
    158 
    159 
    160 
    161 
    162 
    163 
    164 
  • anuga_work/production/perth/export_results_all.py

    r5647 r5655  
    1111
    1212
    13 cellsize = 5
     13cellsize = 25
    1414#cellsize = 150
    1515#timestep = 0
  • anuga_work/production/perth/get_timeseries.py

    r5647 r5655  
    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='20080807_134943_run_final_0.0_polyline_alpha0.1_kvanputt'
     20timestamp='20080811_142505_run_final_0.0_polyline_alpha0.1_kvanputt'
    2121
    2222filename=project.output_dir+timestamp+sep+project.scenario_name+'.sww'
     
    2424
    2525sww2csv_gauges(filename,
    26                 #project.gauges_dir_name,
    27                 project.gauges_dir_name2,
     26                project.gauges_dir_name,
     27                #project.gauges_dir_name2,
    2828                quantities = ['stage','speed','depth','elevation'],
    2929                verbose=True)
  • anuga_work/production/perth/project.py

    r5647 r5655  
    8989topographies_in_dir = home+state+sep+scenario+sep+'elevation_final'+sep+'points'+sep
    9090topographies_dir = anuga_dir+'topographies'+sep
    91 #topographies_time_dir = topographies_dir+build_time+sep
    9291
    9392# input topo file location
     
    143142boundaries_dir_name = boundaries_dir + scenario_name # what it creates???
    144143boundaries_dir_mux = muxhome
    145 #boundaries_time_dir = anuga_dir+'boundaries'+sep+build_time+sep
    146 #boundaries_time_dir_name = boundaries_time_dir + boundaries_name  #Used by post processing
    147144
    148145#output locations
     
    152149output_run_time_dir_name = output_run_time_dir + scenario_name  #Used by post processing
    153150
    154 
    155151vertex_filename = output_run_time_dir + 'mesh_vertex.csv'
    156152
     
    167163buildings_filename = gauges_dir + 'Perth_resA.csv'
    168164buildings_filename_out = 'Perth_res_Project_modified.csv'
    169 
    170 
    171165
    172166###############################
Note: See TracChangeset for help on using the changeset viewer.