Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpjones76 committed May 24, 2016
1 parent ed555ba commit 2466cb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/seisdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,6 @@ Utility Functions

Native File I/O
===============
Use ``rseis`` and ``wseis`` to read and save in native format. ``writesac(S)`` saves trace data in ``S`` to single-channel :ref:`SAC <sac1>` files. SAC is widely used and well-supported, but writes data in single-precision format with rudimentary time stamping. The last point merits brief discussion. Time stamps are written to SAC by default (change this by setting ``ts=false``). Tme stamped SAC data are treated by SAC itself as unevenly spaced, generic ``x-y`` data (``LEVEN=0, IFTYPE=4``). However, third-party SAC readers interpret such files less predictably: timestamped data *might* be loaded as the real part of a complex time series, with the time values themselves as the imaginary part...or the other way around...or not at all.
Use ``rseis`` and ``wseis`` to read and save in native format. Use ``writesac(S)`` to save trace data in ``S`` to single-channel :ref:`SAC <sac1>` files.

SAC is widely used and well-supported, but writes in single-precision format. Rudimentary time stamping is enabled by default. Time stamped SAC data are treated by SAC itself as unevenly spaced, generic ``x-y`` data (``LEVEN=0, IFTYPE=4``). However, third-party SAC readers interpret such files less predictably: timestamped data *might* be loaded as the real part of a complex time series, with the time values themselves as the imaginary part...or the other way around...or not at all.

0 comments on commit 2466cb9

Please sign in to comment.