Deprecations in numpy 2.5 are causing deprecation warnings in write_sofa and read_sofa, this also affects the pyfar tests (pyfar/pyfar#943).
Not sure if we can fix this in our code or if this is an issue with netCDF4.
Warning:
...
sofar/io.py:256: in write_sofa
_write_sofa(filename, sofa, compression, verify=True)
sofar/io.py:331: in _write_sofa
tmp_var[:] = value
^^^^^^^^^^
???
E DeprecationWarning: Setting the shape on a NumPy array has been deprecated in NumPy 2.5.
E As an alternative, you can create a new view using np.reshape (with copy=False if needed).
src/netCDF4/_netCDF4.pyx:5616: DeprecationWarning
Deprecations in numpy 2.5 are causing deprecation warnings in
write_sofaandread_sofa, this also affects the pyfar tests (pyfar/pyfar#943).Not sure if we can fix this in our code or if this is an issue with netCDF4.
Warning: