Giter Site home page Giter Site logo

zgy_writer about segysak HOT 8 CLOSED

ksurf1 avatar ksurf1 commented on June 20, 2024
zgy_writer

from segysak.

Comments (8)

ksurf1 avatar ksurf1 commented on June 20, 2024

this code works. I would like to be able to set a compressor and lodcompressor

Does anyone have a syntax for using the compressor arguments to Writer ?

from segysak.

trhallam avatar trhallam commented on June 20, 2024

Thanks for your feedback.

Ideally this code needs to be migrated to use pyzgy on the backend and as a natural xarray backend but that is low priority with focus being SEGY.

You can see the openzgy code in the pyzgy library which is a fork of the code from the OSDU implementation. It also uses the Python API reference implementation which does not natively support compression. Additional instructions must be followed on their website to install the ZFP compressor.

Otherwise:

  • blocks are [64,64,64] by default.
  • references to output type are given here

To change the output datatype, in the segysak code you could add additional checks for the datatype to select the correct format to output to ZgyWriter.

from segysak.

ksurf1 avatar ksurf1 commented on June 20, 2024

from segysak.

da-wad avatar da-wad commented on June 20, 2024

@ksurf1 depending on your aims here, you may find converting your SEG-Y files to either the fully opensource seismic-zfp or Bluware's nearly-open compressed VDS format helps you further with disk space. Either of these could be read through segysak (writing would take effort) since they have segyio-like reading syntax available (pyvds for VDS). However, if you have more than half the volume as a constant value you'd win more from ZGY/VDS than seismic-zfp as the latter favours regularity in the data over identifying constant-value bricks in order to make offsets computable rather than requiring a disk location lookup for bricks.

from segysak.

ksurf1 avatar ksurf1 commented on June 20, 2024

from segysak.

ksurf1 avatar ksurf1 commented on June 20, 2024

from segysak.

ksurf1 avatar ksurf1 commented on June 20, 2024

from segysak.

trhallam avatar trhallam commented on June 20, 2024

I've moved your second issue to #119 please put separate questions in separate issues.

from segysak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.