intake / intake/python-snappy

Missing compression methods that seemed to work previously

Ouverte
#126 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
490
Forks
104
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.