<div dir="ltr"><div><div>Salaam!<br><br></div>You are about GrADS in the environment of Persian Gulf and Oman Sea which is interested in my subject below of southern Iran to detect subtropical high in 500mb maps and thermal low in the surface. So I am looking forward to finding a cooperator in the south area of the Persian Gulf and Oman Sea. Is there anyone academical? <br>
<br></div>Al-Hamdu Al-Lellaah<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 July 2013 20:30, <span dir="ltr"><<a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send gradsusr mailing list submissions to<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gradsusr digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Loop help (Emily Wilson)<br>
2. Loop help (Emily Wilson)<br>
3. Installing Grads in Windows 8 (Faisal Al Zawad)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 1 Jul 2013 14:12:25 -0600<br>
From: Emily Wilson <<a href="mailto:wilson.emily.parker@gmail.com">wilson.emily.parker@gmail.com</a>><br>
Subject: [gradsusr] Loop help<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
<CAGCDMAmYYv87hBEF5u73b+3ROAOeR2=_<a href="mailto:F%2B7vwXN5XnRkqeXgqg@mail.gmail.com">F+7vwXN5XnRkqeXgqg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hello, I am trying to write a script in which a loop is used to compile raw<br>
data values for each month in years 1906-2010 for a specific pair of<br>
lat-long coordinates. Below is the code I am using.....<br>
<br>
'reinit'<br>
<br>
*<br>
<br>
'sdfopen<br>
<a href="http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/dai_pdsi/pdsi.mon.mean.selfcalibrated.nc" target="_blank">http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/dai_pdsi/pdsi.mon.mean.selfcalibrated.nc</a><br>
'<br>
<br>
*<br>
<br>
'enable print grads.outfile'<br>
<br>
say '** OUTPUT FILE: grads.outfile'<br>
<br>
'clear'<br>
<br>
'set grads off'<br>
<br>
'set mpdset lores'<br>
<br>
'set lon 110W 112.5W'<br>
<br>
'set lat 32N 34.5N'<br>
<br>
<br>
<br>
arg=(pdsi.1,t=673,t=1932,t=1)<br>
<br>
var=subwrd(arg,1)<br>
<br>
start=subwrd(arg,2)<br>
<br>
end=subwrd(arg,3)<br>
<br>
by=subwrd(arg,4)<br>
<br>
if (by=??)<br>
<br>
by=1<br>
<br>
endif<br>
<br>
say var ?=? start? to ? end ? step ? by<br>
<br>
*get grads commands<br>
<br>
ncmd=0<br>
<br>
flag=1<br>
<br>
while (flag=1)<br>
<br>
say ?enter command:?<br>
<br>
pull command.ncmd<br>
<br>
if (command.ncmd = ? ?)<br>
<br>
flag=0<br>
<br>
else<br>
<br>
ncmd=ncmd+1<br>
<br>
endif<br>
<br>
endwhile<br>
<br>
*<br>
<br>
i=start<br>
<br>
while (i<= end)<br>
<br>
?set ? var ? ? i<br>
<br>
?clear?<br>
<br>
?set grads off?<br>
<br>
j=0<br>
<br>
while (j< ncmd)<br>
<br>
command.j<br>
<br>
j=j+1<br>
<br>
endwhile<br>
<br>
?draw title ? var ?=? i<br>
<br>
say var ?=? i ? enter <cr> for next?<br>
<br>
pull x<br>
<br>
i=i+by<br>
<br>
endwhile<br>
<br>
exit<br>
<br>
I keep getting an error message for line 13. Could someone please tell me<br>
what is wrong.<br>
Thanks,<br>
*Emily P. Wilson, Intern*<br>
Research and Conservation Department<br>
Denver Botanic Gardens<br>
1007 York St.<br>
Denver, CO 80206<br>
720-865-3593<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130701/36ae9987/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130701/36ae9987/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 1 Jul 2013 14:40:54 -0600<br>
From: Emily Wilson <<a href="mailto:wilson.emily.parker@gmail.com">wilson.emily.parker@gmail.com</a>><br>
Subject: [gradsusr] Loop help<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
<CAGCDMAkt-2x-QhqBJbYk5=<a href="mailto:URE2tviy4QTCXqb7vPmi_8YkArRA@mail.gmail.com">URE2tviy4QTCXqb7vPmi_8YkArRA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hello, I am trying to write a script in which a loop is used to compile raw<br>
data values for each month in years 1906-2010 for a specific pair of<br>
lat-long coordinates. Below is the code I am using.....<br>
<br>
'reinit'<br>
<br>
*<br>
<br>
'sdfopen<br>
<a href="http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/dai_pdsi/pdsi.mon.mean.selfcalibrated.nc" target="_blank">http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/dai_pdsi/pdsi.mon.mean.selfcalibrated.nc</a><br>
'<br>
<br>
*<br>
<br>
'enable print grads.outfile'<br>
<br>
say '** OUTPUT FILE: grads.outfile'<br>
<br>
'clear'<br>
<br>
'set grads off'<br>
<br>
'set mpdset lores'<br>
<br>
'set lon 110W 112.5W'<br>
<br>
'set lat 32N 34.5N'<br>
<br>
<br>
<br>
arg=(pdsi.1,t=673,t=1932,t=1)<br>
<br>
var=subwrd(arg,1)<br>
<br>
start=subwrd(arg,2)<br>
<br>
end=subwrd(arg,3)<br>
<br>
by=subwrd(arg,4)<br>
<br>
if (by=??)<br>
<br>
by=1<br>
<br>
endif<br>
<br>
say var ?=? start? to ? end ? step ? by<br>
<br>
*get grads commands<br>
<br>
ncmd=0<br>
<br>
flag=1<br>
<br>
while (flag=1)<br>
<br>
say ?enter command:?<br>
<br>
pull command.ncmd<br>
<br>
if (command.ncmd = ? ?)<br>
<br>
flag=0<br>
<br>
else<br>
<br>
ncmd=ncmd+1<br>
<br>
endif<br>
<br>
endwhile<br>
<br>
*<br>
<br>
i=start<br>
<br>
while (i<= end)<br>
<br>
?set ? var ? ? i<br>
<br>
?clear?<br>
<br>
?set grads off?<br>
<br>
j=0<br>
<br>
while (j< ncmd)<br>
<br>
command.j<br>
<br>
j=j+1<br>
<br>
endwhile<br>
<br>
?draw title ? var ?=? i<br>
<br>
say var ?=? i ? enter <cr> for next?<br>
<br>
pull x<br>
<br>
i=i+by<br>
<br>
endwhile<br>
<br>
exit<br>
<br>
I keep getting an error message for line 13. Could someone please tell me<br>
what is wrong.<br>
Thanks,<br>
*Emily P. Wilson, Intern*<br>
Research and Conservation Department<br>
Denver Botanic Gardens<br>
1007 York St.<br>
Denver, CO 80206<br>
720-865-3593<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130701/d3448d82/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130701/d3448d82/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 2 Jul 2013 16:03:13 +0300<br>
From: Faisal Al Zawad <<a href="mailto:rolfmz@gmail.com">rolfmz@gmail.com</a>><br>
Subject: [gradsusr] Installing Grads in Windows 8<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:CA%2B0buEVxFpoSQ6uQp7YghXPcRVmYciOweVeb_cQHUxyLuHVp4Q@mail.gmail.com">CA+0buEVxFpoSQ6uQp7YghXPcRVmYciOweVeb_cQHUxyLuHVp4Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I have tried to install GRADS in WINDOWS 8. I got the files downloaded but<br>
I could not find the executing file (the one with a grean turtle). Any<br>
hints?<br>
<br>
Thank You Very Much!<br>
<br>
Faisal<br>
<br>
--<br>
Faisal M. Al Zawad<br>
Manager<br>
Climate Change Unit<br>
Presidency of Meteorology and Environment<br>
<br>
Tel. +96626536194<br>
Fax +96626524214<br>
Mob +966599550595<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130702/fb92333c/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130702/fb92333c/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
End of gradsusr Digest, Vol 41, Issue 3<br>
***************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Dr. Mohammad-Reza PISHVAEI, PhD in Meteorology and Climatology,<br>Water Engineering Department, College of Agriculture, Shiraz University, 71454 Shiraz, Iran.<br>Mobil: 0098 917 711 0698<br>
Email: <a href="mailto:mrpishvaei@gmail.com" target="_blank">mrpishvaei@gmail.com</a><br>Website: <a href="http://www.shirazu.ac.ir/" target="_blank">http://www.shirazu.ac.ir/</a>
</div>