Skip to content

Commit

Permalink
RSF examples fix (#306)
Browse files Browse the repository at this point in the history
* Added RF writer and tests

* fixed RSF writer to write esize=4

* made all outputs to RSF as native_float. Updated comments and notes.

* added test and ValueError for complex data. RSF writer only writes int or float data now.

* RSF writer now allows to output in or float. Clause added to fail if not those two types.

* fix Examples in documentation
  • Loading branch information
aaronjgirard authored Nov 29, 2023
1 parent d45a9dd commit 8d39b86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dascore/io/rsf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
# get the path to a random DAS file.
patch = dc.get_example_patch()
spool = dc.spool(patch)
spool.io.write("test_out.rsf","rsf",data_path="test_out.rsf")
patch.io.write("test_out.rsf","rsf",data_path="test_out.rsf")
"""

from .core import RSFV1

0 comments on commit 8d39b86

Please sign in to comment.