Replies: 1 comment
-
|
I just found out how to improve performance alot! Instead of calling the res1d file inside my loop, I looked it up once, and then looped through that df to find groundlevel and MUID: terrain = res1d.nodes GroundL = pd.DataFrame() for i in range(len(all_node_df)): |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to extract groundlevel and other data (E.G. pipediameter, invertlevel) from the resultfile?
I have successfully made a for loop that iterates through all nodes and extracts the ground level from the Res1d.nodes file, but performance is poor :(
for i in range(len(all_node_df)):
GroundL[i] = res1d.nodes[all_node_df.index[i]].GroundLevel
Beta Was this translation helpful? Give feedback.
All reactions