r/HECRAS • • Oct 02 '26

Corrupted file. Different content when I tried opening .PRJ file

Post image

Hi everyone. I came upon a problem. So i tried opening my project from a removable hdd. but the main window only recognize the location but it never open the project.

So i tried opening the .prj file. It seems completely different to what I usually see, when i tried doing this the first time it happened to me.

I compared the content to the previous version of this project and I am a bit lost. I suppose I would just change the contents to the normal one where all the plans and other input files are listed? I am almost at the end of doing the result analysis and just collecting the data from my simulation results then this happened.

Any suggestions to avoid these things happening again, hecras files being destroyed/corrupted? It might be because I am working on a removable drive, but I am working hybrid setup. If I work in our virtual drive it works very slow. I tried copying and pasting from office desktop to a removable drive but I think it's not efficient and sometimes some layers tend to disappear, like the Landuse layer, etc.

Thanks everyone for any feedback,.

1 Upvotes

2 comments sorted by

2

u/OttoJohs Lord Sultan Chief H&H Engineer, PE & PH Oct 02 '26

Yeah, I wouldn't use a removable storage disk for any modeling project. It looks like you might be able to copy/paste the .prj file into the new location and it might work.

Going forward, if you are going to move projects between different locations, I would recommend the "zip plan" option under the main HEC-RAS window. That is going to pull in all the correct inputs (out outputs) if they are (incorrectly) located outside the main project folder.

The larger issue is how you and your company want to handle modeling projects. Unfortunately, the current versions of HEC-RAS don't work with cloud computing since there are conflicts with file versioning going back/forth from the cloud. There are two typical practices that I see (I use a combination of both in my work):

  1. Use your personal machine to do the modeling then zip/archive to a network server. This works well if for modeling project when you aren't too worried about running into multiple versions. Things like a single person is generating the model (then pass off for QA/QC) typically for smaller, self-contained projects. Obviously, the drawback is that you can lose models and versioning control. I see this happen often on long-term projects. Things like you submit a project and the primary modeler moves on or is on other projects. There might be multiple versions that you can't figure out what is current or missing data that is lost somewhere.
  2. Get a dedicated modeling computer ("work station" with periodic backup) and have users remote into it. This is good for larger modeling projects where there can be multiple collaborators and less risk of version control since you don't need to shuffle projects around. Obviously, the drawback is that you can have a bottleneck on the work station if you have lots of modeling projects and more costs associated with the computer and network.

1

u/Common-Statement-114 Oct 03 '26

Hi u/OttoJohs , Good to know about this thing about the cloud computing struggle of current version of hecras! and thanks a lot for sharing this work flow, i would be doing this from now on, plus I will add on it like a spreadsheet list of the versions to help me keep in track of those. Right now, I am solely responsible of hydraulic modelling in our team so, might be a bit easier on this part of following through the different versions. Really appreciate your help, man!