Ignore:
Timestamp:
May 15, 2007, 4:13:58 PM (17 years ago)
Author:
nick
Message:

update broome

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/broome_2006/build_broome.py

    r4366 r4429  
    8383dem2pts(offshore_dir_name1, use_cache=True, verbose=True)
    8484dem2pts(offshore_dir_name2, use_cache=True, verbose=True)
    85 '''
     85
    8686print'create Geospatial data1 objects from topographies',onshore_dir_name + '.pts'
    8787G1 = Geospatial_data(file_name = onshore_dir_name + '.pts')
     
    110110print'export',project.combined_dir_name+'_unclipped' + '.txt'
    111111G.export_points_file(project.combined_dir_name+'_unclipped' + '.txt')
    112 '''
     112
    113113print'split'
    114114G_small, G_other = G_clipped.split(.10,verbose=True)
     
    120120G_small.export_points_file(project.combined_small_dir_name + '.txt')
    121121#G_clipped.export_points_file(project.combined_dir_name + '.xya')
    122 '''
    123122
    124 '''
     123
     124
    125125print'project.combined_dir_name + 1.xya',project.combined_dir_name + '1.xya'
    126126G_all=Geospatial_data(file_name = project.combined_dir_name + '1.xya')
     
    132132G_all_2.export_points_file(project.combined_dir_name+'_other1' + '.xya')
    133133
    134 
     134'''
    135135#-------------------------------------------------------------------------
    136136# Convert URS to SWW file for boundary conditions
    137137#-------------------------------------------------------------------------
    138 '''
     138print 'starting to create boundary conditions'
     139boundaries_in_dir_name = project.boundaries_in_dir_name
     140
     141from anuga.shallow_water.data_manager import urs2sww, urs_ungridded2sww
     142
     143print 'boundaries_in_dir_name',boundaries_in_dir_name
     144print 'project.boundaries_dir_name',project.boundaries_dir_name
     145
     146urs_ungridded2sww(boundaries_in_dir_name, project.boundaries_dir_name,
     147                  verbose=True, mint=4000, maxt=35000, zscale=1)
    139148
    140149
     
    143152
    144153
    145 
Note: See TracChangeset for help on using the changeset viewer.