[gradsusr] gradsusr Digest, Vol 14, Issue 5

rajuattada raju_attadamsc at rediffmail.com
Tue Apr 5 10:03:13 EDT 2011


Dear Marc,

Thank you very much for  suggestion.

Kind regards
Raju

RAJU A
Research Fellow
Indian Institute Of Tropical Meteorology
Dr. Homi Bhabha Road,
Pashan
PUNE-411008.

Mobile No:+91-9657192050


On Tue, 05 Apr 2011 02:17:19 +0530 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. Re: compiled from 64 bit Ubuntu 10.10? (Don Van Dyke)

>  2. Re: Colorbars (Jeffrey Duda)

>  3. Re: Colorbars (Clay Blankenship)

>  4. Re: Help (Marc Stonestreet)

>

>

>----------------------------------------------------------------------

>

>Message: 1

>Date: Mon, 04 Apr 2011 05:57:16 -0400

>From: Don Van Dyke <Don.VanDyke at noaa.gov>

>Subject: Re: [gradsusr] compiled from 64 bit Ubuntu 10.10?

>To: gradsusr at gradsusr.org

>Message-ID: <4D9995FC.5000803 at noaa.gov>

>Content-Type: text/plain; charset="utf-8"

>

>I tried the COLA 64 bit Centos 5.5 build on my Ubuntu shortly after I 

>made that post (should have tried it before), and it seems to work just 

>fine. I didn't realize at first that different versions of Linux would 

>work like that, especially Red Hat vs Debian, but I'm sure happy that it 

>does! :-)

>

>-Don

>

>On Wed, Mar 30, 2011 at 8:14 AM, Donald Van Dyke <Don.VanDyke at noaa.gov 

><mailto:Don.VanDyke at noaa.gov>> wrote:

>

>  Hello,

>

>  I'm just curious if anyone out there has a fully compiled version of

>  GrADS 2.0.a9 for the 64 bit version of Ubuntu 10.10 that they're willing

>  to share? Thanks!

>

>

>Can someone confirm whether both the standard COLA and opengrads builds 

>for Linux x86_64 are broken for Ubuntu 10.10? In principle one should 

>not need to make separate builds for each Linux distribution, provided 

>the low level glibc library is compatible. Also, very often the Linux 

>i386 build would work on a 64-bit box even when the x86_64 build does not.

>

>  Arlindo

>

>-- 

>Arlindo da Silva

>dasilva at alum.mit.edu <mailto:dasilva at alum.mit.edu>

>-------------- next part --------------

>A non-text attachment was scrubbed...

>Name: don_vandyke.vcf

>Type: text/x-vcard

>Size: 356 bytes

>Desc: not available

>Url :http://gradsusr.org/pipermail/gradsusr/attachments/20110404/c1e988b7/attachment-0001.vcf 

>

>------------------------------

>

>Message: 2

>Date: Mon, 4 Apr 2011 09:30:59 -0500

>From: Jeffrey Duda <jdduda at iastate.edu>

>Subject: Re: [gradsusr] Colorbars

>To: GrADS Users Forum <gradsusr at gradsusr.org>

>Message-ID: <BANLkTi=hHZto-QSkM8i_jqhcrARDEN47kA at mail.gmail.com>

>Content-Type: text/plain; charset="iso-8859-1"

>

>Simon,

>The solution is pretty simple. Write a script that has this skeleton:

>

>n = 1

>while (n <= nfinal)

> 'set t 'n

> 'set gxout shaded'

> 'set clevs ...'

> 'set ccols ...'

> 'd variable'

> n = n + 1

>endwhile

>

>Jeff Duda

>

>On Mon, Apr 4, 2011 at 2:29 AM, Simon Kiertscher <simon.kiertscher at gmx.de>wrote:

>

>> Yes you can control it by set clevs, but i hoped there would be a script

>> doing all that for me. I can't use the scripts I found the way they are

>> at the moment. And doing it by my self would be very expensive. Any

>> other ideas?

>>

>> Best Regards,

>> Simon

>> > I believe you need to set the clevs so that the range in the color bar is

>> > fixed for each timestep at which the variable is plotted

>> >

>> > set clevs ...

>> >

>> > --

>> > Muhammad Rahiz

>> > Researcher & DPhil Candidate (Climate Systems & Policy)

>> > School of Geography & the Environment

>> > University of Oxford

>> >

>> > On Fri, 1 Apr 2011, Simon Kiertscher wrote:

>> >

>> >

>> >> Hi All,

>> >> I have a question about colorbars. I have already found several scripts

>> >> for drawing a colorbar under a picture (e.g. cbar.gs, xcbar.gs ...).

>> >> That works fine. My Problem is, I would like to make a video out of a

>> >> couple of pictures from one time line. The problem is that the colorbar

>> >> always shows the max and min of the current picture. Therefor my video

>> >> has a changing colorbar what is really not what I want. I want to have

>> >> fixed colorbar about the whole video length. I hope i could explain my

>> >> problem good enough. Any ideas how to do that? Are there eventually a

