[GRASS-user] Importing ASCII file

Daniel Lee lee at isi-solutions.org
Wed Jun 27 23:30:31 PDT 2012


 Rainer,

Good idea. Here's the output of gdalinfo:

gdalinfo prec_1.asc
Driver: AAIGrid/Arc/Info ASCII Grid
Files: prec_1.asc
Size is 43200, 18000
Coordinate System is `'
Origin = (-180.000000000000000,90.000000000000000)
Pixel Size = (0.008333333333333,-0.008333333333333)
Corner Coordinates:
Upper Left  (-180.0000000,  90.0000000)
Lower Left  (-180.0000000, -60.0000000)
Upper Right ( 180.0000000,  90.0000000)
Lower Right ( 180.0000000, -60.0000000)
Center      (   0.0000000,  15.0000000)
Band 1 Block=43200x1 Type=Int32, ColorInterp=Undefined
  NoData Value=-9999

So it looks like Arc/Info ASCII grid is correct.

Hamish,

you're right, editing the cell size even with vi would be painful. I
wouldn't be afraid to name names about the software, but the fact of the
matter is that I don't know what software it is. I downloaded the data from
http://www.ccafs-climate.org/data/

In any case, using the -l flag did the trick! Thanks a ton, that makes my
day :) Case closed!

Best,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120628/5932fea8/attachment.html>


More information about the grass-user mailing list