<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 6 September 2013 11:33, Eloi <span dir="ltr"><<a href="mailto:eloi@openmailbox.org" target="_blank">eloi@openmailbox.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">Assigning EPSG:4326 nothing comes up when loading the image with</span><br>
</div>
others data in EPSG:4326.<br></blockquote><div><br></div><div>You are right, the data is missing georeference information:</div><div>$ gdalinfo 'HDF4_EOS:EOS_GRID:"MOD13C2.A2000032.005.2006272104028.hdf":MOD_Grid_monthly_CMG_VI:CMG 0.05 Deg Monthly NDVI'</div>
<div>[snip snip snip]</div><div><div>Corner Coordinates:</div><div>Upper Left  (  -1.0000000,  -1.0000000) </div><div>Lower Left  (  -1.0000000,  -1.0000000) </div><div>Upper Right (  -1.0000000,  -1.0000000) </div><div>Lower Right (  -1.0000000,  -1.0000000) </div>
<div>Center      (  -1.0000000,  -1.0000000) </div></div><div><br></div><div>So you are right, you need to specify it. This works</div><div>$ gdal_translate -of GTiff  -a_srs "EPSG:4326" -a_ullr -180 90 180 -90 \</div>
<div>'HDF4_EOS:EOS_GRID:"MOD13C2.A2000032.005.2006272104028.hdf":MOD_Grid_monthly_CMG_VI:CMG 0.05 Deg Monthly NDVI' ndvi.tif</div><div><br></div><div>Cheers,</div><div>Jose</div><div><br></div><div><br></div>
</div></div></div>