Importing local files #1001
Replies: 1 comment 3 replies
-
Hi @jc-barreto, thanks for your question. I hope I can clarify some things. The code you show in your example exports the surface points and orientation dataframes from an existing model. The problem here is that gempy processes input data and creates things like the nugget and the id. The actual format that gempy requires is a littel different: This was the part purely on format. Now to your orientation issue: gempy uses a Universal-Cokriging approach (see literature on fromt page if interested) which always requires orientations. There are a couple of workarounds however. Depending on your geometry and complexity of your model and the density of available input data, yyou can either Regarding output: Depends on which part of the model you want to export to Revit. The created surfac meshes are stored ing empy. You should be able to export them using maybe pyvista to a format that revit can reead but maybe we need more information on what specifically you want to export. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm new to GemPy and I'm trying to modify this example: GemPy Tutorial by simply modifying the G_x, G_y, and G_z coordinates because we often do not have this information beforehand. I am working with alluvium deposits solely for common foundation design (not in mining or oil and gas), and we only have data from boreholes. I would appreciate it if someone could help me understand and explore this further. I've watched several videos, but they often assume data from GitHub and include orientation information.
So:
How do I use local data? Is there are any examples of reading local data from boreholes? I attempted to export the data from the example as follows:
Then, I manually modified G_x, G_y, and G_z by setting them to 0 and created a new model using this data like this:
However, this results in an error because the exported data does not contain a "formation" column, which is required. I noticed that renaming the "id" column to "formation" allows the data to be read but triggers another error soon after. I'm confused as to why the code reads a file, modifies the column names, and then exports another file. Is that what's happening?
My goal is to create a simple model without fault and orientation data—only interpolating the borehole data to create a 3D model—and then export it to a format that can be read in Revit, as I mentioned in this question, could someone give me some insights in how to proceed?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions