Changeset 9396


Ignore:
Timestamp:
Jan 13, 2015, 4:02:50 PM (10 years ago)
Author:
steve
Message:

Updated runcairns.py to unzip bathymetry file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/demos/cairns/runcairns.py

    r9264 r9396  
    3131# Convert ASC 2 DEM 2 PTS using source data and store result in source data
    3232#------------------------------------------------------------------------------
     33# Unzip asc from zip file
     34import zipfile as zf
     35if project.verbose: print 'Reading ASC from cairns.zip'
     36zf.ZipFile(project.name_stem+'.zip').extract(project.name_stem+'.asc')
     37
    3338# Create DEM from asc data
    3439anuga.asc2dem(project.name_stem+'.asc', use_cache=project.cache, verbose=project.verbose)
Note: See TracChangeset for help on using the changeset viewer.