<s> import arcpy <EOL> import os <EOL> import sys <EOL> currentPath = os . path . dirname ( __file__ ) <EOL> geodatabasePath = os . path . normpath ( os . path . join ( currentPath , r"<STR_LIT>" ) ) <EOL> scratchPath = geodatabasePath <EOL> toolboxesPath = os . path . normpath ( os . path . join ( currentPath , r"<STR_LIT>" ) ) <EOL> inputElevationURL = r"<STR_LIT>" <EOL> inputGDB = os . path . join ( geodatabasePath , "<STR_LIT>" ) <EOL> scratchGDB = os . path . join ( scratchPath , "<STR_LIT>" ) <EOL> outputGDB = scratchGDB <EOL> defaultGDB = scratchGDB <EOL> toolbox = os . path . join ( toolboxesPath , "<STR_LIT>" ) <EOL> def createScratch ( ) : <EOL> try : <EOL> arcpy . CreateFileGDB_management ( scratchPath , "<STR_LIT>" ) <EOL> except : <EOL> print ( "<STR_LIT>" ) <EOL> return <EOL> def deleteScratch ( ) : <EOL> try : <EOL> arcpy . Delete_management ( scratchGDB ) <EOL> except : <EOL> print ( "<STR_LIT>" ) <EOL> return </s>
