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