dtscalibration / python-dts-calibration

A Python package to load raw Distributed Temperature Sensing (DTS) files, perform a calibration, and plot the result.
https://python-dts-calibration.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
32 stars 18 forks source link

New file version of .ddf file #214

Open XiaohangJi opened 8 months ago

XiaohangJi commented 8 months ago

Please add this file version read, thank you! It is .ddf file, Software version number: ORYX F/W v4.00 Oryx Data Collector v3.7.3 Archive.zip

BSchilperoort commented 7 months ago

Hi, thanks for opening this issue. I'm sorry that it took a while to reply but I have (sadly) moved on from using DTS so I can't spend much time on it at the moment.

It seems like there is an issue with the code here:

https://github.com/dtscalibration/python-dts-calibration/blob/7561c484d708680bdb201033c5e9ac681b149c2e/src/dtscalibration/io/sensornet.py#L389-L402

It infers the fiber lengths incorrectly, making the backward channel measurements shorter than the forward temperature measurements.

I have implemented a quick solution in 3.0.1 which should resolve your loading issues. I'll leave this issue open so a proper fix can be implemented later.

BSchilperoort commented 7 months ago

The new version is online, you should be able to do pip install dtscalibration==3.0.2 and load in your files!