<div dir="ltr"><div><div>Use:<br><br><a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/str_get_dq.shtml" target="_blank"><b>http://www.ncl.ucar.edu/<wbr>Document/Functions/Built-in/<wbr>str_get_dq.shtml</b></a><br>==============================<wbr>==============================<wbr>=============<br>dq = <b>str_get_dq</b>()<br></div><br>HTTP = "<a href="http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25.pl?file=gfs.t00z.pgrb2.0p25.f240&all_lev=on&all_var=on&subregion=&leftlon=15&rightlon=50&toplat=50&bottomlat=15&dir=%2Fgfs.2018082200">http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25.pl?file=gfs.t00z.pgrb2.0p25.f240&all_lev=on&all_var=on&subregion=&leftlon=15&rightlon=50&toplat=50&bottomlat=15&dir=%2Fgfs.2018082200</a>"<br><br>CURL = "curl -s "+ dq+HTTP+dq +" -o junk"<br><b>print</b>(CURL)<br><br><b>system</b>(CURL)<br><br>==============================<wbr>==============================<wbr>==============<br></div>See also:<br><div><div><br><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/cla_sq.shtml" target="_blank"><b>http://www.ncl.ucar.edu/<wbr>Document/Functions/<wbr>Contributed/cla_sq.shtml</b></a><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 22, 2018 at 1:49 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</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">Hi:<div><br></div><div>I can use wget in a system's call to download data. Thank you for taking a look.</div><div><br></div><div>
<p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">system ("wget <a href="http://ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.201808" target="_blank">http://ftp.ncep.noaa.gov/data/<wbr>nccf/com/gfs/prod/gfs.201808</a></span><span class="m_4279625284663046594gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)">22<wbr>00</span><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">/gfs.t00z.pgrb2.0p25.f240")</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">However, if I want to use curl, I am not sure where and how to place the quotation marks.</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">This works outside of ncl.</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">curl -s "<a href="http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25.pl?file=gfs.t00z.pgrb2.0p25.f240&all_lev=on&all_var=on&subregion=&leftlon=15&rightlon=50&toplat=50&bottomlat=15&dir=%2Fgfs.2018082200" target="_blank">http://nomads.ncep.noaa.gov/<wbr>cgi-bin/filter_gfs_0p25.pl?<wbr>file=gfs.t00z.pgrb2.0p25.f240&<wbr>all_lev=on&all_var=on&<wbr>subregion=&leftlon=15&<wbr>rightlon=50&toplat=50&<wbr>bottomlat=15&dir=%2Fgfs.<wbr>2018082200</a>"<span class="m_4279625284663046594gmail-Apple-converted-space"> </span>-o junk</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">This does not:</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">
</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures">system ( "curl -s <a href="http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25.pl?file=gfs.t00z.pgrb2.0p25.f240&all_lev=on&all_var=on&subregion=&leftlon=15&rightlon=50&toplat=50&bottomlat=15&dir=%2Fgfs.201808" target="_blank">http://nomads.ncep.noaa.gov/<wbr>cgi-bin/filter_gfs_0p25.pl?<wbr>file=gfs.t00z.pgrb2.0p25.f240&<wbr>all_lev=on&all_var=on&<wbr>subregion=&leftlon=15&<wbr>rightlon=50&toplat=50&<wbr>bottomlat=15&dir=%2Fgfs.201808</a></span><span class="m_4279625284663046594gmail-s2" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(230,230,0)"><wbr>2200</span><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"> -o junk")</span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="m_4279625284663046594gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0)"><span class="m_4279625284663046594gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><div><br></div>-- <br><div dir="ltr" class="m_4279625284663046594gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>