Increased Frequency of OverflowError: Python integer out of bounds for int16 on Julian Day 147 (2025)

Post Reply
lmarin
Posts: 2
Joined: Wed Jan 08, 2025 3:47 pm

Increased Frequency of OverflowError: Python integer out of bounds for int16 on Julian Day 147 (2025)

Post by lmarin »

Hello,

We have observed that the error described in issue #57 — “In rare cases the number of flashes may exceed the capacity of a counter variable, resulting in a crash with a message like ‘OverflowError: Python integer NNNNN out of bounds for int16’” — has become significantly more frequent on Julian Day 147 of the year 2025.

As an example, this error occurred consecutively between 00:00 and 01:05 UTC on May 27, 2025 (Julian Day 147), affecting all runs of the script cspp-geo-gglm.sh. Below are some typical error messages logged during that period:

ERROR:__main__:Python integer 36428 out of bounds for int16
ERROR:__main__:Gridding minute 2025-05-27 00:00:00 failed.

ERROR:__main__:Python integer 53510 out of bounds for int16
ERROR:__main__:Gridding minute 2025-05-27 00:58:00 failed.

ERROR:__main__:Python integer 48196 out of bounds for int16
ERROR:__main__:Gridding minute 2025-05-27 01:00:00 failed.

Most of these errors appear to be associated with minutes during which an unusually high number of flashes were detected, causing the count to exceed the int16 data type capacity.

Is there any recommended temporary solution or workaround we can implement to prevent this error during processing? Or would it be necessary to wait for the next package update to resolve this issue?

We appreciate any guidance you can provide.

Best regards,
Luis Marín
jbraun
Posts: 115
Joined: Thu Sep 18, 2014 11:25 am

Re: Increased Frequency of OverflowError: Python integer out of bounds for int16 on Julian Day 147 (2025)

Post by jbraun »

Hi Luis,

Thank you for reporting this to us. We previously reported this issue to the developer of the science code that is used in the Gridded GLM package. We will reach out to the developer again and see if there is a fix available.

Jess
Post Reply