323 Commits

Author SHA1 Message Date
Robert Smallshire aac598d64f Update numpy dtypes extension for correct type codes. 2015-02-24 17:27:37 +01:00
Robert Smallshire 19c89d9029 Exploratory ideas for header definitions 2015-02-24 11:36:17 +01:00
Robert Smallshire 52cb3a7005 Documentation outline 2015-02-24 11:32:46 +01:00
Robert Smallshire 3fd47ac7e5 Rename complementary_slices() to complementary_intervals(). 2015-02-24 11:31:16 +01:00
Robert Smallshire 60e4295b29 Remove support for Python 3.2 2015-02-01 09:46:02 +01:00
Robert Smallshire 7c7b771efb Remove irrelevant history from the rewrite branch. 2015-02-01 09:12:02 +01:00
Robert Smallshire 8f4b79e906 Fixes Unicode error on Python 2.7. 2015-01-31 22:37:54 +01:00
Robert Smallshire 35678d9ec9 Test end-text stanza present in extended headers. 2015-01-31 21:55:22 +01:00
Robert Smallshire 469832416e Use integers_in_range to set the batch size rather than simply int to prevent colossal memory allocations. 2015-01-31 21:29:42 +01:00
Robert Smallshire 1e4494298e Quickstarted Sphinx documentation 2015-01-31 17:59:43 +01:00
Robert Smallshire b91dd65d82 Removed dependency on unused sys module. 2015-01-31 17:51:22 +01:00
Robert Smallshire 1d20aaf820 Adds Python 3.2 to Travis CI build 2015-01-31 16:19:38 +01:00
Robert Smallshire 78bae6f859 Adds Python 3.3 to Travis CI build 2015-01-31 16:16:16 +01:00
Robert Smallshire 6e8843dce6 Adds Python 2.7 to Travis CI build 2015-01-31 16:10:21 +01:00
Robert Smallshire 99b37024ab Tidy up imports. 2015-01-31 16:08:48 +01:00
Robert Smallshire 77d5ffb10f Fixed broken import. 2015-01-31 16:06:22 +01:00
Robert Smallshire 4862f347df Reinstate Python 2 compatibility. 2015-01-31 16:00:14 +01:00
Robert Smallshire 38511e67ba Update the README to include a status image. 2015-01-31 09:10:13 +01:00
Robert Smallshire c9e9e7c599 Point Travis CI and the right test-requirements.txt file 2015-01-31 09:00:00 +01:00
Robert Smallshire 842e16f591 Add a .travis.yml file for Travis CI setup 2015-01-31 08:54:19 +01:00
Robert Smallshire 955eedcf94 Add test-requirements.txt to specify external dependencies for running tests. 2015-01-31 08:53:45 +01:00
Robert Smallshire 0d61bc782e Use the EMPTY_BYTE_STRING constant instead of b'' 2015-01-30 21:00:21 +01:00
Robert Smallshire d454f2b4eb Use the array module rather than the struct module for reading the sample arrays. Gives a x3 speed-up. Also fix automatic encoding detection. 2015-01-30 20:57:26 +01:00
Robert Smallshire 5322c2a5d2 Example to time header-reading/catalog-building and trace reading. 2015-01-30 20:54:20 +01:00
Robert Smallshire a152672bf5 Example program to print a report of important SEG Y file characteristics. 2015-01-30 20:53:07 +01:00
Robert Smallshire 797cfee020 Sweep frequency start definition was missing from the reel header. 2015-01-30 20:52:14 +01:00
Robert Smallshire 5a1f790ffd Added a simple timed reader example. Also useful for performance testing changes 2015-01-30 16:04:42 +01:00
Robert Smallshire 2d13fc8c82 Removed unused item_size argument from unpack_values() 2015-01-30 14:55:50 +01:00
Robert Smallshire f1310459d7 write_binary_reel_header() was not forwarding it's endian argument to write_binary_values() 2015-01-30 14:52:46 +01:00
Robert Smallshire c04cf0901f General code clean-up of issue PyCharm linter is highlighting. 2015-01-30 14:44:08 +01:00
Robert Smallshire e56eefbd2c Return double-precision IEEE float values when reading single-precision IBM floats to prevent loss of precision. 2015-01-30 14:36:35 +01:00
Robert Smallshire f8c298a971 Correctness and robustness improvements to the IBM <-> IEEE floating point conversions, including additional tests. 2015-01-30 14:34:27 +01:00
Robert Smallshire e74f4498aa Fixes issues revealed by the new loadsave.py example program. 2015-01-29 13:26:25 +01:00
Robert Smallshire ee1e05a9ff Forward endian parameter in read_binary_values() 2015-01-29 09:45:03 +01:00
Robert Smallshire 81728459e7 Removed dead code. Tightened up use of encodings. 2015-01-29 09:44:25 +01:00
Robert Smallshire 7bad88ce57 Simplified extended textual header formatting. 2015-01-29 09:43:43 +01:00
Robert Smallshire 2e342e5277 Merge branch 'rewrite' of github.com:rob-smallshire/segpy into rewrite 2015-01-28 21:50:15 +01:00
Robert Smallshire ccbedfa150 High level SEG Y writer. Work in progress 2015-01-28 21:50:04 +01:00
Robert Smallshire 255a490914 Code reorganisation - segpy is now a proper Python package. Rework of the extended textual header for symmetry with the reader. Some additional tests. 2015-01-28 21:42:52 +01:00
Robert Smallshire 8c1fe0742d Merge pull request #14 from wassname/patch-3
Fixed pack traceheader error
2015-01-28 14:49:21 +01:00
Robert Smallshire 2709785169 Merge pull request #13 from wassname/patch-2
Added missing argument for use of SegYReader
2015-01-28 14:48:11 +01:00
wassname 9444567b38 Fixed pack traceheader error
In python 3.3 I got the error: error: pack expected 91 items for packing (got 1), which is fixed is I pass the traceheader's items in as separate arguments by adding an *.
2015-01-28 16:30:55 +08:00
wassname 0f5db22d41 Added missing argument for use of SegYReader 2015-01-28 15:54:20 +08:00
Robert Smallshire 246b8515e4 Pass the trace header format to the read_trace_header() function. 2014-12-03 21:52:14 +01:00
Robert Smallshire 8f35206733 Merge key trace header correctness fixes from the rewrite branch into master 2014-12-03 20:52:22 +01:00
Robert Smallshire 1fd7a5d4c6 SegYReader3D.trace_index now accepts an (inline, crossline) tuple rather than two separate arguments. 2014-12-03 20:41:12 +01:00
Robert Smallshire 91e325c95a Some progress towards complete support for writing SEG Y 2014-12-03 20:38:08 +01:00
Robert Smallshire 2ee69544de Toolkit functions for writing headers. 2014-10-23 14:16:17 +02:00
Robert Smallshire 6f3aba6a4d A function for padding iterables. 2014-10-23 14:10:58 +02:00
Robert Smallshire 905ec4fe39 Support for regular and extended textual headers. 2014-10-23 11:41:22 +02:00