-
Hi, I'm working on the public available Danish Elevation Model here https://github.com/PeterFogh/digital_elevation_model_use_cases. I have tried executing with documentation data (see docs) with my package version without any problems. Here is one of my GeoTIFF files from the Danish Elevation Model which fails. OS version: Ubuntu 20.04.3 LTS
My code and package version are:
Which results in this visualization |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What happens if you mask the nodata: da = rioxarray.open_rasterio('../DEMs/denmark/data/DTM_1km_6285_540.tif')
dar = da.rio.reproject('epsg:4258')
dar.where(dar!=dar.rio.nodata).plot() |
Beta Was this translation helpful? Give feedback.
-
Hi @snowman2, thank you so much :) it solved the problem. Thus the problem was, that the plotting could not visualise the actual data when the nodata value is so large (-9999) (e.g. the range of values was too big to show the range of the actual data) |
Beta Was this translation helpful? Give feedback.
What happens if you mask the nodata: