Closed tommylees112 closed 4 years ago
Greetings,
I don't think I've ever tried using a BIL file before. All the tests use the GRID-type files instead.
I am facing the Same issue using GRID!
any solution! thanks in advance
If the underlying data is int16, you may need to cast to float to make the colorbar work correctly. So, when using imshow, try:
plt.imshow(grid.dem.astype(float), extent=grid.extent, cmap='cubehelix', zorder=1)
it works ! thanks
I read in the dem file from raster as shown on the README.md file
The file was downloaded from here. It's BIL format.
The file looks like this:
Then I try and plot as in the quickstart notebook
But I get an error message:
And this plot: