Forum Replies Created
-
AuthorPosts
-
September 13, 2022 at 2:12 pm in reply to: Running API in python – RAS is closed before it has time to run in loop #16204Kathleen H.Participant
For those who run into the same issue – I resolved this by defining the three arguments needed in Compute_CurrentPlan(). The third argument is Blocking Mode and when set to True, the code waits for the RAS computation to complete before moving to the next line of code.
So use:
hec.Compute_CurrentPlan(None, None, True)I checked what was being seen by assigning a variable and then printing.
test = hec.Compute_CurrentPlan(None, None, True)
Print(test)Kathleen H.ParticipantThomas, I have been using reference points (added in the geometry editor before runnning), then nagivating to them in the hdf file using python to plot them. You could also navigate to a node or cell face of interest in the hdf file, alternatively.
- This reply was modified 2 years, 3 months ago by Kathleen H..
Kathleen H.ParticipantI realized this only happened for a certain geometry file within my model and a very wise coworker just helped me resolve the issue – if you select the box for Geometry Preprocessor in the Unsteady Flow Analysis window, it runs! I hope this helps others with the same problem.
Kathleen H.ParticipantHi there – I am getting a similar error that causes my model to crash. Error is below. I am trying to run a model that runs fine in 5.0.6, but gives these errors and crashes when I try to run it in 6.1. Any ideas on how to fix this?
HDF_ERROR trying to use HDF output file
Subroutine READ_UN_HDF_XS_TAB
HDF_ERROR trying to close HDF output file:
HDF5-DIAG: Error detected in HDF5 (1.8.11) thread 0:
#000: ..\..\src\H5G.c line 463 in H5Gopen2(): unable to open group
major: Symbol tableError starting unsteady simulation – Stopping compute process
Computations SummaryComputation Task Time(hh:mm:ss)
Completing Geometry <1
Completing Event Conditions <1
Unsteady Flow Computations <1
Complete Process 1
minor: Can’t open object
#001: ..\..\src\H5Gint.c line 320 in H5G__open_name(): group not found
major: Symbol table
minor: Object not found
#002: ..\..\src\H5Gloc.c line 430 in H5G_loc_find(): can’t find object
major: Symbol table
minor: Object not found
#003: ..\..\src\H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
major: Symbol table
minor: Object not found
#004: ..\..\src\H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
major: Symbol table
minor: Callback failed
#005: ..\..\src\H5Gloc.c line 385 in H5G_loc_find_cb(): object ‘Cross Sections’ doesn’t exist
major: Symbol table
minor: Object not foundKathleen H.ParticipantI asked the same question on this post and Chris replied that unfortunately he doesn’t think there is a way to get output specifically on a profile line from the HDF file. https://therassolution.kleinschmidtgroup.com/ras-post/controlling-hec-ras/#comment-8650
Kathleen H.ParticipantI am using Version 6.1 and trying to do the same – I do not see where values at profile lines are stored within the HDF file and I wonder if there is an output option to write the values at profiles lines to the hdf file to then be able to extract them. I have not found the solution yet, has anyone made progress on this issue?
-
AuthorPosts