10.07.2015 Views

Converting a NEXRAD Rainfall Map into a Flood Inundation Map by ...

Converting a NEXRAD Rainfall Map into a Flood Inundation Map by ...

Converting a NEXRAD Rainfall Map into a Flood Inundation Map by ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To programmatically accomplish this, the HMSCaller Application firstgenerates the Python text file containing the three command lines for opening,computing, and exiting HEC-HMS. This file is generated with the same filenameand at the same folder location as the HMS project. After the Python file iscreated, HMSCaller generates the batch file containing the command line forexecuting HEC-HMS using the Python file as the passing argument defining thename and location of the HMS project file to be executed.Once the batch and the Python file have been created the application usesthe ShellAndWait module (Shell command enhanced with theWaitForSingleObject function) to externally execute and monitor HEC-HMS. TheShell command is then used to execute the batch file that executes HMS using thePython file to contain the specific name and location of the HEC-HMS project tobe executed.4.1.5 The DSS to GDB Script ToolIn general, the DSS2GDB script tool is responsible for transferring timeseries data from an HEC-DSS file to a geodatabase time series table. This tool isrun after HEC-HMS has completed its simulation, and for the purpose of bringingthe runoff hydrograph time series <strong>into</strong> the geodatabase. The model buildercomponent describing this application is shown in Figure 4.13.109

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!