[Qgis-user] Re: [Matplotlib-users] open ascii grid data and plot
Goyo
goyodiaz at gmail.com
Fri Mar 16 10:09:12 PDT 2012
El día 15 de marzo de 2012 22:53, Pierre GM <pgmdevlist at gmail.com> escribió:
>
> Are you sure about the one row?
I can't since I don't have the original file, it was just a guess, I
have to admit.
> np.genfromtxt would not have complained more
> than once.
You're absolutely right, I overlooked also that. But then I can't
understand why genfromtxt rturns a 1D array.
> Plus, if my memory serves me right, this kind of files is actually 2D... Just a detail, sorry.
Yes, it is. But EOL marks are not needed since the shape is in the
header. I don't know what the format specification (in case there's
one publicly available) says about this.
Goyo
More information about the Qgis-user
mailing list