Open
Description
Description of the bug
Running unit tests (pytest) from the command line tasker, unit tests fail (some expected to at this stage) but not for the right reason.
To Reproduce
at commit 0c8ccba
make test
causes errors.
Curiously, running the unit tests from the VSCode debugger does not fail or show any runtime warning.
Full traceback
....F [100%]
==================================== ERRORS ====================================
______________________ ERROR collecting test_read_file.py ______________________
tests/test_read_file.py:6: in <module>
from efts_io.wrapper import EftsDataSet
src/efts_io/wrapper.py:11: in <module>
from efts_io.conventions import (
src/efts_io/conventions.py:6: in <module>
import netCDF4 as nc
.venvs/3.12/lib/python3.12/site-packages/netCDF4/__init__.py:3: in <module>
from ._netCDF4 import *
src/netCDF4/_netCDF4.pyx:1: in init netCDF4._netCDF4
???
E RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility. Expected 16 from C header, got 96 from PyObject```
Possible fix
Metadata
Metadata
Assignees
Labels
No labels