<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Jennifer,</p>
<p><br>
</p>
<p>That worked perfectly! I simply added those lines at the top of my bash script and now all is well!</p>
<p><br>
</p>
<p>Thank you again,</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Aaron D. Perry</span></font></b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Class of 2016</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Lyndon State College</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:14.67px">Mobile: (617)&nbsp;780-4312</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9"><span style="font-size:11pt">Twitter:&nbsp;</span></font><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"><font size="2"><span style="font-size:11pt">@arnpry</span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">FB:&nbsp;</span></font><a href="https://www.facebook.com/arnpry" target="_blank" id="LPNoLP" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">fb.com/arnpry</span></font></a></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">LinkedIn:&nbsp;</span></font><a href="https://www.linkedin.com/in/arnpry" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">arnpry</span></font></a><a href="https://www.linkedin.com/in/upstream" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"></span></font></a></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Web:&nbsp;</span></font><a href="http://shearanalytics.net/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9">shearanalytics.net</font></span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Email:&nbsp;</span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gradsusr-bounces@gradsusr.org &lt;gradsusr-bounces@gradsusr.org&gt; on behalf of Jennifer M Adams &lt;jadams21@gmu.edu&gt;<br>
<b>Sent:</b> Sunday, January 31, 2016 5:35 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Open Error on Map Data Set Error During Cronjob</font>
<div>&nbsp;</div>
</div>
<div>Aaron,
<div>I believe the problem is that cron does not read your .bashrc before running jobs. You need to set those environment variables in your scripts, or else set up a symlink for /usr/local/lib/grads that points to /home/hoth/grads.</div>
<div>&#8212;Jennifer</div>
<div><br>
<div>
<div>On Jan 31, 2016, at 3:06 PM, Perry, Aaron &lt;<a href="mailto:Aaron.Perry@lsc.vsc.edu">Aaron.Perry@lsc.vsc.edu</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Everyone,</p>
<p><br>
</p>
<p>I'm currently running into a problem with running some grads scripts in a bash script that is on my cron. I'm running on a CentOS 7 system.</p>
<p><br>
</p>
<p>The error:&nbsp;</p>
<p><span style="font-size:12pt"><b>Open Error on Map Data Set: /usr/local/lib/grads/hires</b></span></p>
<p><br>
</p>
<p>I added the following lines to my .bashrc:</p>
<div><br class="webkit-block-placeholder">
</div>
<div><b>export PATH=/bin:/usr/bin:$PATH</b></div>
<div><b>export GADDIR=/home/hoth/grads</b></div>
<div><b>export GASCRP=/home/hoth/scripts</b></div>
<div><b><br>
</b></div>
<div>I'm a bit perplexed because I have all of the required font.dats and the 3 map sets in /home/hoth/grads/ but when the scripts run via cron, GrADS can't see them.</div>
<div><br>
</div>
<div>What's going on?</div>
<div><br class="webkit-block-placeholder">
</div>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Aaron D. Perry</span></font></b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Class of 2016</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Lyndon State College</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:14.67px">Mobile: (617)&nbsp;780-4312</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9"><span style="font-size:11pt">Twitter:&nbsp;</span></font><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"><font size="2"><span style="font-size:11pt">@arnpry</span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">FB:&nbsp;</span></font><a href="https://www.facebook.com/arnpry" target="_blank" id="LPNoLP" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">fb.com/arnpry</span></font></a></div>
<div style="font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">LinkedIn:&nbsp;</span></font><a href="https://www.linkedin.com/in/arnpry" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">arnpry</span></font></a><a href="https://www.linkedin.com/in/upstream" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"></span></font></a></font></div>
<div style="font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Web:&nbsp;</span></font><a href="http://shearanalytics.net/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9">shearanalytics.net</font></span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Email:&nbsp;</span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div>
<div>
<div style="font-size:12px; orphans:2; widows:2">--</div>
<div style="font-size:12px; orphans:2; widows:2">Jennifer M. Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
111 Research Hall, Mail Stop 2B3<br>
George Mason University<br>
4400 University Drive<br>
Fairfax, VA 22030&nbsp;<br>
<br>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>