-
Notifications
You must be signed in to change notification settings - Fork 39
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
blackbody functions not dask friendly, trigger early dask computation #201
Comments
It seems this pattern of
Does anyone know if these arrays need to be 64-bit floats? I'm tempted to say this should just be |
As an aside, another issue here (which I've mentioned on slack) is that some of these functions ( For Himawari, this means there's an internal array of |
Closed by #203 |
The functions in the
blackbody
module are not dask-friendly. Their use with dask arrays leads to an early dask computation.Code Sample, a minimal, complete, and verifiable piece of code
Problem description
Fails with
RuntimeError
, becauseblackbody_rad2temp
computes the dask arrays.Expected Output
I expect no output.
Actual Result, Traceback if applicable
Versions of Python, package at hand and relevant dependencies
Python 3.11, pyspectral latest main (v0.12.5-9-gfd32fe9).
This limitation causes pytroll/satpy#2613.
The text was updated successfully, but these errors were encountered: