Code Monkey home page Code Monkey logo

Comments (6)

rob-smallshire avatar rob-smallshire commented on July 26, 2024

Thanks for your comment.

The implementation of write_segy() which Segpy inherited from the legacy SegyPy library is broken; it accepts a (reel) header value, but then ignores it. In fact, there are a multitude of similar niggles I have with the old SegyPy code, so I've rewritten the whole thing with a view to having a much more flexible and correct toolkit for reading and writing SEG Y. As such, I'm directing my energies towards releasing that, rather than maintaining the old code.

The forthcoming Segpy version 2 has full support for writing IBM float values. If you want to try to use it you can check out the 'rewrite' branch from here on GitHub. Convenience classes for writing SEG Y are not yet in place, but most of the lower-level toolkit functions for writing SEG Y are there.

I'd like to make an initial release of Segpy 2.0 before the end of this month (January 2015), so you shouldn't have long to wait.

from segpy.

wassname avatar wassname commented on July 26, 2024

That's good to know, I'll have a look at the new library!

I get a kick out of seeing people use what I've made, so I'll tell you what I'm using it for. I'm in Australia and a co-worker and I are doing a lot of seismic loading and use this at least once a week to 1) Analyse segy files and produce XML output's for Petrel's 2D toolbox 2) Modify headers in batch in ways that are too tedious in Seisee.

Implementing writing support sounds like a nice challenge, I had a look and quickly decided I was to tired for it.

from segpy.

wassname avatar wassname commented on July 26, 2024

Hi Rob, I had a look at Segpy 2.0 and it looks nice, I see you've implemented ieee2ibm already. If you want feedback or test data let me know. From having a try of it I my biggest suggestion would be be 1) make it a module with an init.py and 2) expand the tests to include reading and writing.

from segpy.

rob-smallshire avatar rob-smallshire commented on July 26, 2024

@wassname Do you have any SEG Y files with extended textual headers I could use for testing reading and writing of those? That's something I'm missing from my (small) corpus of examples I use for testing.

from segpy.

wassname avatar wassname commented on July 26, 2024

I haven't come across any and don't have the tools to generate them sorry, but I'll keep an eye out and something might pop up.

from segpy.

wassname avatar wassname commented on July 26, 2024

Hey Rob, had another look at segpy/rewrite and it's looking pretty fantastic. Great recent commits.

from segpy.

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.