<div dir="ltr">



















<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font size="2"><span style="font-family:monospace,monospace">Hello,<br></span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font size="2"><span style="font-family:monospace,monospace">I think I have found a similar situation solved for Linux
version at:<span></span></span></font></p>

<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:"Calibri",sans-serif"><span class="gmail-MsoHyperlink" style="color:rgb(5,99,193);text-decoration:underline"><a href="https://trac.osgeo.org/grass/ticket/2757#comment:21" style="color:rgb(5,99,193);text-decoration:underline">https://trac.osgeo.org/grass/ticket/2757#comment:21</a></span><span></span></p>

<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt"><span style="font-family:monospace,monospace"><font size="2">In my case I'm using GRASS 7.4.0 in Windows 10, and when I called for metadata info of the layer I got the message bellow with the problem highlighted in yellow bellow.</font></span></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt">
</p><div><font size="2"><span style="font-family:monospace,monospace">What could be happening? It
 would be very helpful to understand what is happening and how to solve 
importing many raster layers without this extent problems.</span></font></div><div><font size="2"><span style="font-family:monospace,monospace">I appreciate your help.<br></span></font></div><div><font size="2"><span style="font-family:monospace,monospace">Thanks a lot in advance.</span></font></div><div><font size="2"><span style="font-family:monospace,monospace">Regards,</span></font></div><div><font size="2"><span style="font-family:monospace,monospace">Gabriel</span></font></div><div><font size="2"><span style="font-family:monospace,monospace"><br></span></font></div>

<br><span style="font-family:monospace,monospace"><font size="2"></font><span></span></span><p></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="FR">(Mon Jun 25 00:30:03
2018)<span>                                                     
</span><span></span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="FR"><a href="http://r.info">r.info</a>
map=F101992@PERMANENT<span>                                                   
</span><span></span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span lang="FR"><span> </span></span>+----------------------------------------------------------------------------+<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>| Map:<span>      </span>F101992@PERMANENT<span>              </span>Date: Sun Jun 24 23:29:43
2018<span>    </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>| Mapset:<span>   </span>PERMANENT<span>                      </span>Login of Creator:
Gabriel<span>         </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>| Location: test<span>                                                            
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>| DataBase: C:\Users\Gabriel\Documents\layers<span>                                </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>| Title:<span>    </span>F101992<span>                                                         
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>| Timestamp: none<span>                                                           
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|----------------------------------------------------------------------------|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>                                                                           
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Type of Map:<span> 
</span>raster<span>               </span>Number of
Categories: 0<span>               </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Data Type:<span>   
</span>CELL<span>                         </span><span>                              </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Rows:<span>        
</span>16801<span>                                                     
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Columns:<span>     
</span>43201<span>                                                     
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Total Cells:<span> 
</span>725820001<span>                                    </span><span>              </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>        </span>Projection: Latitude-Longitude<span>                                      </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>            </span>N:<span> 
</span>75:00:15N<span>    </span>S:
65:00:14.997984S<span>   </span>Res: 0:00:30<span>             </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>            </span>E: 180:00:14.994816E<span>    </span>W: 180:00:15W<span>   </span>Res: 0:00:30<span>            </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Range of data:<span>    </span>min = 0<span> 
</span>max = 63<span>                                     
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>                                                                           
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Data Description:<span>                                                       
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>    </span>generated by r.in.gdal<span>                                                 
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>                                                                           
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>   </span>Comments:<span>                                                               
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>    </span>r.in.gdal -e input="C:\Users\Gabriel\Documents\layers\F101992.tif"
o\<span>   </span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>    </span>utput="F101992" memory=300
offset=0 num_digits=0<span>                       
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>|<span>                                                                           
</span>|<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>+----------------------------------------------------------------------------+<span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span style="background-color:rgb(255,255,0)">360 degree EW extent is exceeded by 0.999827 cells<span></span></span></p><span style="background-color:rgb(255,255,0)">

