Deprecate read sofar to remove binary dependencies?

Đang mở
#958 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 11 ngày

@f-brinkmann đang làm issue này rồi.

Từ ngày 14/8/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

dependencies

pyfar.io.read_sofa requires sofar, which itself requires netCDF4. The latter is a binary dependency and people trying to pip install pyfar sometimtes get errors if the binary is not available for their system or Python version.

In most cases, people using pyfar won't need this functionality. We coud deprecate it and move this functionality to sofar, e.g., into sofar.read_sofa_as_signal.

This would remove the dependency on sofar in pyfar, and would add the dependency of pyfar in sofar (which is less critical). In addition, it would make it possible to add support for SH data in sofar files if adding a dependency on spharpy in sofar. Trying to do this in pyfar might result in a circular import error.

Ngôn ngữ chính
Python
Star
138
Fork
21
Merge trung bình
10 ngày 2 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pyfar/pyfar

Tất cả issue của pyfar/pyfar

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.