-
Notifications
You must be signed in to change notification settings - Fork 295
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
VIIRS day composite 'snow_age' does not work with Satpy 0.37.1 #2263
Comments
This doesn't seem to be a Satpy issue, but rather pillow or dask. Both of these libraries had releases at the end of October. I was unable to reproduce with Edit: Not dask...let's try pillow... |
@lobsiger how did you install Satpy and its dependencies? All conda from conda-forge? Any pip installed packages? I'm unable to reproduce this on a PopOS (think Ubuntu) with Python 3.10, newest dask and xarray, and the latest pillow I could get. Pillow 9.3.0 is the newest version but not currently available on conda-forge so I am using pillow 9.2.0. |
@djhoese this is all conda in GNU/Linux IIRC and I have a brand new (yesterday) install under Windows 10 all conda (list attached). |
So does it break in Linux, Windows, or both? |
@djhoese it breaks in both Windows and GNU/Linux. Here is my conda list from Linux. |
@djhoese and @mraspaud I downgraded pillow and dask one version under GNU/Linux to no avail. I updated again to the latest. Then I downgraded my brand new Windows 10 install with "conda install satpy=0.36.0". Now VIIRS 'snow_age' worked again. I did the same downgrade under GNU/Linux "conda install satpy=0.36.0" and VIIRS 'snow_age' works again. I attach the latest package lists. The conda package lists of these very two PCs before the satpy 0.37.1 downgrade are found in the previous posts. Windows-downgraded-conda-list.txt |
Thanks for trying some things out. I'm still not sure what is going on, but I thought to get the most help from others we should probably post the error message directly in the github issue:
Looking at what is being called and complained about here, I see This involves only a few libraries: dask, xarray ( The error message mentions @lobsiger Do you see this issue with any other composites or any other readers? |
@djhoese if I upgrade GNU/Linux again and make a diff of what is installed I get just this diff Linux-downgraded-conda-list.txt Linux-upgraded-conda-list.txt With Satpy 0.37.1 I can do all the DAY composites that I mentioned in my test script except 'snow_age'. |
@djhoese maybe it helps seeing the error messages of someone else. https://groups.io/g/MSG-1/message/33545 Is this a reader problem? |
@djhoese @mraspaud I made an all new latest miniconda install with python 3.10 under GNU/Linux and tested 112 composites of different satellites with satpy 0.37.1. It's still VIIRS 'snow_age' that does not work ... Linux-latest-miniconda-112-composites.txt |
That's a good guess. It still doesn't explain why I'm not seeing the issue, but I'll try to find time to play around with it today. Looking into the enhancements like in the MetopC issue is a good start. |
Figured it out! This was fixed in #2190, but it hasn't been released yet. We hope to make a release this week. You could test this in your environment by doing:
|
This was quick. It's from my bad experience that I shouldn't mix pip and conda installs. I'll rather wait, thanks a lot for your time. |
I won't disagree with that. I'll leave this issue open until we make the release. CC @mraspaud |
And I take it for granted that this is now not a double fix with #2173 because I cannot play at that Python and Satpy level anyway. |
Nice catch guys! well done. I'll start preparing a release... |
Is this still current or can this be closed? |
Describe the bug
Dear Developers,
we got the first snow 2022 in Switzerland and 'snow_age' doesn't
work anymore ;-). The attached script has a list of all composites
that used to work with day passes (MX-bands only) in Satpy 0.36.0.
These composites still work in Satpy 0.37.1 except for 'snow_age'.
Attached two 'snow_age' images made with Satpy 0.36.0 and a short
script to reproduce the Satpy 0.37.1 issue and my DEBUG.txt output.
The script including 2 SNPP data segments can be downloaded here:
https://we.tl/t-KG3dU8nAlr 100MBytes *.tgz (link expires in 1 week)
The problem surfaced after EUMETCast users updated PyCoast+Satpy.
It affects may latest distibution of Satpy scripts for EUMETCast.
To Reproduce
Expected behavior
Composite 'snow_age' should work as in Satpy 0.36.0
Environment Info:
Suomi-true_color-DEBUG.txt
Suomi-snow_age-DEBUG.txt
Suomi-NPP.py.txt
The text was updated successfully, but these errors were encountered: