Ignore:
Timestamp:
May 29, 2007, 10:31:20 AM (17 years ago)
Author:
nick
Message:

updates to exmouth

Location:
anuga_work/production/exmouth_2006
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/exmouth_2006/build_exmouth.py

    r4483 r4509  
    2727from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts
    2828from anuga.geospatial_data.geospatial_data import *
    29 from anuga.abstract_2d_finite_volumes.util import start_screen_catcher, copy_code_files
     29from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files
    3030from anuga_parallel.parallel_abstraction import get_processor_name
    3131
  • anuga_work/production/exmouth_2006/project.py

    r4477 r4509  
    1111from anuga.utilities.system_tools import get_user_name, get_host_name
    1212
    13 codename = 'project.py'
     13#codename = 'project.py'
    1414
    1515home = getenv('INUNDATIONHOME') + sep +'data'+sep #Sandpit's parent dir   
     
    1717host = get_host_name()
    1818#needed when running using mpirun, mpirun doesn't inherit umask from .bashrc
    19 umask(002)
     19#umask(002)
    2020
    2121#Making assumptions about the location of scenario data
     
    3838starttime=3600
    3939finaltime=25000
    40 setup='trial'
     40setup='store'
    4141
    4242if setup =='trial':
     
    5555    time_thinning=1
    5656    yieldstep=60
     57if setup =='store':
     58    print'store'
     59    res_factor=10
     60    time_thinning=48
     61    yieldstep=240   
     62
    5763
    5864dir_comment='_'+setup+'_'+str(tide)+'_'+str(user)
  • anuga_work/production/exmouth_2006/run_exmouth.py

    r4482 r4509  
    3333
    3434from anuga.pmesh.mesh_interface import create_mesh_from_regions
    35 from anuga.abstract_2d_finite_volumes.util import start_screen_catcher, copy_code_files,store_parameters
     35from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files,store_parameters
    3636from anuga_parallel.parallel_api import distribute, numprocs, myid, barrier
    3737from anuga_parallel.parallel_abstraction import get_processor_name
     
    6565    kwargs['output_dir']=project.output_run_time_dir
    6666    kwargs['bathy_file']=project.combined_dir_name+'.txt'
    67 #    kwargs['bathy_file']=project.combined_small_dir_name + '.pts'
     67#    kwargs['bathy_file']=project.combined_small_dir_name + '.txt'
    6868    kwargs['boundary_file']=project.boundaries_in_dir_name + '.sww'
    6969
     
    246246    swwfile = kwargs['output_dir']+kwargs['aa_scenario_name']+'.sww'
    247247    buildings_filename = project.buildings_filename
    248     buildings_filename_out = file_loc + project.buildings_filename_out
     248    buildings_filename_out = project.buildings_filename_out
    249249               
    250250    inundation_damage(swwfile, buildings_filename, buildings_filename_out)
Note: See TracChangeset for help on using the changeset viewer.