Hi Even and Eli,
Thanks much for your responses. As soon as I sent that email I
realized I might eat my words on the inability to open the ASCII grids
in ArcMap. This problem did crop up when we released a version of our
code that used GDAL a few years back. A user reported intermittent
errors
Brad,
> E.g., if I try to write a 3x3 grid that ArcGIS can read, it needs to look
> something like this:
>
> ncols 3
> nrows 3
> xllcorner 100.
> yllcorner 100.
> cellsize 0.1000
> 1.0 1.4809201955795288 1.4809201955795288
> 0
Le jeudi 15 décembre 2011 18:21:11, bhmcrae a écrit :
> Hi,
>
> I'm having problems with GDAL inserting leading spaces when writing from a
> numpy array to ESRI ASCII Grid format.
>
> The problem occurs whenever there are integers in the array (even though
> the array itself is floating point).
>
Hi,
I'm having problems with GDAL inserting leading spaces when writing from a
numpy array to ESRI ASCII Grid format.
The problem occurs whenever there are integers in the array (even though the
array itself is floating point).
E.g., if I try to write a 3x3 grid that ArcGIS can read, it needs to