Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uwsift 1.1.3 doesn't work w/ satpy 0.23 #305

Closed
captcha1 opened this issue Nov 1, 2020 · 4 comments
Closed

uwsift 1.1.3 doesn't work w/ satpy 0.23 #305

captcha1 opened this issue Nov 1, 2020 · 4 comments

Comments

@captcha1
Copy link

captcha1 commented Nov 1, 2020

uwsift works w/ satpy 0.22, but not satpy 0.23 :

$ SIFT
Traceback (most recent call last):
File "/home/kjh/toolroot.d/pythonuserbase.d/bin/SIFT", line 5, in
from uwsift.main import main
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/main.py", line 38, in
from uwsift.control.doc_ws_as_timeline_scene import SiftDocumentAsFramesInTracks
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/control/doc_ws_as_timeline_scene.py", line 18, in
from uwsift.model.document import Document, DocumentAsTrackStack, FrameInfo, TrackInfo
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/model/init.py", line 25, in
from uwsift.model.document import Document # noqa
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/model/document.py", line 78, in
from uwsift.workspace.metadatabase import Product
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/workspace/init.py", line 25, in
from .workspace import Workspace # noqa
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/workspace/workspace.py", line 61, in
from .importer import aImporter, SatpyImporter, generate_guidebook_metadata
File "/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/uwsift/workspace/importer.py", line 34, in
from satpy.dataset import DatasetID
ImportError: cannot import name 'DatasetID' from 'satpy.dataset' (/home/kjh/toolroot.d/pythonuserbase.d/lib/python3.9/site-packages/satpy/dataset/init.py)

@djhoese
Copy link
Member

djhoese commented Nov 1, 2020

Yes this is a known issue. #301 is meant to fix it, but I have yet to merge it. Once it is merged and a new version of uwsift released then it should be compatible with newer versions of Satpy. For now, you'll need to limit the version of Satpy you use.

Just curious, how did you install uwsift? Through pip or conda?

@captcha1
Copy link
Author

captcha1 commented Nov 1, 2020

I run Fedora, which has python out of the box, so I use pip.

@djhoese
Copy link
Member

djhoese commented Nov 2, 2020

Ok, thanks for the info. I would suggest limiting the satpy version to <0.23 for now. I will see if I can get a patch release of SIFT out this week with fixes.

@ameraner
Copy link
Collaborator

I think this issue can be closed now that #301 has been merged?

@djhoese djhoese closed this as completed Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants