Open loreabad6 opened 11 months ago
I would say in Python it does not matter if it's int or float, so I rather don't add code to semantique that converts this for no real reason. However, if the Sen2Cube frontend requires it we could convert all int data to float in here
Description
As far as I undesrtand, semantique is designed to return all results from reducer operations as
float
types. However, then
reducer outputsint64
types. This is becausen
uses numpy.nansum to retrieve the values (see here), which deaults toint
types.Reproducible example
A code chunck that reproduces the bug.
Expected behavior
The result of
n
is converted tofloat
to keep consistency.