ioos / ioos_qc

:ballot_box_with_check: :ocean: IOOS QARTOD and other Quality Control tests implemented in Python
https://ioos.github.io/ioos_qc/
Apache License 2.0
46 stars 27 forks source link

Typo #85

Closed ocefpaf closed 1 year ago

ocefpaf commented 2 years ago

Let's see if we can observe the same segfault from #84 in this PR. Something is quite odd there :-/

ocefpaf commented 2 years ago

numpy >=1.23 is causing the segfault, investigating...

ocefpaf commented 2 years ago

I narrowed it down to the spline call in:

https://github.com/ioos/ioos_qc/blob/093935e0f2c21a6a585bda5a194fc7a2c7aedd76/ioos_qc/config_creator/config_creator.py#L507

y_no_nans is an array like,

array([], shape=(13, 0), dtype=float64)

I'm not sure if that is the correct way to test this. Even though it was passing before it looks like spline should not work here.

kwilcox commented 1 year ago

Confirmed about numpy, im ok with the <= for now until we can investigate further or the segfault is fixed in numpy.