Skip to main content

Convert zgy files to sgz files

Project description


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


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)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distributions

zgy2sgz-0.1.3-cp39-cp39-win_amd64.whl (485.5 kB view hashes)

Uploaded cp39

zgy2sgz-0.1.3-cp38-cp38-win_amd64.whl (485.7 kB view hashes)

Uploaded cp38

zgy2sgz-0.1.3-cp37-cp37m-win_amd64.whl (485.3 kB view hashes)

Uploaded cp37

zgy2sgz-0.1.3-cp36-cp36m-win_amd64.whl (485.4 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page