Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fshort data type help #433

Closed
is-DW opened this issue Dec 19, 2023 · 2 comments
Closed

fshort data type help #433

is-DW opened this issue Dec 19, 2023 · 2 comments

Comments

@is-DW
Copy link

is-DW commented Dec 19, 2023

if i want output a f32 number into a fshort type in bytes, how to do?

@achaikou
Copy link
Contributor

Hi,

I am not sure I understand correctly what you want to do.

I assume you refer to RP66 format.
dlisio provides python interface to read .dlis files. RP66 fshort type is hidden from the end user and is converted into python's float along the way.

Opposite conversion (python float -> dlis fshort) is not implemented as writing .dlis files is not supported and thus there was no need to convert data the opposite way.

@is-DW
Copy link
Author

is-DW commented Dec 20, 2023

@achaikou Hi, thanks for your reply. Your comments just solved my question.

@is-DW is-DW closed this as completed Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants