sepal-contrib / sepal_smfm_biota

SMFM BIOmass Tool for ALOS
MIT License
1 stars 2 forks source link

No module named '_gdal_array' #42

Closed pzuniga closed 2 years ago

pzuniga commented 2 years ago

Dear Researchers,

In the "Process" frame, clicking "GET OUTPUTS" gives the message "No module named '_gdal_array'" and cannot "DISPLAY OUTPUTS".

Thanks you

kind regards

Pablo

image

dfguerrerom commented 2 years ago

@pzuniga, the problem is related to a gdal cached wheel being installed in our virtual environment, we are working to find a prompt solution. Thanks for reporting.

dfguerrerom commented 2 years ago

Some findings here:

To give a prompt I've decided to modify our forked version of biota and use rasterio to open images and return the Numpy array, it's been done here https://github.com/dfguerrerom/biota/commit/64286f4f627082135d5445cddf257a16be082b9b.

dfguerrerom commented 2 years ago

@pzuniga I'm closing this since was fixed with https://github.com/dfguerrerom/biota/commit/64286f4f627082135d5445cddf257a16be082b9b.