>> >> script which has a parameter to enter the maximum and minimum values?

>> >> Thank & Best Regards,

>> >> Simon

>> >>

>> >> _______________________________________________

>> >> gradsusr mailing list

>> >> gradsusr at gradsusr.org

>> >> http://gradsusr.org/mailman/listinfo/gradsusr

>> >>

>> >>

>> > _______________________________________________

>> > gradsusr mailing list

>> > gradsusr at gradsusr.org

>> > http://gradsusr.org/mailman/listinfo/gradsusr

>> >

>> >

>>

>> _______________________________________________

>> gradsusr mailing list

>> gradsusr at gradsusr.org

>> http://gradsusr.org/mailman/listinfo/gradsusr

>>

>

>

>

>-- 

>Jeff Duda

>Iowa State University

>Meteorology Graduate Student

>3134 Agronomy Hall

>www.meteor.iastate.edu/~jdduda

>-------------- next part --------------

>An HTML attachment was scrubbed...

>URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110404/0a9256b2/attachment-0001.html 

>

>------------------------------

>

>Message: 3

>Date: Mon, 4 Apr 2011 09:59:28 -0500

>From: Clay Blankenship <clay.b.blankenship at nasa.gov>

>Subject: Re: [gradsusr] Colorbars

>To: GrADS Users Forum <gradsusr at gradsusr.org>

>Message-ID: <63AFF9A8-6F2C-4E98-A816-9AD7465079BD at nasa.gov>

>Content-Type: text/plain; charset="us-ascii"

>

>I had this same issue recently and finally figured out how it works 

>with some help from this list. What was non-intuitive to me is that 

>every time you do a 'display' command you have to reset the clevs and 

>ccols. What I do is specify the cmin, cmax, and cint with script 

>arguments and then set clevs using those variables each time I do a 

>display. You can set ccols if you want or just let it get set 

>automatically. Here is an animation script I am using.

>

>* Display animation

>*   ga> run ani variable [ -I slowness (default=10) ]

>*              [ -cint, -ci contour interval ]

>*              [ -cmin, -mn minimum contour level ]

>*              [ -cmax, -mx maximum contour level ]

>*  ex. ga> run ani t-t.2 -ci 0.1 -mn -0.5 -I 5 -cmax 0.3

>*     >>>> plot (t-t.2) with slowness=5, contour_interval=0.1

>*        minimum contour level=-0.5, maximum contour level=0.3

>*

>*                         Nov. 9, 1999 Masami 

>Nonaka

>*

>*      Modified by Clay Blankenship 2011

>*

>function ani (args)

>

>variable=subwrd(args,1)

>

>slow=''

>cint=''

>cmin=''

>cmax=''

>cbar=''

>n=2

>

>while(n<10000)

>idx=subwrd(args,n)

>opt=subwrd(args,n+1)

>if(idx='');break;endif

>if(idx='-I');slow=opt;endif

>if(idx='-Int');slow=opt;endif

>if(idx='-cint');cint=opt;endif

>if(idx='-cmin');cmin=opt;endif

>if(idx='-cmax');cmax=opt;endif

>if(idx='-ci');cint=opt;endif

>if(idx='-mn');cmin=opt;endif

>if(idx='-mx');cmax=opt;endif

>n=n+2

>endwhile

>

>defaultslow=10

>if(slow=''); slow=defaultslow;endif

>

> 'q dims'

> say result

>aline=sublin(result,5)

>cctime1=subwrd(aline,11)

>cctime2=subwrd(aline,13)

>tmin=substr(cctime1,1,9)

>tmax=substr(cctime2,1,9)

>it=tmin

>'set dbuff on'

>while (it <=tmax)

> 'set t 'it

>i=0

>while (i <slow)

>

>*CBB 3/22/11 setting max min clevs

>if((ccint!='')&(ccmin!='')&(ccmax!=''))

>  'make_clevs 'cmin' 'cmax' 'cint

>endif

>*'set ccols 1 2 3 4 5 6 7 8 9 10 11'

>

> 'display 'variable

>

> 'run date.gs'

>

> 'query shades'

>shdinfo = result

>if(subwrd(shdinfo,1)!='None');'run fcbar.gs';endif

>

>'swap'

>i=i+1

>endwhile

> it=it+1

>endwhile

> 'set t ' tmin ' ' tmax

>

>****END OF SCRIPT

>

>*Here is make_clevs.gs

>

>*CBB I got this from Ron Goodson on the GRADS User Forum, 3/22/11

>*Set a min and max value for the color bar

>function main(UserInput)

>value = subwrd(UserInput,1)

>maxvalue = subwrd(UserInput,2)

>incvalue = subwrd(UserInput,3)

>space = " "

>say value space maxvalue space incvalue

>mystring = " "

>while (value <= maxvalue)

>mystring = mystring%value

>mystring = mystring%" "

>value = value + incvalue

>endwhile

>'set clevs ' mystring

>say 'clevs are 'mystring

