Armstrong Manuvakola Ezequias Ngolo
I am not sure if I understood what you meant!!
Were you expecting to have the width in the first axis?
I think this behaviour (height first) is normal in rasterio and in many libraries used to manipulate images!!
But if you really wanna change the axis you can use something like numpy.transpose (recommended) or numpy.rollaxis
De: firstname.lastname@example.org <email@example.com> em nome de gabriel@... <gabriel@...>
Enviado: 11 de abril de 2020 22:11
Para: firstname.lastname@example.org <email@example.com>
Assunto: [rasterio] Inverted axis in numpy
Hi everyone. I started using rasterio a few days ago to read some DSM/DTM and process them using numba.