<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Here is a link to the .tif:<div class=""><br class=""></div><div class=""><a href="https://drive.google.com/file/d/1ZxNdoURdLZS1HRUQUhF-evD1NpuIDcvk/view?usp=sharing" class="">https://drive.google.com/file/d/1ZxNdoURdLZS1HRUQUhF-evD1NpuIDcvk/view?usp=sharing</a></div><div class=""><br class=""></div><div class="">And here is a link to the .nc:</div><div class=""><br class=""></div><div class=""><a href="https://drive.google.com/file/d/1pcXklnup5AxYe3DQfGfsZ3mwwe8WI8mf/view?usp=sharing" class="">https://drive.google.com/file/d/1pcXklnup5AxYe3DQfGfsZ3mwwe8WI8mf/view?usp=sharing</a> </div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div>---------------------------------------------------<br class="">David F. Hill<br class="">Professor<br class="">Civil and Construction Engineering<br class="">Oregon State University<br class="">220 Owen Hall<br class="">Corvallis, OR 97331<br class="">541.737.4939<br class=""><a href="mailto:david.hill@oregonstate.edu" class="">david.hill@oregonstate.edu</a><br class="">http://www.engr.oregonstate.edu/~dfh<br class="">---------------------------------------------------</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jun 28, 2021, at 12:53 PM, Even Rouault <<a href="mailto:even.rouault@spatialys.com" class="">even.rouault@spatialys.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div class=""><p class=""><span style="color:#D73F09;" class="">[This email originated from outside of OSU. Use caution with links and attachments.]</span></p>
<div class=""><p class="">David,</p><p class="">providing a link to a such file could be useful for investigation</p><p class="">Even<br class="">
</p>
<div class="moz-cite-prefix">Le 28/06/2021 à 20:59, Hill, David Foster a écrit :<br class="">
</div>
<blockquote type="cite" cite="mid:64E16133-8CCD-4977-B0CE-48D8F0952547@oregonstate.edu" class="">
<pre class="moz-quote-pre" wrap="">Hello.

I am new to GDAL, and have spent the past two weeks exploring its use for (largely) nc —> tiff conversions. I am puzzled by a few things, however. I have a .nc file and when I use 

</pre>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<pre class="moz-quote-pre" wrap="">ncdump -c file.nc
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">the coords are shown to me. The min x is 487200 and the min y is 4690100. The grid size is 100 m. If I then do:

</pre>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<pre class="moz-quote-pre" wrap="">gdal_translate -of GTiff file.nc file.tif
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">and then

</pre>
<blockquote type="cite" class="">
<blockquote type="cite" class="">
<pre class="moz-quote-pre" wrap="">gdalinfo file.tif, 
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">it shows the ‘lower left’ corner coordinates as

486790, 4690050

For the y coord, I can see how this makes sense…assume that ncdump is giving coords of the grid cell centers, not the ‘corner’ of the grid cells. Thus, the 50 m difference. For the x coord, the values are like 410 m different, so I am puzzled about that.

I am sure this is an overly simple question, but I would welcome any tips / guidance on what I am doing wrong. Thank you.
---------------------------------------------------
David F. Hill
Professor
Civil and Construction Engineering
Oregon State University
220 Owen Hall
Corvallis, OR 97331
541.737.4939
<a class="moz-txt-link-abbreviated" href="mailto:david.hill@oregonstate.edu">david.hill@oregonstate.edu</a>
<a class="moz-txt-link-freetext" href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.engr.oregonstate.edu%2F~dfh&data=04%7C01%7C%7Cf1052ff53fe1478320b708d93a6e67c0%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C637605068745495027%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=2U4m8gjslAiHa%2FjfQlCHsjR30mQyoUKaZK6lZTA1W9M%3D&reserved=0" originalsrc="http://www.engr.oregonstate.edu/~dfh" shash="FUsdlehR0kU+BCTpOWvbtvjYyqc+WCZezz9wM9ud0FoCw2qAXAHhD30CgkTPjRquvnDKHTDL6X++cFqCBcnhsKWA2a+cxl8SAGXVOJBN07r6JJWQ1f8WGkWW5QiQauBorhYqLKm3QJAtgtTpZ3Pwut75fX1zjTiG/AN6ps9vS3c=">http://www.engr.oregonstate.edu/~dfh</a>
---------------------------------------------------



</pre>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=04%7C01%7C%7Cf1052ff53fe1478320b708d93a6e67c0%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C637605068745495027%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=Es0pPW8W2v2kSzDllxKkcLuzn2zJwFZ%2BCtHI3BahwAU%3D&reserved=0" originalsrc="https://lists.osgeo.org/mailman/listinfo/gdal-dev" shash="XXNMU/oH+m6/s2vuYZMpYA8K0LV1VYk24uKW3daNsnyho+8MBEiZY+CSXOTLTISdHLaWXXpLxCowMwS9JJ+HqaDdLdqdKsjz6LkZfYj//F8oe3dwhtmGsGnwkdk+ttMtAY6PbYEIgLNet7sML37vRg4BRZaugq7kH52K2/3XB+w=">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F&data=04%7C01%7C%7Cf1052ff53fe1478320b708d93a6e67c0%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C637605068745505025%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=BcNPqrHMHjyxWT0koLvKjnN6ZKZ%2BtNiYwMuM%2BgYfGkw%3D&reserved=0" originalsrc="http://www.spatialys.com/" shash="Koc1tQYgPwhQzS7z/GV+aKPFCDqbtn0R+1ifdV4lbDOH0yGloDI9e5kQlwWLKPgYyuPbaw0me7nnH+QURMkQbHH47O4C716E7E3HGYUWu8WtTCBDdfqIBp8fFMdqMwehTkoM4l5xdDs89A2MUEX2j2J3OZFSiWb4MPp1nHzK7qg=">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</div>

</div></blockquote></div><br class=""></div></body></html>