Changeset 5362


Ignore:
Timestamp:
May 26, 2008, 9:41:47 AM (16 years ago)
Author:
kristy
Message:

updated, anuga directory structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/onslow_2006/run_onslow.py

    r3932 r5362  
    2525from anuga.shallow_water import Domain, Reflective_boundary, \
    2626                            Dirichlet_boundary, Time_boundary, File_boundary
    27 from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts
    28 from anuga.abstract_2d_finite_volumes.combine_pts import combine_rectangular_points_files
     27from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts, ferret2sww
     28#from anuga.abstract_2d_finite_volumes.combine_pts import combine_rectangular_points_files
    2929from anuga.geospatial_data.geospatial_data import *
    30 from anuga.abstract_2d_finite_volumes.util import Screen_Catcher
     30#from anuga.abstract_2d_finite_volumes.util import Screen_Catcher
     31#from anuga.shallow_water.data_manager import start_screen_catcher
    3132
    3233# Application specific imports
     
    3839#-------------------------------------------------------------------------------
    3940
    40 # creates copy of code in output dir if dir doesn't exist
     41### creates copy of code in output dir if dir doesn't exist
    4142if access(project.outputtimedir,F_OK) == 0 :
    4243    mkdir (project.outputtimedir)
     
    4546print'output dir', project.outputtimedir
    4647
    47 #normal screen output is stored in
    48 screen_output_name = project.outputtimedir + "screen_output.txt"
    49 screen_error_name = project.outputtimedir + "screen_error.txt"
    50 
    51 #used to catch screen output to file
    52 sys.stdout = Screen_Catcher(screen_output_name)
    53 #sys.stderr = Screen_Catcher(screen_output_name)
    54 sys.stderr = Screen_Catcher(screen_error_name)
    55 
    56 print 'USER:    ', project.user
     48###normal screen output is stored in
     49##screen_output_name = project.outputtimedir + "screen_output.txt"
     50##screen_error_name = project.outputtimedir + "screen_error.txt"
     51##
     52###used to catch screen output to file
     53##sys.stdout = Screen_Catcher(screen_output_name)
     54###sys.stderr = Screen_Catcher(screen_output_name)
     55##sys.stderr = Screen_Catcher(screen_error_name)
     56##
     57##print 'USER:    ', project.user
    5758
    5859#-------------------------------------------------------------------------------
     
    9697
    9798print'create G1'
    98 G1 = Geospatial_data(file_name = project.offshore_dem_name + '.xya')
     99G1 = Geospatial_data(file_name = project.offshore_dem_name + '.txt')
    99100print'create G2'
    100101G2 = Geospatial_data(file_name = project.onshore_dem_name + '.pts')
    101102print'create G3'
    102 G3 = Geospatial_data(file_name = project.coast_dem_name + '.xya')
     103G3 = Geospatial_data(file_name = project.coast_dem_name + '.txt')
    103104print'create G4'
    104105G4 = Geospatial_data(file_name = project.islands_dem_name + '.pts')
     
    184185#-------------------------------------------------------------------------------
    185186print 'start ferret2sww'
    186 from anuga.pyvolution.data_manager import ferret2sww
     187
    187188
    188189south = project.south
Note: See TracChangeset for help on using the changeset viewer.