HiŁ¬<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Mubashar</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">you should to specify the x and y of the legend, such as:</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">cbar_line -x 2 -y .5 -c 2 -m 0 -l 1 -t "cfs"</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">x, y is the position of the legend and c is the color.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Yuanyuan</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><br><div class="gmail_quote">2011/2/20 <span dir="ltr"><<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>></span><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. Re: shaded plots and boundary (???)<br>
2. extarct data in grads (Ismaila Diallo)<br>
3. Re: 24hrs Accumulated TRMM Rainfall (Sravan)<br>
4. Re: gradsusr Digest, Vol 12, Issue 42 (Mubashar Dogar)<br>
5. How to draw a legend on a Time series plot (Mubashar Dogar)<br>
6. Calculate WIND module with '<a href="http://fprintf.gs" target="_blank">fprintf.gs</a>' - (<a href="mailto:lalvarez@idemoc.com">lalvarez@idemoc.com</a>)<br>
7. about the interpolation with regrid2 function problem (dyjbean)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 18 Feb 2011 13:01:32 +0800 (CST)<br>
From: ??? <<a href="mailto:sinsonglew@mail.bnu.edu.cn">sinsonglew@mail.bnu.edu.cn</a>><br>
Subject: Re: [gradsusr] shaded plots and boundary<br>
To: "GrADS Users Forum" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<<a href="mailto:19997060.425411298005292093.JavaMail.coremail@mail.bnu.edu.cn">19997060.425411298005292093.JavaMail.coremail@mail.bnu.edu.cn</a>><br>
Content-Type: text/plain; charset="gbk"<br>
<br>
I got an option to deal with the problem, that is "set cterp off". When plot contour lines, the cterp is set to "on" defaultly, and the lines will be smoothed by the spline interpolation algorithm. Following are steps to get rid of the problem.<br>
<br>
1) open model.ctl<br>
<br>
2) set cterp off<br>
<br>
3) set gxout shaded<br>
<br>
4) display ts<br>
<br>
5) set gxout contour<br>
<br>
6) display ts.<br>
<br>
<br>
<br>
-----Origin email-----<br>
From: "Srivatsan Vijayaraghavan" <<a href="mailto:tmsvs@nus.edu.sg">tmsvs@nus.edu.sg</a>><br>
Sent Time: Friday, February 18, 2011<br>
To: "GrADS Users Forum" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Cc:<br>
Subject: [gradsusr] shaded plots and boundary<br>
<br>
<br>
<br>
Hi all,<br>
<br>
<br>
<br>
I have a similar problem with shaded plots. When I plot small regions or big regions (sample figures attached), the boundary is slightly away from the shaded region.<br>
<br>
<br>
<br>
How do I fix this ?<br>
<br>
<br>
<br>
Thanks,<br>
<br>
<br>
<br>
Sri<br>
<br>
<br>
<br>
<a href="mailto:From%3Agradsusr-bounces@gradsusr.org">From:gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Jennifer Adams<br>
Sent: 15 February 2011 9:30 AM<br>
To: GrADS Users Forum<br>
Subject: Re: [gradsusr] Grads questions about contours, thanks<br>
<br>
<br>
<br>
You have to 'set csmooth on' to make the contour lines exactly match the shaded contours. The differences are especially noticeable with low resolution grids. --Jennifer<br>
<br>
<br>
<br>
<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110218/32035a75/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110218/32035a75/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 18 Feb 2011 08:41:03 +0000 (GMT)<br>
From: Ismaila Diallo <<a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>><br>
Subject: [gradsusr] extarct data in grads<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Cc: <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
Message-ID: <<a href="mailto:352984.36183.qm@web29602.mail.ird.yahoo.com">352984.36183.qm@web29602.mail.ird.yahoo.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Dear,<br>
<br>
I would like to extract from reanalysis data at different location (example: lat<br>
25 lon -10) with grads in .txt.<br>
Is there a way to follow in grads for to do this job.<br>
Thanks in advance<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 18 Feb 2011 14:21:51 +0530 (IST)<br>
From: Sravan <<a href="mailto:sravan_sase@yahoo.in">sravan_sase@yahoo.in</a>><br>
Subject: Re: [gradsusr] 24hrs Accumulated TRMM Rainfall<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID: <<a href="mailto:215605.98363.qm@web95012.mail.in2.yahoo.com">215605.98363.qm@web95012.mail.in2.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Thanks Subash,<br>
Its?working now..<br>
<br>
Sravan<br>
?<br>
<br>
________________________________<br>
From: Subash Yeggina <<a href="mailto:subash.yeggina@gmail.com">subash.yeggina@gmail.com</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Sent: Fri, 18 February, 2011 12:20:12 AM<br>
Subject: Re: [gradsusr] 24hrs Accumulated TRMM Rainfall<br>
<br>
<br>
Hi! Sravan<br>
<br>
Another way would be to create a ".ctl" file using template. ?The contents of<br>
.ctl file is shown below..<br>
<br>
dset ^3B42.%y2%m2%d2.%h2z.bin ? ? ? ? ? ??<br>
title TRMM Global daily total rainfall<br>
undef ? ?-9999.0<br>
options big_endian template<br>
xdef 1440 linear ?0.125 ? 0.250<br>
ydef ?400 linear ? -49.875 ? 0.250<br>
zdef 1 linear 1 1<br>
tdef ? 9 ?linear 00z04Jan2011 3hr<br>
vars ?1<br>
r 0 99 3 hourly rain rate (mm)<br>
endvars<br>
<br>
<br>
Regards,<br>
Subash<br>
<br>
<br>
On Thu, Feb 17, 2011 at 8:04 PM, Teddy Allen <<a href="mailto:teddyallen@yahoo.com">teddyallen@yahoo.com</a>> wrote:<br>
<br>
I suppose the long method would involve opening them all up through unique ctl<br>
files?(different variable name for each file, ex: r1,r2,r3,etc...). Then in<br>
GrADS simply define a new variable , rTOT = r1 + r2.2 + r3.3.....?? , then d<br>
rTOT<br>
><br>
>I am sure that there is a better or more?streamlined approach, but this<br>
>cavalier?method should work.<br>
>?<br>
><a href="http://www.teddyallen.com" target="_blank">http://www.teddyallen.com</a><br>
>"To move quickly, go alone. To move far, go together."<br>
>African Proverb<br>
><br>
><br>
><br>
><br>
><br>
________________________________<br>
From: Sravan <<a href="mailto:sravan_sase@yahoo.in">sravan_sase@yahoo.in</a>><br>
>To: grads <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
>Sent: Thu, February 17, 2011 5:46:45 AM<br>
>Subject: [gradsusr] 24hrs Accumulated TRMM Rainfall<br>
><br>
><br>
><br>
>Dear GrADS Users,<br>
>I want to plot 24hrs?accumulated rainfall from the following files which i have<br>
>downloaded from FTP site.<br>
>3B42RT.2011.01.14.00z.bin<br>
>3B42RT.2011.01.14.03z.bin<br>
>3B42RT.2011.01.14.06z.bin<br>
>3B42RT.2011.01.14.09z.bin<br>
>3B42RT.2011.01.14.12z.bin<br>
>3B42RT.2011.01.14.15z.bin<br>
>3B42RT.2011.01.14.18z.bin<br>
>3B42RT.2011.01.14.21z.bin<br>
>3B42RT.2011.01.15.00z.bin<br>
><br>
><br>
>Provided 3B42RT.CTLdset 3B42RT.2011.01.14.00z.bin<br>
>options byteswapped<br>
>title Three Hourly TRMM and Other Satellite Rainfall (3B42RT)<br>
>undef -99999.0<br>
>xdef 1440 linear 0.12500000 0.25000000<br>
>ydef 480 linear -59.8750000 0.25000000<br>
>zdef 1 levels 1000<br>
>tdef?9 inear 00:00Z14jan2011 3hr<br>
>* end_time 12:00Z16feb2011 (this_is_comment_line)<br>
>vars 1<br>
>r 0 99 Hourly Rainfall (mm)<br>
>endvars ?<br>
>What can be done to find out 24hrs accumulated rainfall?<br>
>?<br>
>Hope for the best reply.<br>
>?<br>
>Regards<br>
>Sravan<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>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110218/44cb97f6/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110218/44cb97f6/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 20 Feb 2011 13:38:32 +0300<br>
From: Mubashar Dogar <<a href="mailto:mubashardogar@gmail.com">mubashardogar@gmail.com</a>><br>
Subject: Re: [gradsusr] gradsusr Digest, Vol 12, Issue 42<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTinFooOtmE8NG9PjVvgDAWx5S99xzVrLxBdMF9hV@mail.gmail.com">AANLkTinFooOtmE8NG9PjVvgDAWx5S99xzVrLxBdMF9hV@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear Grads Users,<br>
<br>
Could you please guide me how to draw legends on a time series plot.<br>
Actually I was using '<a href="http://cbar_line.gs" target="_blank">cbar_line.gs</a>' script but it is not giving me the same<br>
results as per specified mark and line style. I think there is option of '<br>
<a href="http://legend.gs" target="_blank">legend.gs</a>' script but GrADS is not recognizing it as a function. Any<br>
suggestion or help will be welcoming.<br>
<br>
Thanks,<br>
<br>
Mubashar<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110220/1ad1cd7d/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110220/1ad1cd7d/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sun, 20 Feb 2011 13:39:47 +0300<br>
From: Mubashar Dogar <<a href="mailto:mubashardogar@gmail.com">mubashardogar@gmail.com</a>><br>
Subject: [gradsusr] How to draw a legend on a Time series plot<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTikdLrS15xi0PyPyKDLC7syOicRRNVLrXxmj5b%2B3@mail.gmail.com">AANLkTikdLrS15xi0PyPyKDLC7syOicRRNVLrXxmj5b+3@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
> Dear Grads Users,<br>
><br>
> Could you please guide me how to draw legends on a time series plot.<br>
> Actually I was using '<a href="http://cbar_line.gs" target="_blank">cbar_line.gs</a>' script but it is not giving me the<br>
> same results as per specified mark and line style. I think there is option<br>
> of '<a href="http://legend.gs" target="_blank">legend.gs</a>' script but GrADS is not recognizing it as a function. Any<br>
> suggestion or help will be welcoming.<br>
><br>
> Thanks,<br>
><br>
> Mubashar<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110220/d8f370eb/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110220/d8f370eb/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sun, 20 Feb 2011 13:37:25 +0000<br>
From: "<a href="mailto:lalvarez@idemoc.com">lalvarez@idemoc.com</a>" <<a href="mailto:lalvarez@idemoc.com">lalvarez@idemoc.com</a>><br>
Subject: [gradsusr] Calculate WIND module with '<a href="http://fprintf.gs" target="_blank">fprintf.gs</a>' -<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Message-ID: <<a href="mailto:4D611915.7070504@idemoc.com">4D611915.7070504@idemoc.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi GrADS_users,<br>
<br>
I need to know how to calculate wind module with program '<a href="http://fprintf.gs" target="_blank">fprintf.gs</a>'<br>
<a href="http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file" target="_blank">http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file</a><br>
<br>
Cheers,<br>
<br>
Leopoldo Alvarez<br>
IDEMOC<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Sun, 20 Feb 2011 22:57:37 +0800<br>
From: "dyjbean" <<a href="mailto:dyjbean@gmail.com">dyjbean@gmail.com</a>><br>
Subject: [gradsusr] about the interpolation with regrid2 function<br>
problem<br>
To: "gradsusr" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID: <<a href="mailto:201102202257334100639@gmail.com">201102202257334100639@gmail.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
<br>
Hi,all<br>
i wondering how I can use grads to regrid a 2.5*2.5 resolution data to a finer resolution data such as 0.375*0.375 resolutiong.<br>
I try to use regrid2:<br>
ga-> define t2m=regrid2(tmp2m,0.375,0.375)<br>
the output grid is UNIFORM lat/lon:<br>
dx = 0.38 deg and dy = 0.38 deg<br>
# points in i(lon) = 960 # points j(lat) = 481<br>
lon extent = 0.00 to 359.63 lat extend = -90.00 to 90.00<br>
regrid method is: box averaging<br>
Warning: ieee_invalid is signaling<br>
Warning: ieee_inexact is signaling<br>
FORTRAN STOP<br>
Error from regrid2: Invalid transfer file format<br>
File name: udf.regrid.gfo<br>
Operation Error: Error from regrid2 function<br>
Error ocurred at column 1<br>
DEFINE error: Invalid expression.<br>
<br>
Any suggestion or help for the above problem will be welcoming.<br>
<br>
thanks<br>
<br>
dou youjun<br>
2011-02-20<br>
<br>
<br>
<br>
dyjbean<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110220/b510b280/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110220/b510b280/attachment.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 12, Issue 43<br>
****************************************<br>
</blockquote></div><br></div>