Skip to content

StructuredData.to_binary assumes there is only a single data set (which is named data_array) #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
agzimmerman opened this issue Oct 29, 2021 · 0 comments

Comments

@agzimmerman
Copy link

agzimmerman commented Oct 29, 2021

I stumbled on this now while trying to push volume data to Liquid Earth. The StructuredData has five data sets named Features and Properties, X, Y, and Z. I talked to @Leguark and the bug looks obvious enough (as summarized in this title). For now I will proceed without modifying Subsurface because I can create a new StructuredData with only one data array (e.g. data_array = ss.StructuredData.from_numpy(geo_model.solutions.s_regular_grid.data.property_matrix.data) and achieve my current goal.

@agzimmerman agzimmerman changed the title StructuredData.to_binary assumes there is only a single data set (which is named data_array) StructuredData.to_binary assumes there is only a single data set (which is named data_array) Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant