When scaling to integers, a runtime warning gets raised for division by zero. This would mean that the maximum value of an image is zero. Need to diagnose the cause and prevent infinite values from being produced.
@erikzaborowski This might be relevant for the DELVE cutouts too if you used the same scaling function. I will investigate tomorrow and likely implement some protections against this case.
When scaling to integers, a runtime warning gets raised for division by zero. This would mean that the maximum value of an image is zero. Need to diagnose the cause and prevent infinite values from being produced.