I downloaded DEM from Google earth engine as tiff files and loaded it in richdem, when I try to print rdarray with rd.rdShow(dem), it raises value error: cannot convert float NaN to integer. Even I type casted all values in my DEM to to int type, filled all nan values with -9999 and reset dem.no_data to -9999, but still it is raising same error. When I use matplotlib imshow to print it then it works very good. I do not know why rd.rdShow() is not working. Please see in picture below;
Hello,
I downloaded DEM from Google earth engine as tiff files and loaded it in richdem, when I try to print rdarray with rd.rdShow(dem), it raises value error: cannot convert float NaN to integer. Even I type casted all values in my DEM to to int type, filled all nan values with -9999 and reset dem.no_data to -9999, but still it is raising same error. When I use matplotlib imshow to print it then it works very good. I do not know why rd.rdShow() is not working. Please see in picture below;
Kindly help. Thanks