Ignore:
Timestamp:
Dec 6, 2006, 5:35:00 PM (17 years ago)
Author:
sexton
Message:

updates for nsw slide modelling and cairns demo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/newcastle_2006/project_slide.py

    r4058 r4063  
    6262
    6363# Necessary if using point datasets, rather than grid
    64 on_offshore_dem_name = datadir + on_offshore_name
     64nsw_dem_name = datadir + nsw100
    6565offshore_dem_name2 = datadir + offshore_name2
    6666offshore_dem_name3 = datadir + offshore_name3
     
    7878
    7979# bounding polygon for study area
    80 polyAll = read_polygon(polygondir+'extentC.csv')
     80polyAll = read_polygon(polygondir+'extentC2.csv')
    8181
    8282print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0
     
    8787
    8888# newcastle digitized polygons
    89 poly_newcastle1 = read_polygon(polygondir+'.csv')
    90 poly_newcastle2 = read_polygon(polygondir+'.csv')
    91 poly_newcastle3 = read_polygon(polygondir+'.csv')
     89poly_local = read_polygon(polygondir+'local2.csv')
     90poly_newcastle = read_polygon(polygondir+'newcastle.csv')
    9291
    93 print 'Area of local polygon', polygon_area(poly_newcastle1)/1000000.0
    94 print 'Area of close polygon', polygon_area(poly_newcastle2)/1000000.0
    95 print 'Area of coastal polygon', polygon_area(poly_newcastle3)/1000000.0
     92print 'Area of local polygon', polygon_area(poly_local)/1000000.0
     93print 'Area of CBD polygon', polygon_area(poly_newcastle)/1000000.0
    9694
     95#plot_polygons([polyAll,poly_local,poly_newcastle],'fig',verbose=True)
    9796###################################################################
    9897# Clipping regions for export to asc and regions for clipping data
     
    10099
    101100# clipping for nsw grid for conversion
    102 eastingmin_nsw = 546000
    103 eastingmax_nsw = 350390
     101eastingmin_nsw = 350390
     102eastingmax_nsw = 546000
    104103northingmin_nsw = 6253970
    105104northingmax_nsw = 6424600
    106105
     106poly_surveyclip = read_polygon(polygondir+'surveyclip.csv')
     107
    107108# exporting asc grid
    108 eastingmin =
    109 eastingmax =
    110 northingmin =
    111 northingmax =
     109#eastingmin =
     110#eastingmax =
     111#northingmin =
     112#northingmax =
    112113
    113114###################################################################
Note: See TracChangeset for help on using the changeset viewer.