Changeset 3871 for anuga_work/production


Ignore:
Timestamp:
Oct 26, 2006, 10:38:48 AM (17 years ago)
Author:
nick
Message:

dampier updates

Location:
anuga_work/production/dampier_2006
Files:
3 edited

Legend:

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

    r3870 r3871  
    5252
    5353#normal screen output is stored in
    54 screen_output_name = project.outputtimedir + "screen_output.txt"
    55 screen_error_name = project.outputtimedir + "screen_error.txt"
     54screen_output_name = project.output_build_time_dir + "screen_output.txt"
     55screen_error_name = project.output_build_time_dir + "screen_error.txt"
    5656
    5757#used to catch screen output to file
     
    152152if access(project.boundaries_time_dir,F_OK) == 0:
    153153    mkdir (project.boundaries_time_dir)
    154 urs2sww(boundaries_in_dir_name,basename_out= project.boundaries_time_dir_name,
    155         minlat=project.south_boundary, maxlat=project.north_boundary,
    156         minlon= project.west_boundary, maxlon=project.east_boundary,
    157         mint=0, maxt= 35000,
    158         verbose='true')
     154#urs2sww(boundaries_in_dir_name,basename_out= project.boundaries_time_dir_name,
     155#        minlat=project.south_boundary, maxlat=project.north_boundary,
     156#        minlon= project.west_boundary, maxlon=project.east_boundary,
     157#        mint=0, maxt= 35000,
     158#        verbose='true')
     159       
     160cache(urs2sww,
     161      (boundaries_in_dir_name,
     162       basename_out= project.boundaries_time_dir_name),
     163      {'verbose': True,
     164       'minlat': project.south_boundary,
     165       'maxlat': project.north_boundary,
     166       'minlon': project.west_boundary,
     167       'maxlon': project.east_boundary,
     168       'mint': 0, 'maxt': 35000,
     169       'origin': domain.geo_reference.get_origin(),
     170       'mean_stage': project.tide,
     171#       'zscale': 1,                 #Enhance tsunami
     172       'fail_on_NaN': False,
     173       'inverted_bathymetry': True},
     174       verbose = True,
     175       )
     176#       dependencies = source_dir + project.boundary_basename + '.sww')
    159177       
    160178
  • anuga_work/production/dampier_2006/project.py

    r3870 r3871  
    3737boundaries_name = 'dampier'
    3838boundaries_source = 'test'
     39
     40tide = 0.0
    3941
    4042# topography file names
  • anuga_work/production/dampier_2006/run_dampier.py

    r3870 r3871  
    6565
    6666#normal screen output is stored in
    67 screen_output_name = project.outputtimedir + "screen_output.txt"
    68 screen_error_name = project.outputtimedir + "screen_error.txt"
     67screen_output_name = project.output_run_time_dir + "screen_output.txt"
     68screen_error_name = project.output_run_time_dir + "screen_error.txt"
    6969
    7070#used to catch screen output to file
     
    138138# Setup initial conditions
    139139#-------------------------------------------------------------------------
    140 tide = 2.4
     140tide = project.tide
    141141domain.set_quantity('stage', tide)
    142142domain.set_quantity('friction', 0.0)
Note: See TracChangeset for help on using the changeset viewer.