extend converter to convert user data
extend feflowlib to be able to convert user data from feflow file. User data in the feflow data can store data that are not necessary for the feflow simulation.
Merge request reports
Activity
added workflowplease review label
requested review from @TobiasMeisel
added 1 commit
- fa54e185 - use exception for the case that no user data exist
requested review from @FZill
@FZill, @TobiasMeisel any objections?
I think you could boil the code down to something like.
def fetch_data(user_data, geom_type, val_type): return [x[1] for x in user_data if x[3] == geom_type and x[2] == val_type] ... distr=fetch_data(user_data, "NODAL", "DISTRIBUTION"), expr=fetch_data(user_data, "NODAL", "EXPRESSION"), ... distr=fetch_data(user_data, "ELEMENTAL", "DISTRIBUTION") expr=fetch_data(user_data, "ELEMENTAL", "EXPRESSION"),
added 1 commit
- d79a59ae - use exception for the case that no user data exist
@FZill I added your suggestion
Is there anything else? If not, lets merge!
added 4 commits
-
d79a59ae...5463c365 - 2 commits from branch
ogs/tools:main
- 23a57a02 - extend converter to convert user data
- b73e9b78 - use exception for the case that no user data exist
-
d79a59ae...5463c365 - 2 commits from branch
enabled an automatic merge when the pipeline for b73e9b78 succeeds
mentioned in commit 2186d090
Please register or sign in to reply