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

reading febus data with xdas #24

Open
bobcryp opened this issue Nov 21, 2024 · 3 comments
Open

reading febus data with xdas #24

bobcryp opened this issue Nov 21, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bobcryp
Copy link

bobcryp commented Nov 21, 2024

Hi

Just to report a bug when using xdas to load febus data.

I try opening data sampled at 1000 Hz and it was fine. Then I opened data at 2000 Hz and I was not getting a correct loading. There was time with no data point inside my array as data were missing.

image

I open with a1das-V2 from Olivier Coutant. It was working. Then looking at Olivier code I wrote one function to do this using dask+xarray framework. You can find those here : https://gricad-gitlab.univ-grenoble-alpes.fr/mecaiceige/tools/lib_python/das_ice/-/blob/main/das_ice/io.py?ref_type=heads

It is probably not as complete as Olivier function and there are some stuff to improve (distance start if not 0, how to deal with discontinuous Zone) for sure but it is just a proof of concept.

I did not have time to dig into the xdas function but if you need to I can provide you 2000 Hz files.

I just wanted to leave a trace of this bug. Then here it is.

Best
Thomas

@chauvetige chauvetige self-assigned this Nov 21, 2024
@chauvetige chauvetige added the bug Something isn't working label Nov 21, 2024
@atrabattoni
Copy link
Contributor

Thank you for reporting this bug. Could you please check the version of Xdas that you are using? We quite recently fixed a few things.

Keep in mind that Febus released several versions of its format and unfortunately this is poorly documented.

@ClaudioStrumia ClaudioStrumia self-assigned this Nov 25, 2024
@ClaudioStrumia
Copy link
Collaborator

Hi, if you are already using the new version and it is not working you can send an h5 file sampled at 2000Hz and at 1000Hz by mail to @atrabattoni, we will check on it. Thanks for reporting the bug!

@atrabattoni
Copy link
Contributor

BTW you can manually specify the overlap and offset for febus file as explained here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants