<html>Hi,<br>http://osgeo-org.1560.n6.nabble.com/r-in-gdal-worldclim-data-G-set-window-geographic-latitude-not-valid-for-north-td3889261.html<br><br>gdal_translate -a_ullr -180 90 180 -60       input_worldclim/hdr.adf      new_boundary.tif
<br>g.region n=90N s=60S e=180E w=180W res=00:00:30
<br>r.in.gdal  input=new_boundary.tif output=worldclim_map
<br><br>Cheers<br>Stefano<br><br>www.spatial-ecology.net<br>
<blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Daniel Lee [mailto:lee@isi-solutions.org]<br><b>Sent:</b> Thursday, June 28, 2012 08:30 AM<br><b>To:</b> 'Rainer M Krug'<br><b>Cc:</b> 'Rich Shepard', 'GRASS user list'<br><b>Subject:</b> Re: [GRASS-user] Importing ASCII file<br><br></font> Rainer,<br><br>Good idea. Here's the output of gdalinfo:<br><br><span style="font-family:courier new,monospace">gdalinfo prec_1.asc </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Driver: AAIGrid/Arc/Info ASCII Grid</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Files: prec_1.asc</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Size is 43200, 18000</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Coordinate System is `'</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Origin = (-180.000000000000000,90.000000000000000)</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Pixel Size = (0.008333333333333,-0.008333333333333)</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Corner Coordinates:</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Upper Left  (-180.0000000,  90.0000000) </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Lower Left  (-180.0000000, -60.0000000) </span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Upper Right ( 180.0000000,  90.0000000) </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Lower Right ( 180.0000000, -60.0000000) </span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">Center      (   0.0000000,  15.0000000) </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Band 1 Block=43200x1 Type=Int32, ColorInterp=Undefined</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  NoData Value=-9999</span><br><br>So it looks like Arc/Info ASCII grid is correct.<br><br>Hamish,<br><br>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 <a href="http://www.ccafs-climate.org/data/" mce_href="http://www.ccafs-climate.org/data/" target="_blank">http://www.ccafs-climate.org/data/</a><br>

<br>In any case, using the -l flag did the trick! Thanks a ton, that makes my day :) Case closed!<br><br>Best,<br>Daniel<br>
</blockquote></html>