323 Commits

Author SHA1 Message Date
Robert Smallshire ceb0f9bd61 A function to guess whether a byte stream contains EBCDIC or ASCII text. 2014-10-23 11:40:00 +02:00
Robert Smallshire d2f1beac9d Support for reading textual (normal and extended) headers. Support for alternative inline/xline numbering in 3D seismic. 2014-10-23 11:39:16 +02:00
Robert Smallshire d50dc0b097 Adds a function for batching iterable series. 2014-10-23 11:37:07 +02:00
Robert Smallshire ef58b37e6c Fix fencepost errors for row-major indexing. 2014-10-23 11:33:07 +02:00
Robert Smallshire 27d78b6b6a Remove commented out line. 2014-10-23 11:32:07 +02:00
Robert Smallshire 7ac0083a52 Extracted Python 2/3 specific code into the portability module 2014-10-21 15:14:51 +02:00
Robert Smallshire ee228e2dc9 Improved portability between Python 2 and Python 3. Beginnings of code for writing SEG Y. 2014-10-21 14:54:49 +02:00
Robert Smallshire 1abff28a40 Adds optional progress reporting to long running functions 2014-09-03 11:29:28 +02:00
Robert Smallshire ddf4f2f6ab Construct a trace-length catalog giving the number of samples per trace 2014-09-03 09:50:06 +02:00
Robert Smallshire dfb92978f3 Adds additional catalog types for catalogs with a single constant value shared amongst all keys 2014-09-03 09:42:24 +02:00
Robert Smallshire fd0de79d18 Typo in TRACE_HEADER_DEF 2014-09-02 13:42:05 +02:00
Robert Smallshire 8eaea4b066 Merge branch 'abingham-rewrite' into rewrite 2014-09-02 13:36:41 +02:00
Robert Smallshire b0fe25b809 Manual merge of abingham pull request 2014-09-02 13:36:14 +02:00
Robert Smallshire 5f1bf53992 Fixes issue #7 - incorrect type in TRACE_HEADER_DEF 2014-09-02 13:26:45 +02:00
Robert Smallshire 9ddae466dd Typos 2014-09-02 11:11:56 +02:00
Robert Smallshire bcadf4478a Formatting 2014-09-02 11:10:07 +02:00
Robert Smallshire 8b9931cd84 Typos and using wrong variable. 2014-09-02 11:06:47 +02:00
Robert Smallshire 81f55a3058 Formatting 2014-09-02 11:06:16 +02:00
Robert Smallshire 8f6e0daf30 Renamed inlines_xlines() method to inline_xline_numbers() since that is what it actually yields. 2014-09-02 11:03:14 +02:00
Robert Smallshire b4800551fd Fixed scrambled code 2014-09-02 11:02:17 +02:00
Austin Bingham e02b7be182 Mostly PEP8 cleanups in the course of reading the code.
I took the liberty of adding a few specific exception types, some
documentation, and things like that, but this is mostly a cosmetic chance.
2014-09-02 09:39:04 +02:00
Robert Smallshire dcac37022d General cleanup. 2014-09-01 13:58:34 +02:00
Robert Smallshire 3b8f3ac26c Compile a struct format for trace headers 2014-08-27 15:57:27 +02:00
Robert Smallshire c6ebe9f3d6 Fixes blunders in trace header definition 2014-08-27 15:56:10 +02:00
Robert Smallshire 3a885b93ca Ignore data directory. 2014-08-27 15:55:45 +02:00
Robert Smallshire 8e08508ac6 Simplify code. 2014-08-27 10:24:54 +02:00
Robert Smallshire e64ec24bf7 Minor formatting consistency. 2014-08-27 10:06:44 +02:00
Robert Smallshire b816f7787b More PEP 8 naming compliance 2014-08-27 09:47:29 +02:00
Robert Smallshire 283070d491 Improved handling and tolerance of non-compliant SEG Y revisions. 2014-08-27 09:42:29 +02:00
Robert Smallshire b52aae71e4 More renaming towards PEP 8 standards. 2014-08-27 09:21:10 +02:00
Robert Smallshire 24eaa56908 Rename header and trace-header definition constant dictionaries to be more documentary, and in upper case. 2014-08-27 09:03:28 +02:00
Robert Smallshire 2e00902ed0 Don't unnecessarily pass the filename around on the read-path. 2014-08-27 08:55:53 +02:00
Robert Smallshire eb47898ae3 Removes unused legacy file. 2014-08-27 08:47:18 +02:00
Robert Smallshire 7e40a26196 Improves handling of mutable default arguments (empty dictionaries). 2014-08-27 08:46:37 +02:00
Robert Smallshire 15c9bf81c4 Merge pull request #6 from abingham/master
PEP8 cleanup
2014-08-26 18:28:56 +02:00
Austin Bingham 4cb5cf539a Replaced camelCase with undercaps. 2014-08-05 19:55:06 +02:00
Austin Bingham 7014fba323 Added command-line arguments to test. 2014-08-05 19:46:15 +02:00
Austin Bingham 662f7c67bb Updated test to use proper readSegy API.
Also structured it a little more sanely, and PEP8'd it.

Conflicts:
	testsegy.py
2014-08-05 19:27:52 +02:00
Austin Bingham 1c19444946 PEP8 cleanup 2014-08-05 16:14:44 +02:00
Robert Smallshire 24da1dd6cb Typo in README.rst 2014-07-19 22:17:14 +02:00
Robert Smallshire 1767538b5e Merge pull request #1 from VelizarVESSELINOV/master
Missing import, IBM float data management
2014-07-19 22:06:06 +02:00
VelizarVESSELINOV cabe8d71e1 Revision mismatch during BPS computation 2014-07-19 10:04:35 -07:00
VelizarVESSELINOV 99f65c9c8e Missing import, IBM float data management 2014-07-19 09:43:16 -07:00
Robert Smallshire 701c75f926 Update README.rst 2014-07-19 18:09:57 +02:00
Robert Smallshire c7eb00264e Merge branch 'master' of github.com:rob-smallshire/segpy 2014-07-19 17:51:19 +02:00
Robert Smallshire 34df01b65d Delete .hgtags 2014-07-19 17:51:14 +02:00
Robert Smallshire 4b1b4ce3e0 Added a .gitignore file 2014-07-19 17:51:00 +02:00
Robert Smallshire 89cb5a5d28 Emboldened enjoiner 2014-07-19 17:36:26 +02:00
Robert Smallshire 3eb58caae4 Update and rename README to README.rst 2014-07-19 17:35:28 +02:00
Robert Smallshire 429d0b8b24 Update README 2014-07-19 17:32:05 +02:00