Why converting to float64 instead of float32 in case of masked=True #302
Unanswered
remi-braun
asked this question in
Q&A
Replies: 2 comments 5 replies
-
And if I have understood everything correctly, the conversion to float is forced because of the use of nan, is it right ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
It currently matches the behavior of
It hasn't been optimized for memory at this point. PRs are welcome 😄 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, me again 😅
I was wondering why the data is converted to float64 and not float32 when a dataset is read with
masked=True
(and original data is uin16 for example)Isn't it dangerous wrt memory consumption ?
(I am not totally fluent in xarray, so it might be an obvious reason that I don't see 😓)
Beta Was this translation helpful? Give feedback.
All reactions