4.5 years later and here we’re finding this very frustrating. Check the terrain association and start a model running overnight, come back the next day and find it has run with the wrong terrain. In my case it always seems that if I set the terrain association, save, close and reopen HEC-RAS and it remembers the terrain association I’ll be able to run it successfully.
But I have a colleague with one particular project that is causing him trouble. He can change the terrain association, close and reopen, and it shows the correct terrain still, but when he runs a simulation the geometry changes back to the previous terrain association. Or if he has deleted that, it changes back to “Terrain.hdf”, which is the first terrain that was created in the project.
This happens reliably on his computer, but if we copy the project to my computer I can change the terrain association and run it fine.
Trying to investigate further, it seems the .prj and .rasmap files don’t store any information about terrain associations, it is simply written into the geometry .hdf file. But when my colleague changes the terrain association it isn’t written to the file, so when he closes and reopens I don’t know how RAS Mapper is remembering that he’s changed it…