Changeset 3281


Ignore:
Timestamp:
Jul 6, 2006, 12:22:16 PM (19 years ago)
Author:
sexton
Message:

updated scripts for pt hedland - data received

Location:
production/pt_hedland_2006
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • production/pt_hedland_2006/project.py

    r3277 r3281  
    2626offshore_name2 = 'pt_hedland_offshore_points_fairsheet'
    2727
    28 # coastline developed from 30m DTED and aerial photography
    29 coast_name = 'pt_hedland_coastline_points_dted2_new'
     28# coastline developed from aerial photography and 1.5m DLI contour
     29#coast_name = 'pt_hedland_coastline_points_dted2_new'
     30coast_name = 'coast_with_extracted_z'
     31
    3032
    3133boundary_basename = 'SU-AU_clip'
     
    3941    home = getenv('INUNDATIONHOME') #Sandpit's parent dir
    4042#    python_home = getenv('PWD')     
    41     #user = basename(getenv('USERPROFILE'))
     43    user = getenv('USERPROFILE')
    4244    #print 'USER:', user
    4345else:
     
    7678
    7779meshname = meshdir + basename
    78 onshore_dem_name = datadir + onshore_name_dted
     80#onshore_dem_name = datadir + onshore_name_dted
     81onshore_dem_name = datadir + onshore_name_dli
    7982offshore_dem_name1 = datadir + offshore_name1
    8083offshore_dem_name2 = datadir + offshore_name2
  • production/pt_hedland_2006/run_pt_hedland.py

    r3274 r3281  
    6363
    6464# filenames
    65 onshore_dem_name = project.onshore_dem_name
    66 coast_dem_name = project.coast_dem_name
    67 offshore_points1 = project.offshore_dem_name1
    68 offshore_points2 = project.offshore_dem_name2
    6965meshname = project.meshname+'.msh'
    7066source_dir = project.boundarydir
     
    7268# fine data (clipping the points file to smaller area)
    7369# creates DEM from asc data
    74 convert_dem_from_ascii2netcdf(onshore_dem_name, use_cache=True, verbose=True)
     70convert_dem_from_ascii2netcdf(project.onshore_dem_name, use_cache=True, verbose=True)
    7571
    7672#creates pts file from DEM
    77 dem2pts(onshore_dem_name,
     73dem2pts(project.onshore_dem_name,
    7874        easting_min=project.eastingmin,
    7975        easting_max=project.eastingmax,
     
    105101
    106102region_res = 100000
    107 coast_res = 25000
    108 pt_hedland_res = 5000
     103coast_res = 2500
     104pt_hedland_res = 1500
    109105interior_regions = [[project.poly_pt_hedland, pt_hedland_res],
    110106                    [project.poly_region, region_res]]
Note: See TracChangeset for help on using the changeset viewer.