>return

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>On Apr 4, 2011, at 2:29 AM, Simon Kiertscher wrote:

>

>> Yes you can control it by set clevs, but i hoped there would be a 

>> script

>> doing all that for me. I can't use the scripts I found the way they 

>> are

>> at the moment. And doing it by my self would be very expensive. Any

>> other ideas?

>>

>> Best Regards,

>> Simon

>>> I believe you need to set the clevs so that the range in the color 

>>> bar is

>>> fixed for each timestep at which the variable is plotted

>>>

>>> set clevs ...

>>>

>>> --

>>> Muhammad Rahiz

>>> Researcher & DPhil Candidate (Climate Systems & Policy)

>>> School of Geography & the Environment

>>> University of Oxford

>>>

>>> On Fri, 1 Apr 2011, Simon Kiertscher wrote:

>>>

>>>

>>>> Hi All,

>>>> I have a question about colorbars. I have already found several 

>>>> scripts

>>>> for drawing a colorbar under a picture (e.g. cbar.gs, xcbar.gs ...).

>>>> That works fine. My Problem is, I would like to make a video out 

>>>> of a

>>>> couple of pictures from one time line. The problem is that the 

>>>> colorbar

>>>> always shows the max and min of the current picture. Therefor my 

>>>> video

>>>> has a changing colorbar what is really not what I want. I want to 

>>>> have

>>>> fixed colorbar about the whole video length. I hope i could 

>>>> explain my

>>>> problem good enough. Any ideas how to do that? Are there 

>>>> eventually a

>>>> script which has a parameter to enter the maximum and minimum 

>>>> values?

>>>> Thank & Best Regards,

>>>> Simon

>>>>

>>>> _______________________________________________

>>>> gradsusr mailing list

>>>> gradsusr at gradsusr.org

>>>> http://gradsusr.org/mailman/listinfo/gradsusr

>>>>

>>>>

>>> _______________________________________________

>>> gradsusr mailing list

>>> gradsusr at gradsusr.org

>>> http://gradsusr.org/mailman/listinfo/gradsusr

>>>

>>>

>>

>> _______________________________________________

>> gradsusr mailing list

>> gradsusr at gradsusr.org

>> http://gradsusr.org/mailman/listinfo/gradsusr

>

>-- 

>Clay Blankenship         * USRA Research Scientist

>clay.b.blankenship at nasa.gov   * 256-961-7638

>320 Sparkman Drive        * Huntsville, AL 35805 USA

>National Space Science and Technology Center at NASA-MSFC/UAH

>

>

>

>

>

>

>-------------- next part --------------

>An HTML attachment was scrubbed...

>URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110404/246c552d/attachment-0001.html 

>

>------------------------------

>

>Message: 4

>Date: Mon, 4 Apr 2011 22:43:32 +0200

>From: Marc Stonestreet <marc.stonestreet1 at gmail.com>

>Subject: Re: [gradsusr] Help

>To: raju_attadamsc at rediffmail.com, GrADS Users Forum

><gradsusr at gradsusr.org>

>Message-ID: <BANLkTimdaWWZwE_6CR8EE-KPOLP58vKaYQ at mail.gmail.com>

>Content-Type: text/plain; charset="iso-8859-1"

>

>Raju - try using 'set vpage' - with screen x-y coords eg:

>(plot 1 of a six panel plot:)

>

>**Plot 1st panel*

>'set vpage 0 3 4 8.5'

>

>etc

>

>also

>

>run cbar.gs or cbarn.gs only after your last plot

>

>regards Marc

>

>

>On Thu, Mar 31, 2011 at 9:07 PM, rajuattada

><raju_attadamsc at rediffmail.com>wrote:

>

>> Dear Gradsusers,

>>

>> I am plotting vorticity in 2 panels(i.e [top left,top right,bottom

>> left,bottom right]

>>

>> But bottom right is not displaying properly.

>>

>> I am here attached plot.

>>

>> Please check it and also i need only one cbar which has to cover from

>> bottom top.

>>

>> How it has to be done.

>>

>> Please give me suggestion.

>>

>> Thank you

>>

>> regards

>>

>>

>>

>> RAJU A

>> Research Fellow

>> Indian Institute Of Tropical Meteorology

>> Dr. Homi Bhabha Road,

>> Pashan

>> PUNE-411008.

>>

>> Mobile No:+91-9657192050

>>

>> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>

>> _______________________________________________

>> gradsusr mailing list

>> gradsusr at gradsusr.org

>> http://gradsusr.org/mailman/listinfo/gradsusr

>>

>>

>-------------- next part --------------

>An HTML attachment was scrubbed...

>URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110404/9b70462f/attachment.html 

>

>------------------------------

>

>_______________________________________________

>gradsusr mailing list

>gradsusr at gradsusr.org

>http://gradsusr.org/mailman/listinfo/gradsusr

>

>

>End of gradsusr Digest, Vol 14, Issue 5

>***************************************

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110405/dddfe568/attachment-0003.html 


More information about the gradsusr mailing list