def gettopo(): """ Retrieve the topo file from the GeoClaw repository. """ remote_directory = 'http://kingkong.amath.washington.edu/topo/etopo2' topo_fname = 'etopo10min120W60W60S0S.asc' topotools.get_topo(topo_fname, remote_directory)
def gettopo(): """ Retrieve the topo file from the GeoClaw repository. """ remote_directory = 'http://www.clawpack.org/geoclaw/topo/etopo' topo_fname = 'etopo10min120W60W60S0S.asc' topotools.get_topo(topo_fname, remote_directory)
def gettopo(): """ Retrieve the topo file from the GeoClaw repository. """ remote_directory = "http://kingkong.amath.washington.edu/topo/okushiri" files = "AO15.tt1 MO01.tt1 OK03.tt1 OK24.tt1 MB05.tt1 OK08.tt1 HNO1993.txyz".split() for file in files: topotools.get_topo(file, remote_directory)
def gettopo(): """ Retrieve the topo file from the GeoClaw repository. """ remote_directory = 'http://kingkong.amath.washington.edu/topo/okushiri' files = "AO15.tt1 MO01.tt1 OK03.tt1 OK24.tt1 MB05.tt1 OK08.tt1 HNO1993.txyz \ OK24T.tt1 OK24R.tt1 OK24B.tt1 OK24L.tt1".split() for file in files: topotools.get_topo(file, remote_directory)
def gettopo(): """ Retrieve the topo file from the GeoClaw repository. """ # Set environment variable CLAW_TOPO_DOWNLOAD=True to avoid prompts # before downloading. force = os.environ.get('CLAW_TOPO_DOWNLOAD', False) force = (force in [True,'True']) remote_directory = 'http://kingkong.amath.washington.edu/topo/Honshu' topo_fname = 'etopo1min139E148E36N45N.asc' topotools.get_topo(topo_fname, remote_directory, force) remote_directory = 'http://kingkong.amath.washington.edu/topo/Honshu' topo_fname = 'etopo4min122E160E20N50N.asc' topotools.get_topo(topo_fname, remote_directory, force)
from pyclaw.geotools import topotools except: print "*** Cannot find geotools module, make sure your PYTHONPATH" print "*** includes $CLAW/python directory." sys.exit() # Set environment variable CLAW_TOPO_DOWNLOAD=True to avoid prompts # before downloading. force = os.environ.get('CLAW_TOPO_DOWNLOAD', False) force = (force in [True,'True']) remote_directory = 'http://kingkong.amath.washington.edu/topo/Honshu' topo_fname = 'etopo1min139E148E36N45N.asc' topotools.get_topo(topo_fname, remote_directory, force) topo_fname = 'etopo1min139E147E34N41N.asc' topotools.get_topo(topo_fname, remote_directory, force) #----uncomment if available on king kong--------------- topo_fname = 'etopo1min200E210E18N22N.asc3' topotools.get_topo(topo_fname, remote_directory, force) topo_fname = 'etopo4min122E160E20N50N.asc' topotools.get_topo(topo_fname, remote_directory, force) topo_fname = 'etopo4min120E72W40S60N.asc' topotools.get_topo(topo_fname, remote_directory, force) #----uncomment if available on king kong---------------