<div dir="ltr">Clara,<div><br></div><div>I went ahead and forwarded this message to the users list such that things start getting archived. Feel free to subscribe if you like.</div><div><br></div><div>It appears that I have some assumed logic that you always will run with the &quot;global&quot; region at least. So you did not and it looked for that key in some dictionary I generate, but it isn&#39;t there. For now, try running with --regions global arctic. I have added this to my bug list and will get on it.</div><div><br></div><div>The error message indicates that the installed version of ILAMB you are using is located in your local directories. This is good and shouldn&#39;t conflict with an additional installation in anaconda.</div><div><br></div><div>NAte</div><div><br></div><div><div class="gmail_quote"><div dir="ltr">On Fri, Sep 2, 2016 at 3:05 PM Collier, Nathaniel O. &lt;<a href="mailto:collierno@ornl.gov">collierno@ornl.gov</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Clara Deal &lt;<a href="mailto:cmdeal@alaska.edu" target="_blank">cmdeal@alaska.edu</a>&gt;<br>
<b>Sent:</b> Friday, September 02, 2016 1:06 PM<br>
<b>To:</b> Collier, Nathaniel O.<br>
<b>Subject:</b> --regions arctic keyword error</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Nate,
<div><br>
</div>
<div>Sorry to bother you again, but I am getting an error when I run the driver.py with the --regions arctic keyword (please scroll down). Any ideas on how to correct the problem?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Clara</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>175-98-0-3:demo cmdeal$ python driver.py --config ocean.cfg --model_root $ILAMB_ROOT/MODELS/ --regions arctic</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>Searching for model results in /Users/cmdeal/ILAMB/ilamb/tutorial_files/IOCMB/MODELS/</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                                             ACME</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                                             IARC</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                                  IARC_9km_yr2009</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                               IARC_coarse_yr2007</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                               IARC_coarse_yr2009</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>Parsing config file ocean.cfg...</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC</span><span style="color:rgb(45,230,33)"> Initialized</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC</span><span style="color:rgb(45,230,33)"> Initialized</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC</span><span style="color:rgb(45,230,33)"> Initialized</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC</span><span style="color:rgb(45,230,33)"> Initialized</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC</span><span style="color:rgb(45,230,33)"> Initialized</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>Running model-confrontation pairs...</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC                
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC                
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC ACME                
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC                
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC                
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">UsingCachedData</span><span> </span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC                
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(255,59,29)">VarNotInModel</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>Finishing post-processing which requires collectives...</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">
<br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   5.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.9 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.8 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.9 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                           NitrateAtSurface/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.8 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.7 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                       ChlorophyllAtSurface/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>                      ChlorophyllIntegrated/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.7 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>            DissolvedOrganicCarbonAtSurface/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC ACME                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   4.7 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC                
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC_9km_yr2009     
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC_coarse_yr2007  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>              DissolvedOrganicCarbonDerived/CDIAC IARC_coarse_yr2009  
</span><span style="color:rgb(45,230,33)">Completed</span><span>   0.0 s</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>Traceback (most recent call last):</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>  File &quot;driver.py&quot;, line 331, in &lt;module&gt;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>    WorkPost(M,C,W,S,not args.quiet)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>  File &quot;driver.py&quot;, line 266, in WorkPost</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>    c.generateHtml()</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>  File &quot;/Users/cmdeal/.local/lib/python2.7/site-packages/ILAMB/Confrontation.py&quot;, line 766, in generateHtml</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>    data = var[...])</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>KeyError: &#39;global&#39;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span>175-98-0-3:demo cmdeal$ </span></p>
<div><span><br>
</span></div>
<div>By the way, not sure if this is a/the problem, but I have Confrontation.py in 3 places:</div>
<div>ILAMB&gt;ilamb&gt;src&gt;ILAMB&gt;Confrontation.py</div>
<div>ILAMB&gt;ilamb&gt;build&gt;lib&gt;ILAMB&gt;Confrontation.py</div>
<div>anaconda&gt;lib&gt;python2.7&gt;site-packages&gt;ILAMB&gt;Confrontation.py</div>
<div>Should I?</div></div></div></div></div></div><div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><div style="color:rgb(33,33,33)"><div><div dir="ltr"><div>
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Clara Deal, PhD.
<div>International Arctic Research Center</div>
<div>University of Alaska Fairbanks</div>
<div>P.O.Box 757340</div>
<div>Fairbanks, Alaska 99775</div>
<div><a href="tel:%28317%29%20902-9676" value="+13179029676" target="_blank">(317) 902-9676</a></div>
<div><a href="mailto:cmdeal@alaska.edu" target="_blank">cmdeal@alaska.edu</a></div>
</div>
</div>
</div></div></div></div></div></blockquote></div></div></div>