<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;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(166, 166, 166) solid;font-family:'Segoe UI','Segoe WP','Segoe UI WPC',Tahoma,Arial,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(252, 232, 233);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 0px 6px 0px 6px;vertical-align:middle!important;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(252, 232, 233) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face {  font-family:'o365IconsIE8';  src:url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.ie8.woff') format('woff'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.ie8.ttf') format('truetype');  font-weight:normal;  font-style:normal;}@font-face {  font-family:'o365IconsMouse';  src:url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.mouse.woff') format('woff'),         url('https://r4.res.outlook.com/owa/prem/16.0.326.8/resources/styles/office365icons.mouse.ttf') format('truetype');  font-weight:normal;  font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-owa-triangle-down-small:before {content:'\e052';}.ie8 .wf-owa-triangle-down-small:before { content:'\e052';}.ie8 .wf-owa-triangle-down-small {color:#666666/*$WFGreyColor*/;}.wf-size-x20 {font-size: 20px!important;}
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Segoe UI"}
@font-face
        {font-family:o365IconsIE8}
@font-face
        {font-family:o365IconsMouse}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.ms-cui-menu, li.ms-cui-menu, div.ms-cui-menu
        {margin:0in;
        margin-bottom:.0001pt;
        background:white;
        border:none;
        padding:0in;
        font-size:10.0pt;
        font-family:"Segoe UI","sans-serif";
        color:#333333}
p.ms-cui-menusection-title, li.ms-cui-menusection-title, div.ms-cui-menusection-title
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.ms-cui-ctl, li.ms-cui-ctl, div.ms-cui-ctl
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:#333333}
p.ms-cui-ctl-on, li.ms-cui-ctl-on, div.ms-cui-ctl-on
        {margin:0in;
        margin-bottom:.0001pt;
        background:#FCE8E9;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.ms-cui-img-cont-float, li.ms-cui-img-cont-float, div.ms-cui-img-cont-float
        {margin-top:1.5pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.ms-cui-smenu-inner, li.ms-cui-smenu-inner, div.ms-cui-smenu-inner
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.ms-owa-paste-option-icon, li.ms-owa-paste-option-icon, div.ms-owa-paste-option-icon
        {margin-top:0in;
        margin-right:4.5pt;
        margin-bottom:0in;
        margin-left:4.5pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.ms-rtepasteflyout-option, li.ms-rtepasteflyout-option, div.ms-rtepasteflyout-option
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.ms-cui-menusection, li.ms-cui-menusection, div.ms-cui-menusection
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.wf, li.wf, div.wf
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.wf-family-owa, li.wf-family-owa, div.wf-family-owa
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsMouse}
p.wf-owa-play-large, li.wf-owa-play-large, div.wf-owa-play-large
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.wf-size-play-large, li.wf-size-play-large, div.wf-size-play-large
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.wf-owa-triangle-down-small, li.wf-owa-triangle-down-small, div.wf-owa-triangle-down-small
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
p.wf-family-owa1, li.wf-family-owa1, div.wf-family-owa1
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsIE8}
p.wf-owa-play-large1, li.wf-owa-play-large1, div.wf-owa-play-large1
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white}
p.wf-owa-play-large2, li.wf-owa-play-large2, div.wf-owa-play-large2
        {margin:0in;
        margin-bottom:.0001pt;
        text-align:center;
        border:none;
        padding:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white}
p.wf-size-play-large1, li.wf-size-play-large1, div.wf-size-play-large1
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif"}
p.wf-size-play-large2, li.wf-size-play-large2, div.wf-size-play-large2
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif"}
p.wf-owa-triangle-down-small1, li.wf-owa-triangle-down-small1, div.wf-owa-triangle-down-small1
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:#666666}
span.EmailStyle39
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Michael,</p>
<p><br>
</p>
<p>Thanks for replying to my question.</p>
<p><br>
</p>
<p>I currently have the following at the top of the shell script:</p>
<p><br>
</p>
<p>#!/bin/sh<br>
<br>
export PATH=/mnt/grads:$PATH<br>
export GADDIR=/mnt/grads/<br>
export GASCRP=/home/aaron/scripts/dec2013</p>
<p><br>
</p>
<p>I also have that in .bashrc file.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font face="Tahoma" size="2"><font size="2"></font></font></font></font>
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font face="Tahoma" size="2"><font size="2"><br>
<br>
<strong>Onward and Upward,<br>
<br>
</strong></font><strong>Aaron D. Perry<br>
</strong></font><font size="3"><font size="3"><font face="Tahoma" size="2"><strong>Atmospheric Sciences<br>
Lyndon State College<br>
Class of 2016<br>
</strong></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2"><strong><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2">Boston, MA</font></font></font></font></font>
<br>
Twitter: </strong><a href="https://twitter.com/AaronPerryLSC" tabindex="0"><strong>@AaronPerryLSC</strong></a><br>
<strong>Web: <a href="http://weathercdn.com/" tabindex="0">weathercdn.com</a></strong></font></font></font></font></font><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2"><strong></strong></font></font></font></font></font></div>
<div style="font-size:13px; font-family:Tahoma"><font size="3"><font face="Arial"><font size="3"><font size="3"><font face="Tahoma" size="2"><strong>Mobile: 617-780-4312</strong></font></font></font></font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> gradsusr-bounces@gradsusr.org &lt;gradsusr-bounces@gradsusr.org&gt; on behalf of Frost, Mr. Michael &lt;Michael.Frost@nrlmry.navy.mil&gt;<br>
<b>Sent:</b> Wednesday, August 06, 2014 5:52 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] No Text Plots When Script Executed Via Crontab</font>
<div>&nbsp;</div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Are you setting the GADDIR inside your script?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Michael Frost<br>
Naval Research Laboratory<br>
Marine Meteorology Division<br>
7 Grace Hopper Avenue, Stop #2<br>
Monterey, CA 93940<br>
Phone:&nbsp; 831-656-4723<br>
Fax:&nbsp; 831-656-4314<br>
Email:&nbsp; mike.frost@nrlmry.navy.mil</span><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D"></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org]
<b>On Behalf Of </b>Perry, Aaron @ LSC<br>
<b>Sent:</b> Wednesday, August 06, 2014 2:19 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> [gradsusr] No Text Plots When Script Executed Via Crontab</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">Good Afternoon All,</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">I'm currently trying to execute a shell script (.sh) in crontab that runs GrADS.</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">I am able to run the shell script fine on it's own but, when I run it via crontab, I always get the following error:</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">Error opening stroke character data set
<br>
Data set names = /usr/local/lib/grads/font0.dat ; font0.dat</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">I have GrADS installed in /mnt/grads/ and all the&nbsp;associated font#.dat files in&nbsp;/mnt/grads/ so, I'm a bit perplexed as to why my system thinks that GrADS is in /usr/local/lib/.</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">Any ideas?</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<p><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:black">&nbsp;</span></p>
<div id="Signature">
<div name="divtagdefaultwrapper">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black">Onward and Upward,</span></strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"></span></p>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black">Aaron D. Perry</span></strong><b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Atmospheric Sciences</span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Lyndon State College</span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Class of 2016</span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Boston, MA </span></strong><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Twitter: </span></strong></span></b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"><a href="https://twitter.com/AaronPerryLSC"><strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">@AaronPerryLSC</span></strong></a><br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Web: <a href="http://weathercdn.com/">
weathercdn.com</a></span></strong></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black">Mobile: 617-780-4312</span></strong><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;; color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>