<div dir="ltr"><div>Hi Even,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 2:43 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div style="font-family:monospace;font-size:9pt;font-weight:400;font-style:normal">
<p style="margin:0px;text-indent:0px">Hi Sean,</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> An empty string is printed to the terminal after the second warning. Note</p>
<p style="margin:0px;text-indent:0px">> that behavior was different with rasterio 1.1.4, which</p>
<p style="margin:0px;text-indent:0px">> set CHECK_WITH_INVERT_PROJ=YES internally in an attempt to improve the</p>
<p style="margin:0px;text-indent:0px">> defaults.</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> The warning comes from</p>
<p style="margin:0px;text-indent:0px">> <a href="https://github.com/OSGeo/gdal/blob/2818ff0a49f65741a55b9cea79df496cc05f85e3/" target="_blank">https://github.com/OSGeo/gdal/blob/2818ff0a49f65741a55b9cea79df496cc05f85e3/</a></p>
<p style="margin:0px;text-indent:0px">> gdal/frmts/grib/gribdataset.cpp#L2149 .</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> Is this sensitivity expected?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">I'd say this isn't completely unexpected if the corners of the dataset are far from the projection center. There might be convergence issues in the inverse projection method (or it might not try to converge down to the precision we expect with CHECK_WITH_INVERT_PROJ=YES)</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">CHECK_WITH_INVERT_PROJ is mostly a gdalwarp implementation detail to make things work in some cases. I wouldn't advise to use it universally unless you know you need to use it (one good reason is that not all PROJ projection methods have an inverse method, even if most popular ones do have one)</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Even</p></div></blockquote><div><br></div><div>Got it. Thank you!</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Sean Gillies</div></div></div>