How to generate a 3D grid from a segy file? #238
Replies: 2 comments
-
Hi, see the README example for an example of 3D EAGE meshing. Just save a 3d numpy array as a pickle. The major issue is that the seismic community has refused to use data standards (eg NetCDF) that nearly every other geophysical discipline has adopted. I could not understand the 3D segy format and thus never implemented a reader for that. In any case if you know how to read this file format, feel free to submit a pull request with this example. If your domain is irregularly shaped (eg a brain), you can generate a signed distance function to represent it rather than use the standard shapes. There is another discussion of someone doing that to model the irregular free surface in 3d. Best of luck |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for reminding me. I went to see the part about 3D grid generation (Edge), and I used fread function of matlab to write 480 *480 *350 array data into Brain3D.bin in the form of binary (bin) file. File, but I still get an error when I run the program. The original data file is a regular cuboid (no irregular surface fluctuations). |
Beta Was this translation helpful? Give feedback.
-
I tried to generate a 3D grid from a segy file, but the program kept running with errors. Here is my program. Attached is the corresponding segy file. I find that using segy files is always np.ndim==2. In function read_segy, ny returns 0. How do I solve this problem? Brain3D.segy data is written by me through Matlab, which is an array of 480 *480 *350.
Brain3D.zip
Beta Was this translation helpful? Give feedback.
All reactions