Changeset 4081


Ignore:
Timestamp:
Dec 14, 2006, 3:57:12 PM (17 years ago)
Author:
nick
Message:

change to perth

Location:
anuga_work/production/perth_2006
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/perth_2006/build_perth.py

    r4080 r4081  
    5757print"project.bounding_polygon",project.bounding_polygon
    5858print"project.combined_dir_name",project.combined_dir_name
    59 
     59'''
    6060# topography directory filenames
    6161onshore_in_dir_name = project.onshore_in_dir_name
     
    120120G_clipped.export_points_file(project.combined_dir_name + '.xya')
    121121
     122'''
     123
     124G_all=Geospatial_data(file_name = project.combined_dir_name + '.xya')
     125print'split'
     126G_all_1, G_all_2 = G_all.split(.20)
     127print'export 1'
     128G_all_1.export_points_file(project.combined_dir_name+'_small' + '.xya')
     129print'export 2'
     130G_all_2.export_points_file(project.combined_dir_name+'_other' + '.xya')
    122131
    123132'''
  • anuga_work/production/perth_2006/project.py

    r4080 r4081  
    2727run_time = time+'_run'
    2828print 'gtime: ', gtime
     29
     30tide = 0.6
    2931
    3032#Making assumptions about the location of scenario data
     
    124126refzone = 50
    125127
    126 print "bounding_polygon", bounding_polygon
    127 print 'poly area', polygon_area(bounding_polygon)/1000000.0
    128 
    129128
    130129#Interior regions
     
    139138poly_penguin = read_polygon(polygons_dir+'penguin_pts.csv')
    140139#assert zone == refzone
     140
     141print "bounding_polygon", bounding_polygon
     142print 'Area of bounding poly', polygon_area(bounding_polygon)/1000000.0
     143print 'Area of pos20_neg20pts', polygon_area(poly_pos20_neg20)/1000000.0
     144print 'Area of poly_cbd', polygon_area(poly_cbd)/1000000.0
     145print 'Area of poly_penguin', polygon_area(poly_penguin)/1000000.0
    141146
    142147
Note: See TracChangeset for help on using the changeset viewer.