Dear Marc,<br><br>Thank you very much for suggestion.<br><br>Kind regards<br>Raju<br><br>RAJU A<br>Research Fellow<br>Indian Institute Of Tropical Meteorology<br>Dr. Homi Bhabha Road,<br>Pashan<br>PUNE-411008.<br><br>Mobile No:+91-9657192050<br><br>
On Tue, 05 Apr 2011 02:17:19 +0530 gradsusr-request@gradsusr.org wrote<br>
>Send gradsusr mailing list submissions to<br>
>gradsusr@gradsusr.org<br>
><br>
>To subscribe or unsubscribe via the World Wide Web, visit<br>
>http://gradsusr.org/mailman/listinfo/gradsusr<br>
>or, via email, send a message with subject or body 'help' to<br>
>gradsusr-request@gradsusr.org<br>
><br>
>You can reach the person managing the list at<br>
>gradsusr-owner@gradsusr.org<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. Re: compiled from 64 bit Ubuntu 10.10? (Don Van Dyke)<br>
> 2. Re: Colorbars (Jeffrey Duda)<br>
> 3. Re: Colorbars (Clay Blankenship)<br>
> 4. Re: Help (Marc Stonestreet)<br>
><br>
><br>
>----------------------------------------------------------------------<br>
><br>
>Message: 1<br>
>Date: Mon, 04 Apr 2011 05:57:16 -0400<br>
>From: Don Van Dyke <Don.VanDyke@noaa.gov><br>
>Subject: Re: [gradsusr] compiled from 64 bit Ubuntu 10.10?<br>
>To: gradsusr@gradsusr.org<br>
>Message-ID: <4D9995FC.5000803@noaa.gov><br>
>Content-Type: text/plain; charset="utf-8"<br>
><br>
>I tried the COLA 64 bit Centos 5.5 build on my Ubuntu shortly after I <br>
>made that post (should have tried it before), and it seems to work just <br>
>fine. I didn't realize at first that different versions of Linux would <br>
>work like that, especially Red Hat vs Debian, but I'm sure happy that it <br>
>does! :-)<br>
><br>
>-Don<br>
><br>
>On Wed, Mar 30, 2011 at 8:14 AM, Donald Van Dyke <Don.VanDyke@noaa.gov <br>
><mailto:Don.VanDyke@noaa.gov>> wrote:<br>
><br>
> Hello,<br>
><br>
> I'm just curious if anyone out there has a fully compiled version of<br>
> GrADS 2.0.a9 for the 64 bit version of Ubuntu 10.10 that they're willing<br>
> to share? Thanks!<br>
><br>
><br>
>Can someone confirm whether both the standard COLA and opengrads builds <br>
>for Linux x86_64 are broken for Ubuntu 10.10? In principle one should <br>
>not need to make separate builds for each Linux distribution, provided <br>
>the low level glibc library is compatible. Also, very often the Linux <br>
>i386 build would work on a 64-bit box even when the x86_64 build does not.<br>
><br>
> Arlindo<br>
><br>
>-- <br>
>Arlindo da Silva<br>
>dasilva@alum.mit.edu <mailto:dasilva@alum.mit.edu><br>
>-------------- next part --------------<br>
>A non-text attachment was scrubbed...<br>
>Name: don_vandyke.vcf<br>
>Type: text/x-vcard<br>
>Size: 356 bytes<br>
>Desc: not available<br>
>Url :http://gradsusr.org/pipermail/gradsusr/attachments/20110404/c1e988b7/attachment-0001.vcf <br>
><br>
>------------------------------<br>
><br>
>Message: 2<br>
>Date: Mon, 4 Apr 2011 09:30:59 -0500<br>
>From: Jeffrey Duda <jdduda@iastate.edu><br>
>Subject: Re: [gradsusr] Colorbars<br>
>To: GrADS Users Forum <gradsusr@gradsusr.org><br>
>Message-ID: <BANLkTi=hHZto-QSkM8i_jqhcrARDEN47kA@mail.gmail.com><br>
>Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
>Simon,<br>
>The solution is pretty simple. Write a script that has this skeleton:<br>
><br>
>n = 1<br>
>while (n <= nfinal)<br>
> 'set t 'n<br>
> 'set gxout shaded'<br>
> 'set clevs ...'<br>
> 'set ccols ...'<br>
> 'd variable'<br>
> n = n + 1<br>
>endwhile<br>
><br>
>Jeff Duda<br>
><br>
>On Mon, Apr 4, 2011 at 2:29 AM, Simon Kiertscher <simon.kiertscher@gmx.de>wrote:<br>
><br>
>> Yes you can control it by set clevs, but i hoped there would be a script<br>
>> doing all that for me. I can't use the scripts I found the way they are<br>
>> at the moment. And doing it by my self would be very expensive. Any<br>
>> other ideas?<br>
>><br>
>> Best Regards,<br>
>> Simon<br>
>> > I believe you need to set the clevs so that the range in the color bar is<br>
>> > fixed for each timestep at which the variable is plotted<br>
>> ><br>
>> > set clevs ...<br>
>> ><br>
>> > --<br>
>> > Muhammad Rahiz<br>
>> > Researcher & DPhil Candidate (Climate Systems & Policy)<br>
>> > School of Geography & the Environment<br>
>> > University of Oxford<br>
>> ><br>
>> > On Fri, 1 Apr 2011, Simon Kiertscher wrote:<br>
>> ><br>
>> ><br>
>> >> Hi All,<br>
>> >> I have a question about colorbars. I have already found several scripts<br>
>> >> for drawing a colorbar under a picture (e.g. cbar.gs, xcbar.gs ...).<br>
>> >> That works fine. My Problem is, I would like to make a video out of a<br>
>> >> couple of pictures from one time line. The problem is that the colorbar<br>
>> >> always shows the max and min of the current picture. Therefor my video<br>
>> >> has a changing colorbar what is really not what I want. I want to have<br>
>> >> fixed colorbar about the whole video length. I hope i could explain my<br>
>> >> problem good enough. Any ideas how to do that? Are there eventually a<br>
>> >> script which has a parameter to enter the maximum and minimum values?<br>
>> >> Thank & Best Regards,<br>
>> >> Simon<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> gradsusr mailing list<br>
>> >> gradsusr@gradsusr.org<br>
>> >> http://gradsusr.org/mailman/listinfo/gradsusr<br>
>> >><br>
>> >><br>
>> > _______________________________________________<br>
>> > gradsusr mailing list<br>
>> > gradsusr@gradsusr.org<br>
>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> gradsusr mailing list<br>
>> gradsusr@gradsusr.org<br>
>> http://gradsusr.org/mailman/listinfo/gradsusr<br>
>><br>
><br>
><br>
><br>
>-- <br>
>Jeff Duda<br>
>Iowa State University<br>
>Meteorology Graduate Student<br>
>3134 Agronomy Hall<br>
>www.meteor.iastate.edu/~jdduda<br>
>-------------- next part --------------<br>
>An HTML attachment was scrubbed...<br>
>URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110404/0a9256b2/attachment-0001.html <br>
><br>
>------------------------------<br>
><br>
>Message: 3<br>
>Date: Mon, 4 Apr 2011 09:59:28 -0500<br>
>From: Clay Blankenship <clay.b.blankenship@nasa.gov><br>
>Subject: Re: [gradsusr] Colorbars<br>
>To: GrADS Users Forum <gradsusr@gradsusr.org><br>
>Message-ID: <63AFF9A8-6F2C-4E98-A816-9AD7465079BD@nasa.gov><br>
>Content-Type: text/plain; charset="us-ascii"<br>
><br>
>I had this same issue recently and finally figured out how it works <br>
>with some help from this list. What was non-intuitive to me is that <br>
>every time you do a 'display' command you have to reset the clevs and <br>
>ccols. What I do is specify the cmin, cmax, and cint with script <br>
>arguments and then set clevs using those variables each time I do a <br>
>display. You can set ccols if you want or just let it get set <br>
>automatically. Here is an animation script I am using.<br>
><br>
>* Display animation<br>
>* ga> run ani variable [ -I slowness (default=10) ]<br>
>* [ -cint, -ci contour interval ]<br>
>* [ -cmin, -mn minimum contour level ]<br>
>* [ -cmax, -mx maximum contour level ]<br>
>* ex. ga> run ani t-t.2 -ci 0.1 -mn -0.5 -I 5 -cmax 0.3<br>
>* >>>> plot (t-t.2) with slowness=5, contour_interval=0.1<br>
>* minimum contour level=-0.5, maximum contour level=0.3<br>
>*<br>
>* Nov. 9, 1999 Masami <br>
>Nonaka<br>
>*<br>
>* Modified by Clay Blankenship 2011<br>
>*<br>
>function ani (args)<br>
><br>
>variable=subwrd(args,1)<br>
><br>
>slow=''<br>
>cint=''<br>
>cmin=''<br>
>cmax=''<br>
>cbar=''<br>
>n=2<br>
><br>
>while(n<10000)<br>
>idx=subwrd(args,n)<br>
>opt=subwrd(args,n+1)<br>
>if(idx='');break;endif<br>
>if(idx='-I');slow=opt;endif<br>
>if(idx='-Int');slow=opt;endif<br>
>if(idx='-cint');cint=opt;endif<br>
>if(idx='-cmin');cmin=opt;endif<br>
>if(idx='-cmax');cmax=opt;endif<br>
>if(idx='-ci');cint=opt;endif<br>
>if(idx='-mn');cmin=opt;endif<br>
>if(idx='-mx');cmax=opt;endif<br>
>n=n+2<br>
>endwhile<br>
><br>
>defaultslow=10<br>
>if(slow=''); slow=defaultslow;endif<br>
><br>
> 'q dims'<br>
> say result<br>
>aline=sublin(result,5)<br>
>cctime1=subwrd(aline,11)<br>
>cctime2=subwrd(aline,13)<br>
>tmin=substr(cctime1,1,9)<br>
>tmax=substr(cctime2,1,9)<br>
>it=tmin<br>
>'set dbuff on'<br>
>while (it <=tmax)<br>
> 'set t 'it<br>
>i=0<br>
>while (i <slow)<br>
><br>
>*CBB 3/22/11 setting max min clevs<br>
>if((ccint!='')&(ccmin!='')&(ccmax!=''))<br>
> 'make_clevs 'cmin' 'cmax' 'cint<br>
>endif<br>
>*'set ccols 1 2 3 4 5 6 7 8 9 10 11'<br>
><br>
> 'display 'variable<br>
><br>
> 'run date.gs'<br>
><br>
> 'query shades'<br>
>shdinfo = result<br>
>if(subwrd(shdinfo,1)!='None');'run fcbar.gs';endif<br>
><br>
>'swap'<br>
>i=i+1<br>
>endwhile<br>
> it=it+1<br>
>endwhile<br>
> 'set t ' tmin ' ' tmax<br>
><br>
>****END OF SCRIPT<br>
><br>
>*Here is make_clevs.gs<br>
><br>
>*CBB I got this from Ron Goodson on the GRADS User Forum, 3/22/11<br>
>*Set a min and max value for the color bar<br>
>function main(UserInput)<br>
>value = subwrd(UserInput,1)<br>
>maxvalue = subwrd(UserInput,2)<br>
>incvalue = subwrd(UserInput,3)<br>
>space = " "<br>
>say value space maxvalue space incvalue<br>
>mystring = " "<br>
>while (value <= maxvalue)<br>
>mystring = mystring%value<br>
>mystring = mystring%" "<br>
>value = value + incvalue<br>
>endwhile<br>
>'set clevs ' mystring<br>
>say 'clevs are 'mystring<br>
>return<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>On Apr 4, 2011, at 2:29 AM, Simon Kiertscher wrote:<br>
><br>
>> Yes you can control it by set clevs, but i hoped there would be a <br>
>> script<br>
>> doing all that for me. I can't use the scripts I found the way they <br>
>> are<br>
>> at the moment. And doing it by my self would be very expensive. Any<br>
>> other ideas?<br>
>><br>
>> Best Regards,<br>
>> Simon<br>
>>> I believe you need to set the clevs so that the range in the color <br>
>>> bar is<br>
>>> fixed for each timestep at which the variable is plotted<br>
>>><br>
>>> set clevs ...<br>
>>><br>
>>> --<br>
>>> Muhammad Rahiz<br>
>>> Researcher & DPhil Candidate (Climate Systems & Policy)<br>
>>> School of Geography & the Environment<br>
>>> University of Oxford<br>
>>><br>
>>> On Fri, 1 Apr 2011, Simon Kiertscher wrote:<br>
>>><br>
>>><br>
>>>> Hi All,<br>
>>>> I have a question about colorbars. I have already found several <br>
>>>> scripts<br>
>>>> for drawing a colorbar under a picture (e.g. cbar.gs, xcbar.gs ...).<br>
>>>> That works fine. My Problem is, I would like to make a video out <br>
>>>> of a<br>
>>>> couple of pictures from one time line. The problem is that the <br>
>>>> colorbar<br>
>>>> always shows the max and min of the current picture. Therefor my <br>
>>>> video<br>
>>>> has a changing colorbar what is really not what I want. I want to <br>
>>>> have<br>
>>>> fixed colorbar about the whole video length. I hope i could <br>
>>>> explain my<br>
>>>> problem good enough. Any ideas how to do that? Are there <br>
>>>> eventually a<br>
>>>> script which has a parameter to enter the maximum and minimum <br>
>>>> values?<br>
>>>> Thank & Best Regards,<br>
>>>> Simon<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> gradsusr mailing list<br>
>>>> gradsusr@gradsusr.org<br>
>>>> http://gradsusr.org/mailman/listinfo/gradsusr<br>
>>>><br>
>>>><br>
>>> _______________________________________________<br>
>>> gradsusr mailing list<br>
>>> gradsusr@gradsusr.org<br>
>>> http://gradsusr.org/mailman/listinfo/gradsusr<br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> gradsusr mailing list<br>
>> gradsusr@gradsusr.org<br>
>> http://gradsusr.org/mailman/listinfo/gradsusr<br>
><br>
>-- <br>
>Clay Blankenship * USRA Research Scientist<br>
>clay.b.blankenship@nasa.gov * 256-961-7638<br>
>320 Sparkman Drive * Huntsville, AL 35805 USA<br>
>National Space Science and Technology Center at NASA-MSFC/UAH<br>
><br>
><br>
><br>
><br>
><br>
><br>
>-------------- next part --------------<br>
>An HTML attachment was scrubbed...<br>
>URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110404/246c552d/attachment-0001.html <br>
><br>
>------------------------------<br>
><br>
>Message: 4<br>
>Date: Mon, 4 Apr 2011 22:43:32 +0200<br>
>From: Marc Stonestreet <marc.stonestreet1@gmail.com><br>
>Subject: Re: [gradsusr] Help<br>
>To: raju_attadamsc@rediffmail.com, GrADS Users Forum<br>
><gradsusr@gradsusr.org><br>
>Message-ID: <BANLkTimdaWWZwE_6CR8EE-KPOLP58vKaYQ@mail.gmail.com><br>
>Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
>Raju - try using 'set vpage' - with screen x-y coords eg:<br>
>(plot 1 of a six panel plot:)<br>
><br>
>**Plot 1st panel*<br>
>'set vpage 0 3 4 8.5'<br>
><br>
>etc<br>
><br>
>also<br>
><br>
>run cbar.gs or cbarn.gs only after your last plot<br>
><br>
>regards Marc<br>
><br>
><br>
>On Thu, Mar 31, 2011 at 9:07 PM, rajuattada<br>
><raju_attadamsc@rediffmail.com>wrote:<br>
><br>
>> Dear Gradsusers,<br>
>><br>
>> I am plotting vorticity in 2 panels(i.e [top left,top right,bottom<br>
>> left,bottom right]<br>
>><br>
>> But bottom right is not displaying properly.<br>
>><br>
>> I am here attached plot.<br>
>><br>
>> Please check it and also i need only one cbar which has to cover from<br>
>> bottom top.<br>
>><br>
>> How it has to be done.<br>
>><br>
>> Please give me suggestion.<br>
>><br>
>> Thank you<br>
>><br>
>> regards<br>
>><br>
>><br>
>><br>
>> RAJU A<br>
>> Research Fellow<br>
>> Indian Institute Of Tropical Meteorology<br>
>> Dr. Homi Bhabha Road,<br>
>> Pashan<br>
>> PUNE-411008.<br>
>><br>
>> Mobile No:+91-9657192050<br>
>><br>
>> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?><br>
>> _______________________________________________<br>
>> gradsusr mailing list<br>
>> gradsusr@gradsusr.org<br>
>> http://gradsusr.org/mailman/listinfo/gradsusr<br>
>><br>
>><br>
>-------------- next part --------------<br>
>An HTML attachment was scrubbed...<br>
>URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110404/9b70462f/attachment.html <br>
><br>
>------------------------------<br>
><br>
>_______________________________________________<br>
>gradsusr mailing list<br>
>gradsusr@gradsusr.org<br>
>http://gradsusr.org/mailman/listinfo/gradsusr<br>
><br>
><br>
>End of gradsusr Digest, Vol 14, Issue 5<br>
>***************************************<br>
><br><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A>