xdas-dev / xdas

Python framework for Distributed Acoustic Sensing (DAS).
https://xdas.readthedocs.io
GNU General Public License v3.0
31 stars 2 forks source link

reading febus data with xdas #24

Open bobcryp opened 1 week ago

bobcryp commented 1 week ago

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

atrabattoni commented 1 week ago

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 commented 1 week ago

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!