cigsegy
cigsegy copied to clipboard
Read a large segy file
Hi, thanks for your work, really appreciated!
One question: when I'm reading a large segy file, using this line:
from cigsegy import SegyNP
d = SegyNP('3Dpoststack.sgy')
d.shape # (ni, nx, nt), use as a numpy array, 3D geometry
In this case, is "d" already in RAM or not yet? since you can calculate d.min()
and d.max()
, I assume d
is already read into RAM.
However, in the main page, you mentioned "Access the SEG-Y file as a 3D numpy array, without reading the whole file into memory", kind of confused to me.
I'm looking for a solution that could read unstructured data but not into memory yet, I will pick specific inline_number and crossline_number to read into RAM.
Thanks.