<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1442495775360_3737"><span id="yui_3_16_0_1_1442495775360_3948">Dear grads users,</span></div><div id="yui_3_16_0_1_1442495775360_4684"><span class="" id="yui_3_16_0_1_1442495775360_3948">I am trying out to find the yearly Precipitation Means </span><span class="" id="yui_3_16_0_1_1442495775360_3948">from the 3 hourly daily ecmwf data spanning from <br class="" id="yui_3_16_0_1_1442495775360_4757"></span></div><div class="" dir="ltr" id="yui_3_16_0_1_1442495775360_4019"><span class="" id="yui_3_16_0_1_1442495775360_3948">1980-01-01 to 2015-06-31 with 12965 time steps but ignoring the last year (2015) which contains missing <br></span></div><div id="yui_3_16_0_1_1442495775360_4990" class="" dir="ltr"><span class="" id="yui_3_16_0_1_1442495775360_3948">data for the Months from July to December. </span><span class="" id="yui_3_16_0_1_1442495775360_3948">Below is my code I use;</span></div><div id="yui_3_16_0_1_1442495775360_4794" class="" dir="ltr"><br><span class="" id="yui_3_16_0_1_1442495775360_3948"></span></div><div id="yui_3_16_0_1_1442495775360_4798" class="" dir="ltr"><span class="" id="yui_3_16_0_1_1442495775360_3948">reinit<br class="" id="yui_3_16_0_1_1442495775360_4595">sdfopen ecmwf_netcdf.nc<br class="" id="yui_3_16_0_1_1442495775360_4597">set display color white<br class="" id="yui_3_16_0_1_1442495775360_4599">set grid off<br class="" id="yui_3_16_0_1_1442495775360_4601">set gxout shaded<br class="" id="yui_3_16_0_1_1442495775360_4603">set mpdset hires<br class="" id="yui_3_16_0_1_1442495775360_4605">set t 1 12<br class="" id="yui_3_16_0_1_1442495775360_4607">define yr_ave=ave(cp, t+1, t=</span><span class="" id="yui_3_16_0_1_1442495775360_3948"><span class="" id="yui_3_16_0_1_1442495775360_3948">12965</span>, 12) **Starting with the First Year (1980)<br class="" id="yui_3_16_0_1_1442495775360_4609">d yr_ave</span><br><span class="" id="yui_3_16_0_1_1442495775360_3948"></span></div><div id="yui_3_16_0_1_1442495775360_4843" class="" dir="ltr"><br><span class="" id="yui_3_16_0_1_1442495775360_3948"></span></div><div id="yui_3_16_0_1_1442495775360_5391" class="" dir="ltr">Can you understand what I am trying to do?. What is wrong with my code? Please guide me.<br><span class="" id="yui_3_16_0_1_1442495775360_3948"></span></div><div id="yui_3_16_0_1_1442495775360_5467" class="" dir="ltr"><span class="" id="yui_3_16_0_1_1442495775360_3948"><br></span></div><div id="yui_3_16_0_1_1442495775360_4685"><span id="yui_3_16_0_1_1442495775360_3948">Also I want to plot the Precipitation Seasonal Means from the 3 hourly daily ecmwf data spanning from <br></span></div><div dir="ltr" id="yui_3_16_0_1_1442495775360_4019"><span id="yui_3_16_0_1_1442495775360_3948">1980-01-01 to 2015-06-31. I want to get the spatial precipitations for the seasons of MAM, JJA, SON, <br></span></div><div id="yui_3_16_0_1_1442495775360_4498" dir="ltr"><span id="yui_3_16_0_1_1442495775360_3948">OND, DJB and JFM. But I dont know how I can go further. I need your help please><br class="" id="yui_3_16_0_1_1442495775360_4611"></span></div><div id="yui_3_16_0_1_1442495775360_3722"> </div><div id="yui_3_16_0_1_1442495775360_3835" class="signature"><div id="yui_3_16_0_1_1442495775360_3834"><div id="yui_3_16_0_1_1442495775360_3833" class="gmail_signature"><div id="yui_3_16_0_1_1442495775360_3832" dir="ltr"><div id="yui_3_16_0_1_1442495775360_3831" class="gmail_signature"><div id="yui_3_16_0_1_1442495775360_3830" dir="ltr"><div id="yui_3_16_0_1_1442495775360_3829"><div id="yui_3_16_0_1_1442495775360_3828" dir="ltr"><div id="yui_3_16_0_1_1442495775360_3827"><div id="yui_3_16_0_1_1442495775360_3826" dir="ltr"><div id="yui_3_16_0_1_1442495775360_3825"><div id="yui_3_16_0_1_1442495775360_3824" dir="ltr"><div id="yui_3_16_0_1_1442495775360_3823"><font id="yui_3_16_0_1_1427660060282_3387" size="2"><font id="yui_3_16_0_1_1427660060282_3386" face="verdana, helvetica, sans-serif"><font id="yui_3_16_0_1_1427660060282_3385" face="HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><font id="yui_3_16_0_1_1427660060282_3390" face="garamond, new york, times, serif"><b id="yui_3_16_0_1_1427660060282_3389"><span id="yui_3_16_0_1_1442495775360_3925" style="color:rgb(0, 0, 255);"><span id="yui_3_16_0_1_1442495775360_3924" style="background-color:rgb(255, 255, 255);">_____________</span></span><br>Peter Enos</b></font></font><font id="yui_3_16_0_1_1427660060282_3396" face="garamond, new york, times, serif"><b id="yui_3_16_0_1_1427660060282_3395"><br><span id="yui_3_16_0_1_1442495775360_5474" style="color:rgb(0, 0, 0);"><span id="yui_3_16_0_1_1442495775360_5473" style="background-color:rgb(255, 255, 255);">Dar es Salaam</span></span><br>T A N Z A N I A<br></b></font></font></font><span id="yui_3_16_0_1_1442495775360_5472" style="color:rgb(0, 0, 255);"><font id="yui_3_16_0_1_1442495775360_5471" size="2"><font id="yui_3_16_0_1_1442495775360_5470" face="verdana, helvetica, sans-serif"><font id="yui_3_16_0_1_1442495775360_5469" face="garamond, new york, times, serif"><b id="yui_3_16_0_1_1442495775360_5468">----------------------</b></font></font></font></span></div></div></div></div></div></div></div></div></div></div></div></div></div><br> <div id="yui_3_16_0_1_1442495775360_3929" style="font-family: verdana, helvetica, sans-serif; font-size: 13px;"> <div id="yui_3_16_0_1_1442495775360_3928" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1442495775360_3927" dir="ltr"> <hr id="yui_3_16_0_1_1442495775360_3926" size="1"> <font id="yui_3_16_0_1_1442495775360_3930" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> "gradsusr-request@gradsusr.org" <gradsusr-request@gradsusr.org><br> <b><span style="font-weight: bold;">To:</span></b> gradsusr@gradsusr.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 16, 2015 8:53 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> gradsusr Digest, Vol 67, Issue 27<br> </font> </div> <div id="yui_3_16_0_1_1442495775360_3932" class="y_msg_container"><br>Send gradsusr mailing list submissions to<br> <a id="yui_3_16_0_1_1442495775360_3943" ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a id="yui_3_16_0_1_1442495775360_4424" 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 id="yui_3_16_0_1_1442495775360_3942" ymailto="mailto:gradsusr-request@gradsusr.org" href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br> <a id="yui_3_16_0_1_1442495775360_3941" ymailto="mailto:gradsusr-owner@gradsusr.org" 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. wind direction difference (?? ????)<br> 2. mask country by shpfile (Dibas Shrestha)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 15 Sep 2015 21:30:51 +0300<br>From: ?? ???? <<a id="yui_3_16_0_1_1442495775360_3939" ymailto="mailto:shaike07@gmail.com" href="mailto:shaike07@gmail.com">shaike07@gmail.com</a>><br>Subject: [gradsusr] wind direction difference<br>To: <a id="yui_3_16_0_1_1442495775360_3934" ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>Message-ID:<br> <CAPSLP6_N7TCoFntq+1f41vDZ+<a ymailto="mailto:BiWWCes1-2__sv792pNzCMxkw@mail.gmail.com" href="mailto:BiWWCes1-2__sv792pNzCMxkw@mail.gmail.com">BiWWCes1-2__sv792pNzCMxkw@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hello everyone,<br>I am trying to plot differences in wind field between two scenarios. I am<br>using Grads 2.0 a8.<br>I will appreciate help on how to plot the differences in wind direction? or<br>better yet how to plot difference in speed and direction simultaneously on<br>the same map?<br>thank you<br>shai<br><br>-- <br>Shai Kaplan, Ph.D.<br>ASU-BGU Partnership project manager & Postdoctoral Researcher<br>Ben-Gurion University of the Negev, Israel<br>Email: <a ymailto="mailto:skaplan3@asu.edu" href="mailto:skaplan3@asu.edu">skaplan3@asu.edu</a> / <a ymailto="mailto:shaike07@gmail.com" href="mailto:shaike07@gmail.com">shaike07@gmail.com</a><br>Phone: 058-5933184<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20150915/bbae2e88/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20150915/bbae2e88/attachment-0001.html </a><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 15 Sep 2015 06:19:28 +0000 (UTC)<br>From: Dibas Shrestha <<a ymailto="mailto:st.dibas@yahoo.com" href="mailto:st.dibas@yahoo.com">st.dibas@yahoo.com</a>><br>Subject: [gradsusr] mask country by shpfile<br>To: "<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>" <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Message-ID:<br> <<a ymailto="mailto:257905170.102264.1442297968764.JavaMail.yahoo@mail.yahoo.com" href="mailto:257905170.102264.1442297968764.JavaMail.yahoo@mail.yahoo.com">257905170.102264.1442297968764.JavaMail.yahoo@mail.yahoo.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Dear grads users, <br><br>I am using TRMM_3B42 daily v7 data for my study. I want to get area average rainfall value for Nepal using country shpfile. Further I want to display only Nepal by using mask-out function. While I am trying to use GDAL and GrADS, following error has been is occurs. I would appreciate your suggestions.? <br>? <br>Data Request Warning:? Request is completely outside file limits<br>? Entire grid contents are set to missing data <br>? Grid limits of file:???? X = 1 1440? Y = 1 400? Z = 1 1? T = 1 1? E = 1 1 <br>? Grid limits of request:? X = 320 361? Y = 300 329? Z = 1 1? T = -313919 -313919? E = 1 1 <br>? Warning issued for variable = r<br>Define memory allocation size = 10080 bytes<br><br>Attached herewith is data file and .gs file is as follows. <br>sdfopen nep-map.nc<br>define ca=band1<br>sdfopen 3B42_daily.1998.08.07.7.nc<br>set dfile 2 <br>set time jan1998<br>set mpdset hires<br>set gxout grfill<br>set lat 25 32<br>set lon 80 90<br>define carain=r*ca<br>d carain<br><br>*quit<br><br><br>Thank you in advance. <br>Dibas Shrestha <br>Nepal Academy of Science and Technology<br>Nepal<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20150915/d5349400/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20150915/d5349400/attachment.html </a><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: 3B42_daily.1998.08.07.7.nc<br>Type: application/x-netcdf<br>Size: 2321820 bytes<br>Desc: not available<br>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20150915/d5349400/attachment.nc" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20150915/d5349400/attachment.nc </a><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: nep-map.nc<br>Type: application/x-netcdf<br>Size: 4623792 bytes<br>Desc: not available<br>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20150915/d5349400/attachment-0001.nc" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20150915/d5349400/attachment-0001.nc </a><br><br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a ymailto="mailto:gradsusr@gradsusr.org" 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 67, Issue 27<br>****************************************<br><br><br></div> </div> </div> </div></body></html>