DES-SL / Y6_Bulk_Coadd_Cutouts

Codebase for large-scale cutout production from DES co-added images on the FNAL cluster
MIT License
0 stars 2 forks source link

divide by zero #18

Closed rmorgan10 closed 3 years ago

rmorgan10 commented 3 years ago

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.

rmorgan10 commented 3 years ago

@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.