I'm new to programming.
I need to convert my seismic section (segy) to compressed array (npz) in order for me to load inside Jupyter
to run some algorithms.
How do I convert segy
to npz
format?
Is there anyway to do so?
I'm new to programming.
I need to convert my seismic section (segy) to compressed array (npz) in order for me to load inside Jupyter
to run some algorithms.
How do I convert segy
to npz
format?
Is there anyway to do so?
Copyright © 2021 Jogjafile Inc.
I'm not familiar with the segy module, but to save to an npz file format, you can use the scipy.parse package to convert a regular nupmy array to a sparse/compressed array.
This will convert the regular numpy array to be saved as the compressed matrix file in .npz. Therefore, the only problem left is to convert the segy to numpy, which I'm not familiar with.