Ignore:
Timestamp:
Jul 3, 2007, 4:28:38 PM (18 years ago)
Author:
sexton
Message:

minor updates for model interrogation

File:
1 edited

Legend:

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

    r4498 r4581  
    55from os import sep
    66
    7 time_dir = '20070426_045818_run' # HAT 1 in Dampier 10000 yr - CIPMA scenario
    8 #time_dir = '20070419_065050_run' # HAT 1 in Dampier 10000 yr
    9 #time_dir = '20070419_065018_run' # MSL 1 in Dampier 10000 yr
    10 #time_dir = '' # HAT 1 in Broome 10000 yr
    11 #time_dir = '' # MSL 1 in Broome 10000 yr
    12 #time_dir = '' # HAT 1 in Pt Hedland 10000 yr
    13 #time_dir = '' # MSL 1 in Pt Hedland 10000 yr
    14 #time_dir = '' # HAT 1 in Onslow 10000 yr
    15 #time_dir = '' # MSL 1 in Onslow 10000 yr
    16 #time_dir = '' # HAT 1 in Exmouth 10000 yr
    17 #time_dir = '' # MSL 1 in Exmouth 10000 yr
    18 cellsize = 20
     7#time_dir = '20070426_045818_run' # HAT 1 in Dampier 10000 yr - CIPMA scenario
     8#time_dir = '20070419_065050_run_final_2.4_dampier_nbartzis' # HAT 1 in Dampier 10000 yr
     9#time_dir = '20070419_065018_run_final_0.0_dampier_nbartzis' # MSL 1 in Dampier 10000 yr
     10#time_dir = '20070618_063824_run_final_2.4_onslow_nbartzis' # HAT 1 in Onslow 10000 yr
     11#time_dir = '20070618_050232_run_final_0.0_onslow_nbartzis' # MSL 1 in Onslow 10000 yr
     12#time_dir = '20070620_044413_run_final_2.4_exmouth_nbartzis' # HAT 1 in Exmouth 10000 yr
     13time_dir = '20070620_044352_run_final_0.0_exmouth_nbartzis' # MSL 1 in Exmouth 10000 yr
     14#time_dir = '20070618_063824_run_final_2.4_onslow_nbartzis' # HAT onslow
     15#time_dir = '20070618_050232_run_final_0.0_onslow_nbartzis' # MSL onslow
     16cellsize = 25
    1917timestep = None
    2018directory = project.output_dir
     
    2725
    2826#var = [2,3] # depth and speed
    29 var = [3]
     27var = [0,2,3]
    3028
    3129for which_var in var:
    3230    if which_var == 0:  # Stage
    33         outname = name + '_stage'
     31        outname = name + '_stage_dampier'
    3432        quantityname = 'stage'
    3533
     
    3937
    4038    if which_var == 2:  # Depth
    41         outname = name + '_depth_facility'
     39        outname = name + '_depth_dampier'
    4240        quantityname = 'stage-elevation' 
    4341
    4442    if which_var == 3:  # Speed
    45         outname = name + '_speed_facility'
     43        outname = name + '_speed_dampier'
    4644        quantityname = '(xmomentum**2 + ymomentum**2)**0.5/(stage-elevation+1.e-6/(stage-elevation))'  #Speed
    4745
    4846    if which_var == 4:  # Elevation
    49         outname = name + '_elevation'
     47        outname = name + '_elevation_dampier'
    5048        quantityname = 'elevation'  #Elevation
    5149
     
    7573                    timestep = timestep,
    7674                    cellsize = cellsize,     
    77                     #easting_min = project.e_min_area,
    78                     #easting_max = project.e_max_area,
    79                     #northing_min = project.n_min_area,
    80                     #northing_max = project.n_max_area,       
     75                    easting_min = project.e_min_area_d,
     76                    easting_max = project.e_max_area_d,
     77                    northing_min = project.n_min_area_d,
     78                    northing_max = project.n_max_area_d,       
    8179                    reduction = max,
    8280                    verbose = True,
Note: See TracChangeset for help on using the changeset viewer.