intake / intake/python-snappy

Missing compression methods that seemed to work previously

Đang mở
#126 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
490
Fork
104
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,
I intended to use [snapista](https://github.com/snap-contrib/snapista) which is using snappy:

$ grep -R 'from snappy'
src/snapista/graph.py:from snappy import GPF
src/snapista/operatorparams.py:from snappy import GPF
src/snapista/operator.py:from snappy import GPF, jpy

but unfortunately neither GPF nor jpy are working:

$ python3
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from snappy import GPF
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'GPF' from 'snappy' (/usr/lib/python3/dist-packages/snappy/__init__.py)
>>> from snappy import jpy
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'jpy' from 'snappy' (/usr/lib/python3/dist-packages/snappy/__init__.py)

I've found [some website](https://forum.step.esa.int/t/slower-snappy-processing/6354/5) mentioning even more compression methods (`ProductIO` and `HashMap`) which also do not work in version 0.6.1 which I tried (I also tried version 0.5.3 with same result). Am I missing something in my setup or is the code using snappy in this way outdated?

Kind regards, Andreas.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by comparing the imports in snapista's src/snapista/graph.py, operatorparams.py, and operator.py with the APIs exposed by python-snappy 0.6.1 and 0.5.3. Reproduce the reported Python 3.11 import errors, then document whether GPF, jpy, ProductIO, and HashMap are supported or identify the compatibility change needed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

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.