</span><p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span style="background-color:rgb(255,255,0)">360 degree EW extent is exceeded by 1.99983 cells</span><span></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif">(Mon Jun 25 00:30:04 2018) Command finished (0 sec)<span>  </span><span></span></p>





<div><br></div><br><div><br></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 24, 2018 at 5:09 PM, Gabriel Cotlier <span dir="ltr"><<a href="mailto:gabiklm01@gmail.com" target="_blank">gabiklm01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Vero and Markus,<div><br><div>Thanks a lot for the guidance and help.</div><div><br></div><div>If I understood correctly:</div><div><br></div><div>I first have to import one layer when I select a location setting the coordinate system of that layer to the mapset of GRASS (at the start).</div><div><div><br></div></div><div>Then I have to import all other layers to mapset using command "r.in.gdal -a" </div><div><br></div><div>r.in.gdal -a input=C:\Users\Gabriel\<wbr>Documents\layers\F121995.tif output=F121995<br></div><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Then I have to running "g.region" to set up the same extent to all layers as follows:</span>

<br></div><div><br></div><div>

<span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">g.region raster=F121995</span><br></div><div><br></div><div>and I got the layer processed and finished but the error did not went way....</div><div><br></div><div><span class=""><div>|i Inter-satellite calibration of DMSP-OLS Nighttime Stable Lights</div><div>WARNING: Operating on current region</div><div><br></div><div>|> Calibrating average visible Digital Number values</div></span><span class=""><div>Regression coefficients: (-0.0515, 1.2293, -0.0038) | Associated R^2: 0.9178</div><div><br></div></span><div>360 degree EW extent is exceeded by 0.999827 cells</div><span class=""><div>360 degree EW extent is exceeded by 1 cells</div><div><br></div></span><span class=""><div>WARNING: As requested, timestamp transferring not attempted.</div></span><span class=""><div>WARNING: No data base element files found</div><div><br></div></span><div>(Sun Jun 24 17:05:31 2018) Command finished (1 min 2 sec)                       </div></div><div><br></div><div>What could be doing wrong?</div><div>In addition I'm doing it for one layer here, is there a way to do it for many layers at onces with command line or GUI dialog box?</div><span class=""><div><br></div><div>Thanks a lot again.</div><div><br></div><div>Gabriel </div></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 23, 2018 at 6:31 AM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><br><br>On Sat, Jun 23, 2018 at 11:10 AM, Veronica Andreo <<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> El sáb., 23 jun. 2018 4:35, Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a><wbr>> escribió:<br>>><br>>><br>>><br>>> On Fri, Jun 22, 2018 at 10:34 PM, Veronica Andreo <<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>> wrote:<br>>> ><br>>> > Hi Gabriel,<br>>> ><br>>> > What you could do is import with r.in.gdal -a  that adjusts resolution for lat long maps [0]<br>>><br>>> that will help to fix the resolution from 0.008333333300000 to 0.008333333333333, i.e. exactly 30 arc-seconds. The software used to create the raster data has stored the resolution with limited precision.<br>><br>><br>> Right, I overlooked this <br>><br>>> > and then (before the intercalibration step), set the region to one of the imported maps with g.region raster=yourmap<br>>><br>>> you will then get a message like<br>>> 360 degree EW extent is exceeded by 1 cells<br>>><br>>> which is correct because the first and last column are duplicates. The cell centers cover -180, 180, and the EW extents regarding cell borders are E: 180:00:15E, W: 180:00:15W, grown by half a cell, i.e. 15 arc-seconds.<br>><br>><br>> So, solution is to just use the data with the extra 15 arc-seconds in each side? <br><div><br></div></span><div>yes, or chop off the first or last column: set the region to the raster, then modify the current region with g.region w=179:59:45W -p<br></div><span><div>></div><div>> Of I want data to fit 180/-180, would r.region mymap e=180 w=180 help or will it change the data?</div><div><br></div></span><div>this would modify the data because</div><div>1) the raster will be shifted by half a cell to the east</div><div>2) the cell size (ew resolution) will be changed<br></div><div><br></div><div>Markus M</div><div><br></div>><br>> Vero <br><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>