Exporting/extracting HEC-RAS data using Python

Discussion created by scavey on Feb 8, 2013
Latest reply on May 21, 2013 by skulk001
I work with hundreds of HEC-RAS models, and typically I would open each one up to copy/paste a user-defined output table to a spreadsheet.  Then use some Visual Basic to manipulate to a way I want it - so time consuming!  Well, I've been making small programs with Python for the last few months and I want to experiment with HEC-RAS and see what I can figure out.  So my question is how do I go about extracting cross section data from a HEC-RAS model?

Is there a HEC-RAS python module I don't know about?  Do I have to 'hack' into the HEC-RAS program or .SDF export file?

I've always thought how incredible it would be to automate an export process, and I feel like there's got to be a way.  Any help or suggestions to lead me the right way is greatly appreciated.