Changeset 6326


Ignore:
Timestamp:
Feb 13, 2009, 8:50:33 AM (16 years ago)
Author:
rwilson
Message:

Further cleanup, plus fix output dir error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/standardised_version/build_urs_boundary.py

    r6325 r6326  
    144144                verbose=True)
    145145    else:                           # a single mux stem file, assume 1.0 weight
    146         urs_filenames = [os.path.join(mux_dir, event_file)]
     146        mux_filenames = [os.path.join(mux_dir, event_file)]
    147147
    148148        weight_factor = 1.0
    149         weights = weight_factor*num.ones(len(urs_filenames), num.Float)
     149        mux_weights = weight_factor*num.ones(len(mux_filenames), num.Float)
    150150           
    151151        order_filename = project.order_filename_dir
     
    154154        # Create ordered sts file
    155155        print 'creating sts file'
    156         urs2sts(urs_filenames,
    157                 basename_out=os.path.join(project.boundaries_dir,
    158                                           project.scenario_name),
     156        urs2sts(mux_filenames,
     157                basename_out=output_dir,
    159158                ordering_filename=order_filename,
    160                 weights=weights,
     159                weights=mux_weights,
    161160                mean_stage=project.tide,
    162161                verbose=True)
Note: See TracChangeset for help on using the changeset viewer.