Changeset 6758


Ignore:
Timestamp:
Apr 8, 2009, 10:07:10 AM (15 years ago)
Author:
myall
Message:

restoring 'zone' option for build_urs_boundary.py

Location:
anuga_work/production/australia_ph2
Files:
1 added
28 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/australia_ph2/adelaide/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/albany/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/bamaga/build_urs_boundary.py

    r6742 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/bamaga/run_multiple_events.py

    r6742 r6758  
    11"""This script executes models for a range of event numbers.
    22
    3 Events must have been created first
     3Events folders and event.list must have been created first from
     4the event selection program
    45"""
    56
  • anuga_work/production/australia_ph2/broome/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/bundaberg/build_urs_boundary.py

    r6743 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/cairns/build_urs_boundary.py

    r6744 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/carnarvon/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/ceduna/build_urs_boundary.py

    r6610 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/cooktown/build_urs_boundary.py

    r6745 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/dampier/build_urs_boundary.py

    r6394 r6758  
    139139                ordering_filename=project.urs_order,
    140140                weights=mux_weights,
    141                 zone=project.zone,
    142                 mean_stage=project.tide,
     141                central_meridian=project.central_meridian,
     142                zone=project.zone
    143143                verbose=True)
    144144    else:                           # a single mux stem file, assume 1.0 weight
     
    158158                ordering_filename=order_filename,
    159159                weights=mux_weights,
    160                 mean_stage=project.tide,
     160                central_meridian=project.central_meridian,
     161                zone=project.zone
    161162                verbose=True)
    162163
  • anuga_work/production/australia_ph2/darwin/build_urs_boundary.py

    r6610 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/esperance/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/eucla_motel/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/gold_coast/build_urs_boundary.py

    r6393 r6758  
    139139                ordering_filename=project.urs_order,
    140140                weights=mux_weights,
    141                 zone=project.zone,
    142                 mean_stage=project.tide,
     141                central_meridian=project.central_meridian,
     142                zone=project.zone
    143143                verbose=True)
    144144    else:                           # a single mux stem file, assume 1.0 weight
     
    158158                ordering_filename=order_filename,
    159159                weights=mux_weights,
    160                 mean_stage=project.tide,
     160                central_meridian=project.central_meridian,
     161                zone=project.zone
    161162                verbose=True)
    162163
  • anuga_work/production/australia_ph2/hobart/build_urs_boundary.py

    r6619 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/lockhart_river/build_urs_boundary.py

    r6746 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/lockhart_river/run_multiple_events.py

    r6746 r6758  
    11"""This script executes models for a range of event numbers.
    22
    3 Events must have been created first
     3Events folders and event.list must have been created first from
     4the event selection program
    45"""
    56
  • anuga_work/production/australia_ph2/lucinda/build_urs_boundary.py

    r6747 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/melbourne/build_urs_boundary.py

    r6692 r6758  
    9292# @param output_dir Directory to write STS data to.
    9393# @note 'event_file' is produced by EventSelection.
    94 def build_urs_boundary(event_file, output_dir,urs_file):
     94def build_urs_boundary(event_file, output_dir):
    9595    '''Build a boundary STS file from a set of MUX files.'''
    96     print 'reading', urs_file
     96
    9797    # if we are using an EventSelection multi-mux file
    9898    if project.multi_mux:
     
    137137        urs2sts(mux_filenames,
    138138                basename_out=output_dir,
    139                 ordering_filename=urs_file,
     139                ordering_filename=project.urs_order,
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    148149        weight_factor = 1.0
    149150        mux_weights = weight_factor*num.ones(len(mux_filenames), num.Float)
     151           
     152        order_filename = project.urs_order
    150153
    151 
     154        print 'reading', order_filename
    152155        # Create ordered sts file
    153156        urs2sts(mux_filenames,
    154157                basename_out=output_dir,
    155                 ordering_filename=urs_file,
     158                ordering_filename=order_filename,
    156159                weights=mux_weights,
    157160                central_meridian=project.central_meridian,
     161                zone=project.zone
    158162                verbose=True)
    159163
    160164    # report on progress so far
    161 ##    sts_file = os.path.join(project.event_folder, project.scenario_name)
    162     quantities, elevation, time = get_sts_gauge_data(output_dir, verbose=False)
     165    sts_file = os.path.join(project.event_folder, project.scenario_name)
     166    quantities, elevation, time = get_sts_gauge_data(sts_file, verbose=False)
    163167    print len(elevation), len(quantities['stage'][0,:])
    164168
  • anuga_work/production/australia_ph2/perth/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/portland/build_urs_boundary.py

    r6716 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/rockhampton/build_urs_boundary.py

    r6748 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/strahan/build_urs_boundary.py

    r6619 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/sydney/build_urs_boundary.py

    r6461 r6758  
    139139                ordering_filename=project.urs_order,
    140140                weights=mux_weights,
    141                 zone=project.zone,
    142                 mean_stage=project.tide,
     141                central_meridian=project.central_meridian,
     142                zone=project.zone
    143143                verbose=True)
    144144    else:                           # a single mux stem file, assume 1.0 weight
     
    158158                ordering_filename=order_filename,
    159159                weights=mux_weights,
    160                 mean_stage=project.tide,
     160                central_meridian=project.central_meridian,
     161                zone=project.zone
    161162                verbose=True)
    162163
  • anuga_work/production/australia_ph2/townsville/build_urs_boundary.py

    r6749 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
  • anuga_work/production/australia_ph2/townsville/run_multiple_events.py

    r6749 r6758  
    11"""This script executes models for a range of event numbers.
    22
    3 Events must have been created first
     3Events folders and event.list must have been created first from
     4the event selection program
    45"""
    56
  • anuga_work/production/australia_ph2/wyndham/build_urs_boundary.py

    r6618 r6758  
    140140                weights=mux_weights,
    141141                central_meridian=project.central_meridian,
     142                zone=project.zone
    142143                verbose=True)
    143144    else:                           # a single mux stem file, assume 1.0 weight
     
    158159                weights=mux_weights,
    159160                central_meridian=project.central_meridian,
     161                zone=project.zone
    160162                verbose=True)
    161163
Note: See TracChangeset for help on using the changeset viewer.