<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 Patrick,</p>
<p><br>
</p>
<p>Thank you, I'm glad rNOMADS has been useful. First of all, where are you adding wgrib2 to the path variable? If you're using your local bash user profile, it could be that R never calls bash and thus never uses it. In Linux, I always set it in /etc/environment,
so that the variable is set for all users in all environments.</p>
<p><br>
</p>
<p>What does system("pwd", intern=TRUE) give you? <br>
</p>
<p><br>
</p>
<p>Keep me posted!<br>
<br>
Danny<br>
</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 name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
Daniel C. Bowman<br>
Doctoral Candidate in Geophysics<br>
UNC Chapel Hill<br>
phone: 575-418-8555<br>
<b>curriculum vitae</b>: http://www.unc.edu/~haksaeng/curriculum_vitae/bowman_cv.pdf
<br>
<b>LinkedIn</b>: <a id="LPNoLP" title="Ctrl+Click or tap to follow the link" href="https://www.linkedin.com/in/dannycbowman" class="view-public-profile">
https://www.linkedin.com/in/dannycbowman</a><br>
web:http://geosci.unc.edu/page/daniel-c-bowman<br>
twitter: @dannycbowman<br>
<br>
</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 style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> rnomads-user-bounces@lists.r-forge.r-project.org <rnomads-user-bounces@lists.r-forge.r-project.org> on behalf of Patrick King <king.pws@gmail.com><br>
<b>Sent:</b> Wednesday, December 9, 2015 7:28 AM<br>
<b>To:</b> Announcements, feature requests, and help using rNOMADS<br>
<b>Subject:</b> Re: [Rnomads-user] rNOMADS 2.1.6 released</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif">Hello Danny,</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">Thank you very much for your nomads work. I have used it to extract GFS data and plot cross-sections using RAOB. I enjoy looking at your balloon work. I was the forecaster for a research project
studying stratospheric ozone based in Saskatchewan in 1975 and the pictures bring back memories of the ballon launches. We even had some go astray too.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">I am migrating from a dual Linux/Windows system to a Macintosh and I cannot get rNomads to work. The problem seems to be in accessing wgrib2.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">Here is a snippet from my bash terminal:</div>
<div class="gmail_default" style="font-family:verdana,sans-serif">
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(195,55,32)">
~/SCI/rNomads $<span style="color:rgb(0,0,0)"> echo $PATH</span></p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo">/Users/pking/ ... n:/usr/local/wgrib2:/usr/local/wgrib</p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo"><span style="color:rgb(195,55,32)">~/SCI/rNomads $</span> wgrib2 fcst.grb</p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo">1:0:d=2015120900:TMP:800 mb:6 hour fcst:</p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo">2:131801:d=2015120900:RH:800 mb:6 hour fcst:</p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo">3:378897:d=2015120900:TMP:2 m above ground:6 hour fcst:</p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo">4:627907:d=2015120900:RH:2 m above ground:6 hour fcst:</p>
<p style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(195,55,32)">
~/SCI/rNomads $<span style="color:rgb(0,0,0)"> </span></p>
<div><span style="color:rgb(0,0,0)"><br>
</span></div>
<div><span style="color:rgb(0,0,0)">So wgrib2 is on my path and it does find 'fcst.grb' downloaded by rNomads. However rNomads can't find wgrib2 from within R:</span></div>
<div><span style="color:rgb(0,0,0)"><br>
</span></div>
<div>
<div>[Workspace loaded from ~/SCI/rnomads/.RData]</div>
<div><br>
</div>
<div>> system("wgrib2")</div>
<div>sh: wgrib2: command not found</div>
<div>> </div>
</div>
<div><br>
</div>
<div>DO you have any idea where I should look now?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Pat</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Nov 15, 2015 at 12:30 AM, Bowman, Daniel <span dir="ltr">
<<a href="mailto:haksaeng@live.unc.edu" target="_blank">haksaeng@live.unc.edu</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">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello all,</p>
<p><br>
</p>
<p>I've just released rNOMADS 2.1.6. It now allows you to define a region to return data from in ReadGrib. This should speed up data processing by orders of magnitude for those of you who are using archived grib data (such as gfs-anl), since those don't give
an option to subset server-side.</p>
<p><br>
</p>
<p>Let me know if you have any questions or suggestions for further work.</p>
<p><br>
</p>
<p>Best,</p>
<p><br>
Danny<br>
</p>
<p><br>
</p>
<div>
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<div name="divtagdefaultwrapper">Daniel C. Bowman<br>
Doctoral Candidate in Geophysics<br>
UNC Chapel Hill<br>
phone: <a href="tel:575-418-8555" value="+15754188555" target="_blank">575-418-8555</a><br>
<b>curriculum vitae</b>: <a href="http://www.unc.edu/~haksaeng/curriculum_vitae/bowman_cv.pdf" target="_blank">
http://www.unc.edu/~haksaeng/curriculum_vitae/bowman_cv.pdf</a> <br>
<b>LinkedIn</b>: <a title="Ctrl+Click or tap to follow the link" href="https://www.linkedin.com/in/dannycbowman" target="_blank">
https://www.linkedin.com/in/dannycbowman</a><br>
web:<a href="http://geosci.unc.edu/page/daniel-c-bowman" target="_blank">http://geosci.unc.edu/page/daniel-c-bowman</a><br>
twitter: @dannycbowman<br>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Rnomads-user mailing list<br>
<a href="mailto:Rnomads-user@lists.r-forge.r-project.org">Rnomads-user@lists.r-forge.r-project.org</a><br>
<a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rnomads-user" rel="noreferrer" target="_blank">http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rnomads-user</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr"><font face="georgia, serif">Patrick King<br>
Mobile: +1 647 525 6738</font></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>