Changeset 5804


Ignore:
Timestamp:
Oct 2, 2008, 11:30:42 AM (16 years ago)
Author:
kristy
Message:
 
Location:
anuga_work/production
Files:
12 edited

Legend:

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

    r5786 r5804  
    5050print 'number of sources', len(urs_filenames)
    5151
    52 if len(urs_filnames) = 10 #change per event
     52if len(urs_filenames) == 10: #change per event
    5353
    5454    weight_factor = 30.84050 #change per event
     
    6868            mean_stage=project.tide,
    6969            verbose=True)
    70 else print 'number of sources do not match event.list'
     70else:
     71    print 'number of sources do not match event.list'
    7172
    7273#------------------------------------------------------------------------------
     
    112113
    113114    minname = 'min_sts_stage.csv'
    114     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     115    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    115116    s = 'index, x, y, max_stage \n'
    116117    fid_min.write(s)   
  • anuga_work/production/busselton/build_boundary_27283.py

    r5786 r5804  
    8181print 'number of sources', len(urs_filenames)
    8282
    83 if len(urs_filnames) = 44 #change per event
     83if len(urs_filenames) == 44: #change per event
    8484
    8585# AS per David Burbidge email on Friday 4th July the mag 9.3 event
     
    104104            mean_stage=project.tide,
    105105            verbose=True)
    106 else print 'number of sources do not match event.list'
     106else:
     107    print 'number of sources do not match event.list'
    107108
    108109#------------------------------------------------------------------------------
     
    148149
    149150    minname = 'min_sts_stage.csv'
    150     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     151    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    151152    s = 'index, x, y, max_stage \n'
    152153    fid_min.write(s)   
  • anuga_work/production/busselton/project_250m.py

    r5793 r5804  
    5151finaltime=80000         # final time for simulation
    5252
    53 interior_mesh = 'all' # Can have 'all' or 'none' for Phase 2 study
     53interior_mesh = 'none' # Can have 'all' or 'none' for Phase 2 study
    5454
    5555setup='final'  # Final can be replaced with trial or basic.
  • anuga_work/production/carnarvon/build_boundary_27255.py

    r5790 r5804  
    5050print 'number of sources', len(urs_filenames)
    5151
    52 if len(urs_filnames) = 10 #change per event
     52if len(urs_filenames) == 10: #change per event
    5353
    5454    weight_factor = 30.84050 #change per event
     
    6868            mean_stage=project.tide,
    6969            verbose=True)
    70 else print 'number of sources do not match event.list'
     70else:
     71    print 'number of sources do not match event.list'
    7172
    7273#------------------------------------------------------------------------------
     
    112113
    113114    minname = 'min_sts_stage.csv'
    114     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     115    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    115116    s = 'index, x, y, max_stage \n'
    116117    fid_min.write(s)   
  • anuga_work/production/carnarvon/build_boundary_27283.py

    r5790 r5804  
    8181print 'number of sources', len(urs_filenames)
    8282
    83 if len(urs_filnames) = 44 #change per event
     83if len(urs_filenames) == 44: #change per event
    8484
    8585# AS per David Burbidge email on Friday 4th July the mag 9.3 event
     
    104104            mean_stage=project.tide,
    105105            verbose=True)
    106 else print 'number of sources do not match event.list'
     106else:
     107    print 'number of sources do not match event.list'
    107108
    108109#------------------------------------------------------------------------------
     
    148149
    149150    minname = 'min_sts_stage.csv'
    150     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     151    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    151152    s = 'index, x, y, max_stage \n'
    152153    fid_min.write(s)   
  • anuga_work/production/carnarvon/build_carnarvon.py

    r5790 r5804  
    111111    mkdir (project.topographies_dir)
    112112G.export_points_file(project.combined_dir_name + '.pts')
    113 #G.export_points_file(project.combined_dir_name + '.txt') #Use for comparision in ARC
     113G.export_points_file(project.combined_dir_name + '.txt') #Use for comparision in ARC
    114114
  • anuga_work/production/carnarvon/project_250m.py

    r5793 r5804  
    5151finaltime=80000         # final time for simulation
    5252
    53 interior_mesh = 'none' # Can have 'all' or 'none' for Phase 2 study
     53interior_mesh = 'all' # Can have 'all' or 'none' for Phase 2 study
    5454
    5555setup='final'  # Final can be replaced with trial or basic.
  • anuga_work/production/geraldton/build_boundary_27255.py

    r5798 r5804  
    5050print 'number of sources', len(urs_filenames)
    5151
    52 if len(urs_filnames) = 10 #change per event
     52if len(urs_filenames) == 10: #change per event
    5353
    5454    weight_factor = 30.84050 #change per event
     
    6363
    6464    urs2sts(urs_filenames,
    65             basename_out=os.path.join(project.boundaries_dir,scenario_name),
     65            basename_out=os.path.join(project.boundaries_dir_event,scenario_name),
    6666            ordering_filename=order_filename,
    67             zone=50, #enforcing zone 50
    6867            weights=weights,
    6968            mean_stage=project.tide,
    7069            verbose=True)
    71 
    72 else print 'number of sources do not match event.list'
     70else:
     71    print 'number of sources do not match event.list'
    7372
    7473#------------------------------------------------------------------------------
     
    114113
    115114    minname = 'min_sts_stage.csv'
    116     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     115    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    117116    s = 'index, x, y, max_stage \n'
    118117    fid_min.write(s)   
  • anuga_work/production/geraldton/build_boundary_27283.py

    r5798 r5804  
    8181print 'number of sources', len(urs_filenames)
    8282
    83 if len(urs_filnames) = 44 #change per event
     83if len(urs_filenames) == 44: #change per event
    8484
    8585# AS per David Burbidge email on Friday 4th July the mag 9.3 event
     
    101101            basename_out=os.path.join(project.boundaries_dir_event,scenario_name),
    102102            ordering_filename=order_filename,
    103             zone=50, #enforcing zone 50
    104103            weights=weights,
    105104            mean_stage=project.tide,
    106105            verbose=True)
    107 else print 'number of sources do not match event.list'
     106else:
     107    print 'number of sources do not match event.list'
    108108
    109109#------------------------------------------------------------------------------
     
    149149
    150150    minname = 'min_sts_stage.csv'
    151     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     151    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    152152    s = 'index, x, y, max_stage \n'
    153153    fid_min.write(s)   
  • anuga_work/production/geraldton/project_250m.py

    r5793 r5804  
    5151finaltime=80000         # final time for simulation
    5252
    53 interior_mesh = 'none' # Can have 'all' or 'none' for Phase 2 study
     53interior_mesh = 'all' # Can have 'all' or 'none' for Phase 2 study
    5454
    5555setup='final'  # Final can be replaced with trial or basic.
  • anuga_work/production/perth/build_boundary_27255.py

    r5784 r5804  
    11"""
    2 Script for building boundary to run a tsunami inundation scenario for Perth,
     2Script for building boundary to run a tsunami inundation scenario for perth,
    33WA, Australia.  The boundary is sourced from the National Hazard Map.
    44
     
    5050print 'number of sources', len(urs_filenames)
    5151
    52 if len(urs_filnames) = 10 #change per event
     52if len(urs_filenames) == 10: #change per event
    5353
    5454    weight_factor = 30.84050 #change per event
     
    6868            mean_stage=project.tide,
    6969            verbose=True)
    70 else print 'number of sources do not match event.list'
     70else:
     71    print 'number of sources do not match event.list'
    7172
    7273#------------------------------------------------------------------------------
     
    112113
    113114    minname = 'min_sts_stage.csv'
    114     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     115    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    115116    s = 'index, x, y, max_stage \n'
    116117    fid_min.write(s)   
  • anuga_work/production/perth/build_boundary_27283.py

    r5781 r5804  
    11"""
    2 Script for building boundary to run tsunami inundation scenario for Perth,
     2Script for building boundary to run tsunami inundation scenario for perth,
    33WA, Australia.  The boundary is based on the National Hazard Map.
    44
     
    8181print 'number of sources', len(urs_filenames)
    8282
    83 if len(urs_filnames) = 44 #change per event
     83if len(urs_filenames) == 44: #change per event
    8484
    8585# AS per David Burbidge email on Friday 4th July the mag 9.3 event
     
    104104            mean_stage=project.tide,
    105105            verbose=True)
    106 else print 'number of sources do not match event.list'
     106else:
     107    print 'number of sources do not match event.list'
    107108
    108109#------------------------------------------------------------------------------
     
    148149
    149150    minname = 'min_sts_stage.csv'
    150     fid_min = open(project.boundaries_dir_event+sep+maxname,'w')
     151    fid_min = open(project.boundaries_dir_event+sep+minname,'w')
    151152    s = 'index, x, y, max_stage \n'
    152153    fid_min.write(s)   
Note: See TracChangeset for help on using the changeset viewer.