Ignore:
Timestamp:
Nov 1, 2006, 5:01:22 PM (18 years ago)
Author:
nick
Message:

this should be a working version of the parallel code

File:
1 edited

Legend:

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

    r3877 r3905  
    6969#-------------------------------------------------------------------------------
    7070
     71'''
    7172# topography directory filenames
    7273onshore_dir_name = project.onshore_dir_name
     
    138139    mkdir (project.topographies_time_dir)
    139140G.export_points_file(project.combined_time_dir_name + '.pts')
    140 
     141'''
    141142#-------------------------------------------------------------------------
    142143# Convert URS to SWW file for boundary conditions
     
    149150print 'minlat=project.north_boundary, maxlat=project.south_boundary',project.north_boundary, project.south_boundary
    150151print 'minlon= project.west_boundary, maxlon=project.east_boundary',project.west_boundary, project.east_boundary
     152print ' maxlon=project.east',project.east
     153
     154#import sys; sys.exit()
    151155
    152156if access(project.boundaries_time_dir,F_OK) == 0:
    153157    mkdir (project.boundaries_time_dir)
     158'''
    154159urs2sww(boundaries_in_dir_name,basename_out= project.boundaries_time_dir_name,
    155160        minlat=project.south_boundary, maxlat=project.north_boundary,
     
    157162        mint=0, maxt= 35000,
    158163        verbose='true')
     164
     165
     166urs2sww(boundaries_in_dir_name, basename_out= project.boundaries_time_dir_name,
     167#        minlat=project.south, maxlat=project.north,
     168#        minlon= project.west, maxlon=project.east,
     169        minlat=project.south_boundary, maxlat=project.north_boundary,
     170        minlon= project.east_boundary, maxlon=project.west_boundary,
     171        mint=0, maxt= 35000,
     172        verbose='true')
    159173'''
    160174from caching import cache
     
    163177       project.boundaries_time_dir_name),
    164178      {'verbose': True,
    165        'minlat': project.south_boundary,
    166        'maxlat': project.north_boundary,
    167        'minlon': project.west_boundary,
    168        'maxlon': project.east_boundary,
     179#       'minlat': project.south_boundary,
     180#       'maxlat': project.north_boundary,
     181#       'minlon': project.west_boundary,
     182#       'maxlon': project.east_boundary,
     183#       'minlat': project.south,
     184#       'maxlat': project.north,
     185#       'minlon': project.west,
     186#       'maxlon': project.east,
    169187       'mint': 0, 'maxt': 35000,
    170188#       'origin': domain.geo_reference.get_origin(),
     
    175193       )
    176194#       dependencies = source_dir + project.boundary_basename + '.sww')
    177 '''        
    178 
    179 
    180 
    181 
    182 
    183 
    184 
    185 
     195   
     196
     197
     198
     199
     200
     201
     202
     203
Note: See TracChangeset for help on using the changeset viewer.