# OverflowError in croptypepicker

**URL:** <https://forum.esa-worldcereal.org/t/overflowerror-in-croptypepicker/71>\
**Category:** Processing Module\
**Created:** [19 May 2025 07:30 UTC](https://forum.esa-worldcereal.org/t/overflowerror-in-croptypepicker/71 "2025-05-19T07:30:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibhav](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vaibhav](https://forum.esa-worldcereal.org/u/vaibhav)\
**Post date:** [19 May 2025 07:30 UTC](https://forum.esa-worldcereal.org/t/overflowerror-in-croptypepicker/71/1 "2025-05-19T07:30:11Z")

</div>

While running “worldcereal\_custom\_croptype.ipynb” in my local machine, I was getting the following overflow error while picking the crops in croptypepicker.py -

 ![image](https://canada1.discourse-cdn.com/flex034/uploads/esa_worldcereal1/original/1X/2309af485e7cf746659170e5654d2f1d5e931580.png)

I tried changing the datatype wherever it was set explicitly from ‘int’ to ‘np.int64’, but was still getting the same error.

---

<div class="post-metadata">

**Author:** ![jeroen.degerickx](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.esa-worldcereal.org/jeroen.degerickx/32/18_2.png) [@jeroen.degerickx](https://forum.esa-worldcereal.org/u/jeroen.degerickx)\
**Post date:** [7 July 2025 10:29 UTC](https://forum.esa-worldcereal.org/t/overflowerror-in-croptypepicker/71/2 "2025-07-07T10:29:09Z")

</div>

Hi!  
Sorry, this post slipped through…  
Are you still facing this issue?

---

<div class="post-metadata">

**Author:** ![vaibhav](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vaibhav](https://forum.esa-worldcereal.org/u/vaibhav)\
**Post date:** [28 July 2025 04:53 UTC](https://forum.esa-worldcereal.org/t/overflowerror-in-croptypepicker/71/3 "2025-07-28T04:53:28Z")

</div>

Hi, I got caught up in some other work and was not able to look into it again. I’ll reply again when I have done so.
