If using Numpy ReadAsArray maybe your friendOn Apr 14, 2024, at 7:48 PM, Michael Sumner via gdal-dev wrote:Hi, I'm getting some pushback on my code style. I just want the raw bytes in-memory of a file in Python, for a manageable tiny dataset. Is there anything especially wrong with the following?
If you are using numpy ReadAsArray maybe your friend
> On Apr 14, 2024, at 7:48 PM, Michael Sumner via gdal-dev
> wrote:
>
> Hi, I'm getting some pushback on my code style. I just want the raw bytes
> in-memory of a file in Python, for a manageable tiny dataset.
>
> Is there anything especi
Hi Michael,
I can't think of a better way with the current API.
There has been some work in progress in
https://github.com/OSGeo/gdal/pull/8222 to make VSIFile accessible as a
regular Python file, but this isn't merged
Even
Le 15/04/2024 à 01:48, Michael Sumner via gdal-dev a écrit :
Hi, I'
Hi, I'm getting some pushback on my code style. I just want the raw bytes
in-memory of a file in Python, for a manageable tiny dataset.
Is there anything especially wrong with the following? It's essentially
the same as the answer here:
https://lists.osgeo.org/pipermail/gdal-dev/2016-August/045