klapo / pyfocs

Processing functions for Fiber Optic Distributed Sensing (FODS) data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatible with xarray v0.19.0 and newer

jmhuss opened this issue · comments

The calibration step fails and returns:
TypeError: Using a DataArray object to construct a variable is ambigous, please extract the data using the .data property.

The error occurs in data.py, line 121

TypeError

The issue is currently solved by downgrading xarray to v0.18.2

This was just fixed in the modernize branch, at least for the cases covered by the tests. I'll close the issue but please let me know if you find any other cases.