<div dir="ltr">
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-size:11pt;font-family:"Calibri Light",sans-serif">Problem with running <em><span style="font-family:"Calibri Light",sans-serif;color:black">i.nightlights.intercalibration</span></em></span><em><span style="font-family:"Calibri Light",sans-serif;color:black;font-style:normal"> for the </span></em><span style="font-family:"Calibri Light",sans-serif;color:black">Elvidge(2014) model-coefficients.<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black"><span> Steps I have followed:</span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">1.I have imported the following layers:</span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">(Tue Jun 19 12:29:20 2018)<span> </span><span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span lang="FR" style="font-family:"Calibri Light",sans-serif;color:black">g.list type=raster<span> </span><span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F101992<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F101993<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F101994<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F121994<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F121995<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F121996<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F121997<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F121998<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F121999<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F141997<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F141998<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F141999<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F142000<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F142001<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F142002<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F142003<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152000<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152001<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152002<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152003<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152004<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152005<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152006<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F152007<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F162004<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F162005<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F162006<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F162007<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F162008<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F162009<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F182010<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F182011<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">F182012<span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black">(Tue Jun 19 12:29:21 2018) Command finished (0 sec)<span> </span><span> </span><span></span></span></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New""><span style="font-family:"Calibri Light",sans-serif;color:black"><span> </span><span></span></span></pre>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:"Calibri Light",sans-serif">2. I have run the code on the dialog box of <em><span style="font-family:"Calibri Light",sans-serif;color:black">i.nightlights.intercalibration</span></em><em><span style="font-family:"Calibri Light",sans-serif;color:black;font-style:normal"> :<span></span></span></em></span></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:"Calibri Light",sans-serif"><em><span style="font-family:"Calibri Light",sans-serif;color:black;font-style:normal"></span></em></span></p><div><em><img src="cid:ii_jiluvbo40_16418b5e9c1a36ed" width="413" height="390"><br></em></div><em><br></em><p></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt"><font color="#000000" face="Calibri Light, sans-serif">3. I got the following error message:</font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt"><font color="#000000" face="Calibri Light, sans-serif"></font></p><div><font color="#000000" face="Calibri Light, sans-serif"><img src="cid:ii_jiluw5jc1_16418b5e9c1a36ed" width="413" height="234"><br></font></div><p></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">(Tue Jun 19 12:31:26 2018) </span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">i.nightlights.intercalibration image=g.list type=raster suffix=c model=elvidge2014</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">|i Inter-satellite calibration of DMSP-OLS Nighttime Stable Lights</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">WARNING: Operating on current region</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"><br></span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">|> Calibrating average visible Digital Number values</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">WARNING: No data base element files found</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">Traceback (most recent call last):</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> File "C:\Users\Gabriel\AppData\Roaming\GRASS7\addons/scrip</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">ts/<a href="http://i.nightlights.intercalibration.py">i.nightlights.intercalibration.py</a>", line 525, in <module></span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> sys.exit(main())</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> File "C:\Users\Gabriel\AppData\Roaming\GRASS7\addons/scrip</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">ts/<a href="http://i.nightlights.intercalibration.py">i.nightlights.intercalibration.py</a>", line 340, in main</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> model_parameters = retrieve_model_parameters(Model,</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">*args)</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> File "C:\Users\Gabriel\AppData\Roaming\GRASS7\addons/scrip</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">ts/<a href="http://i.nightlights.intercalibration.py">i.nightlights.intercalibration.py</a>", line 242, in</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">retrieve_model_parameters</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> model = model_class(*args, **kwargs)</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> File "C:\Users\Gabriel\AppData\Roaming\GRASS7\addons\etc\i</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">.nightlights.intercalibration\intercalibration_models.py",</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">line 155, in __init__</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> CalibrationModel.__init__(self, author, satellite, year)</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> File "C:\Users\Gabriel\AppData\Roaming\GRASS7\addons\etc\i</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">.nightlights.intercalibration\intercalibration_models.py",</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">line 43, in __init__</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> year=self.year)</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> File "C:\Users\Gabriel\AppData\Roaming\GRASS7\addons\etc\i</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">.nightlights.intercalibration\intercalibration_models.py",</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">line 63, in verify_year</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px"> available_years = COEFFICIENTS[author][satellite].keys()</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">KeyError: 'g.l'</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:14.6667px">(Tue Jun 19 12:31:27 2018) Command finished (1 sec) </span></font></p><div><br></div><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif" style="font-size:11pt">Thanks a lot for your help</font><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:11pt"> and </span><span style="font-size:14.6667px">assistance</span><span style="font-size:11pt">.</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:11pt">Best regards,</span></font></p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%"><font color="#000000" face="Calibri Light, sans-serif"><span style="font-size:11pt">Gabriel </span></font></p></div>