Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

zgy2sgz

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zgy2sgz

Convert zgy files to sgz files

pipPyPI
Version
0.1.3
Maintainers
1

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts