CGIAR Crop Yield Prediction Challenge
$3,000 USD
Can you predict maize yields on East African farms using satellite data?
620 data scientists enrolled, 195 on the leaderboard
AgriculturePredictionComputer VisionUnstructuredImageSatelliteSDG2
21 October 2020—7 February 2021
110 days
NPY files load as 'uint32'
published 22 Jan 2021, 00:47

Numpy loads the '.npy' files as 'uint32' by default. While the individual channels may always be integers, is it true that there will be no '-ve' values? Looking at Terraclim fields such as Tmmn/Tmmx, the range seems to be, for example between -770 to +387.

@organizers is there a reason why the image arrays were stored as dtype 'uint32'?

The data comes from different sources. At some point they are combined as bands of a single image, then exported as raster data, then converted to the saved numpy arrays with:

src =

arr =

with open(save_name, 'wb') as f:, arr)

I would guess that uint32 is the default somewhere in that pipeline. Most of the variables (image data, rainfall, wind...) are all positive. Temperature can go negative, but in Kenya, even the minimum monthly average temp is ~9 degrees I think. Have you hit issues with the choice of datatype?

Thanks John. I did not have any issues, just wanted to confirm the data prep was done as intended.