Skip to content

Commit

Permalink
changed the RSF writer to byteorder Fortran due to RSF requirement (#343
Browse files Browse the repository at this point in the history
)
  • Loading branch information
aaronjgirard authored Jan 28, 2024
1 parent 623e07e commit 2fd62c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dascore/io/rsf/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def write(self, spool, path, data_path=None, **kwargs):
file_esize = dtype.itemsize
file_formt = 'data_format="native_float"'

data_bytes = data.astype(np.float32).tobytes()
data_bytes = data.astype(np.float32).tobytes("F")

hdr_str = f"DASCORE {dc.__version__} {dt.datetime.now()} \n"

Expand Down

0 comments on commit 2fd62c7

Please sign in to comment.