Comments (6)
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.
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.
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.
@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.
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.
Hey Rob, had another look at segpy/rewrite and it's looking pretty fantastic. Great recent commits.
from segpy.
Related Issues (20)
- Improve test coverage HOT 2
- Improve test coverage for reader.py
- Fix invalid license change in `segpy-lite` HOT 4
- `_cdp_catalog` can be `None` in `SegYReader2D.cdp_numbers`. HOT 5
- `header()` strategy produces unusable binary reel headers HOT 11
- Investigate using AFL to generate SEG-Y files for testing
- Sporadic health-check failures for `test_regular_mapping` HOT 1
- Small error in segpy-numpy
- Confusion about dimensionality detection heuristic HOT 3
- Python <= 3.4 compatibility
- Use plugins and named extensions for trace headers HOT 3
- segy 3d read error HOT 12
- Use our exit-codes modules for exit codes
- how to get data HOT 3
- How to read latitude/longitude or xcoordinate/ycoordinate information?? HOT 17
- Unable to read shot_gather.sgy file with error: ValueError: Assigned value 43690 for num_samples HOT 1
- How to process the massive data? HOT 1
- How to read minimum and maximum values of time (ms) from .sgy files using segpy or any other seismic reader library?
- Read illegal trace lengths? HOT 5
- cannot get the trace header HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from segpy.