Welcome to the RAS Solution Forums HEC-RAS Help HEC-2 to HEC-RAS (from pdf)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7723
    Chris
    Participant

    Hi
    I have a pdf file and I typed it into Excel and then made a *.dat file, which is here
    HEC-2

    When I’m trying to convert either the full file or just the geometry into HEC-RAS file it gives me the “Formatted Data Input Error” . I read all previous topics about it and couldn’t figure out how to solve it. Is there any subprogram that I can use to convert the file. BTW, I just need the cross sections. and one time removed all data except cross section and flow and I got the similar errors.

    Thanks

    GOAT_CREEK–125092–STUDY–HEC-2.dat

    #12892
    cameron
    Participant

    Just a quick look shows that about halfway down the dat file there is some text that looks like it was taken from the pdf and not removed. Try removing the PG 5 and Start of PDF PG 6 and see what happens.

    GR 18.6 2475 18.7 2480 0 0 0 0 0 0 PG 5

    SB 0 1.55 2.5 0 7.85 0 78.54 0 -2 -2 START PDF PG 6

    #12893
    Chris
    Participant

    Cameron,
    Thank you very much for your quick reply. Sorry that I didn’t remove that extra words from my shared file. But, removing those doesn’t help me. Do you have another solution?

    Thanks

    #12894
    cameron
    Participant

    Two things with your file.

    First, you copied the output file text which does not work as an input file.

    Second, HEC-2 uses spaces and not tabs. You will need to line up the spaces correctly. What I would do is get an example HEC-2 file and copy the spacing. There use to be some old dos programs that would help with checking the spacing, but not easy to find. Dodson and Associates has a window version you can purchase to help with this. I have not used it so not sure how well it works.

    http://www.dodson-hydro.com/software/hydropro/hydropro.htm

    #12895
    Chris
    Participant

    Cameron-Thank you very much for you valuable comment. It’s really helpful.
    Regards

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.