You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/data/gholl/checkouts/protocode/mwe/trollflow2-sunlight-typerror.py", line 11, in <module>print(_get_sunlight_coverage(euro4326, datetime(2021, 12, 29, 12)))
File "/data/gholl/checkouts/trollflow2/trollflow2/plugins/__init__.py", line 666, in _get_sunlight_coverage
poly = get_twilight_poly(start_time)
TypeError: 'NoneType' object is not callable
Environment Info:
OS: openSUSE Leap 15.3
Trollflow2 Version: 0.12.0
Pyresample Version: 1.22.3
Additional context
Found this when calling _get_sunlight_coverage directly to find out why it gives 0 for me in the middle of the day. Perhaps there will be a new issue soon...
The text was updated successfully, but these errors were encountered:
gerritholl
changed the title
TypeError calculating sunlight coverage
TypeError calculating sunlight coverage when no pytroll-schedule installed
Dec 29, 2021
Describe the bug
When I try to calculate sunlight coverage while pytroll-schedule is not installed, I get a TypeError.
To Reproduce
Expected behavior
Some number between 0 and 1.
Actual results
Environment Info:
Additional context
Found this when calling
_get_sunlight_coverage
directly to find out why it gives 0 for me in the middle of the day. Perhaps there will be a new issue soon...The text was updated successfully, but these errors were encountered: