-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Argument 'image' has incorrect type (expected numpy.ndarray, got DataArray) #40
Comments
I think the error is related the use of an old version of rasterio package. I had rasterio installed years ago for GIS processing so it was detected when installing W2W and didn't get upgraded to the latest version. I manually upgraded it by 'pip install --upgrade rasterio' and the message wasn't shown any more. Will follow up with any further issues. |
Thanks for having a look at this, so we might have to add a lower version bound. Would you mind bisecting which version of Line 27 in 9b4fb44
rasterio>=0.1.2
I would first have a look at the change from |
Hi @yy522 Did you manage to process all data? Thanks! |
Hi I got this error when processing the continental LCZ map for US with my domain in Los Angeles. It looks like an error occurring with the rasterio package. As suggested, I used the LCZ map ends with 'epsg4326'. This error occurred after the screen shows '+ FRC_URB2D, alter LU_INDEX, GREENFRAC and LANDUSEF'. What could be wrong here? Thanks!
The text was updated successfully, but these errors were encountered: