Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

equinor/zgy2sgz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zgy2sgz

License Travis PyPi Version

Tiny utility package which has only one job: Provide a Python function which uses Schlumberger's ZGY library and LLNL's ZFP library to read ZGY files and write seismic-zfp (.SGZ) format files.

zgy2sgz is intended exclusively for use by the seismic-zfp package

Example

from zgy2sgz import convertFile
# Yes, the first two arguments are bytes rather than strings
# The 3rd argument is bits_per_voxel {16, 8, 4, 2, 1}
convertFile(b'seismic_file.zgy', b'seismic_file.sgz', 4)

Archiving

2023-10-20: Repository archived in Github cleanup as this package is no longer maintained, since pyzgy now provides the required functionality to semsic-zfp in a more maintainable way.