<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:16px"><div id="yui_3_16_0_1_1435312220552_20565" dir="ltr"><span id="yui_3_16_0_1_1435312220552_21089">&nbsp;calculating monthly from daily averages</span></div><div id="yui_3_16_0_1_1435312220552_20565"><span>Hi grad users</span></div><div id="yui_3_16_0_1_1435312220552_20362"><span id="yui_3_16_0_1_1435312220552_20364">I want to calculate the monthly averages from the daily average data</span></div><div id="yui_3_16_0_1_1435312220552_20362"><span id="yui_3_16_0_1_1435312220552_20785">I have found a script in the grads users blog.</span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span id="yui_3_16_0_1_1435312220552_20983">I tried to correct the script based on my data, but when I run the script it gives me the .nc file with constant number and with only one time step, the length of my daily data is from t=1 to t=5632 days</span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span id="yui_3_16_0_1_1435312220552_22268">&nbsp;Is their any one can help to see where is the problem</span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span id="yui_3_16_0_1_1435312220552_22272">regards</span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span id="yui_3_16_0_1_1435312220552_22931">kaikombo</span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span id="yui_3_16_0_1_1435312220552_22738">Here is the the script</span></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr"><span id="yui_3_16_0_1_1435312220552_22693">&nbsp;</span>'reinit'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">mday = '31 28 31 30 31 30 31 31 30 31 30 31'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">month = 'jan feb mar apr may jun jul aug sep oct nov dec'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;'sdfopen &nbsp;C:/Users/laptop/Documents/Work/datatrim/data_trim.nc'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;'set x 1 136 '</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;'set y 1 144'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;'set t 1 5630'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">* 'set z 1'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; yr1 = 1998</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; yr2 = 2012</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;yr = yr1</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;while(yr&lt;=yr2)</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; leap = 0</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; if(math_mod(yr,400) = 0 | math_mod(yr,4) = 0 &amp; math_mod(yr,100) != 0)</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;leap = 1</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">* say yr' is a leap year.'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; endif</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; imon = 1</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; while(imon &lt;= 12)</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;md = subwrd(mday,imon)</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;mc = subwrd(month,imon)</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;if(imon = 2); md = md + leap; endif;</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;time1 = '01'mc''yr</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;time2 = md''mc''yr</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">* &nbsp; say time1' 'time2</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;'define aveprecip= ave(precipitation,time='time1',time='time2')'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">* &nbsp; 'set gxout sdfwrite'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;'set sdfwrite &nbsp;C:/Users/laptop/Documents/Work/datatrim/monthly_trim.nc'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; 'sdfwrite aveprecip'</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;imon = imon + 1</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; &nbsp;endwhile</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp; yr = yr + 1</div><div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class="">&nbsp;endwhile</div>  <div id="yui_3_16_0_1_1435312220552_20362" dir="ltr" class=""><span id="yui_3_16_0_1_1435312220552_22693" class="">&nbsp;</span></div><br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: bookman old style, new york, times, serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, June 25, 2015 8:59 PM, "gradsusr-request@gradsusr.org" &lt;gradsusr-request@gradsusr.org&gt; wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">Send gradsusr mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a 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>&nbsp;&nbsp;&nbsp; <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>&nbsp;&nbsp;&nbsp; <a 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>&nbsp;&nbsp;&nbsp; <a 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>&nbsp;  1. Re: Converting wrf model out to grads readerable format<br>&nbsp; &nbsp; &nbsp; (Masters.Steve)<br>&nbsp;  2. Re: Converting wrf model out to grads readerable format<br>&nbsp; &nbsp; &nbsp; (Endalkachew Bekele - NOAA Affiliate)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 25 Jun 2015 12:35:30 -0400<br>From: "Masters.Steve" &lt;<a ymailto="mailto:masters.steve@ensco.com" href="mailto:masters.steve@ensco.com">masters.steve@ensco.com</a>&gt;<br>Subject: Re: [gradsusr] Converting wrf model out to grads readerable<br>&nbsp;&nbsp;&nbsp; format<br>To: GrADS Users Forum &lt;<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:FDF06AD843A5D84F89537BCAA377E69163A7A01858@mb-ex07.ensco.win" href="mailto:FDF06AD843A5D84F89537BCAA377E69163A7A01858@mb-ex07.ensco.win">FDF06AD843A5D84F89537BCAA377E69163A7A01858@mb-ex07.ensco.win</a>&gt;<br>Content-Type: text/plain; charset="utf-8"<br><br>Charles ?<br><br>This is a WRF-EMS question, not a GrADS question.&nbsp; Looking at the error, you are probably running the command from the wrong directory (ems_post is run one directory up).&nbsp;  You can find the full WRF-EMS documentation at <a href="http://strc.comet.ucar.edu/software/newrems/" target="_blank">http://strc.comet.ucar.edu/software/newrems/. </a> If you are still having problems, there is a public forum linked at that address that can better service your question.<br><br>Stephen Masters<br>ENSCO, Inc.<br>Melbourne, FL<br><br>From: <a ymailto="mailto:gradsusr-bounces@gradsusr.org" href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a ymailto="mailto:gradsusr-bounces@gradsusr.org" href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Charles Langton Vanya<br>Sent: Thursday, June 25, 2015 6:43 AM<br>To: GrADS Users Forum<br>Subject: Re: [gradsusr] Converting wrf model out to grads readerable format<br><br>Dear all,<br>I am still getting challenges in converting wrfems model output to grads&nbsp; readable format. This is what I tried and the error I found.<br>------------------------------------------------------------------------------------------------------------------------------------------------------<br><br>gsoelim&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ps2ps2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  zsoelim<br>[WRF-MODEL:&gt;&gt;]cd ../usr/bin<br>bash: cd: ../usr/bin: No such file or directory<br>[WRF-MODEL:&gt;&gt;]cd /usr/wrfems/<br>[WRF-MODEL:&gt;&gt;]ls<br>bin&nbsp; conf&nbsp; data&nbsp; docs&nbsp; domwiz&nbsp; etc&nbsp; logs&nbsp; releases&nbsp; runs&nbsp; strc&nbsp; util<br>[WRF-MODEL:&gt;&gt;]cd runs<br>[WRF-MODEL:&gt;&gt;]ls<br>malawi&nbsp; malawi-zoom<br>[WRF-MODEL:&gt;&gt;]cd malawi<br>[WRF-MODEL:&gt;&gt;]ls<br>conf&nbsp; ems_autorun&nbsp; ems_post&nbsp; emsprd&nbsp; ems_prep&nbsp; ems_run&nbsp; grib&nbsp; log&nbsp; static&nbsp; wpsprd&nbsp; wrfbdy_d01&nbsp; wrfinput_d01&nbsp; wrfprd<br>[WRF-MODEL:&gt;&gt;]cd wrfprd<br>[WRF-MODEL:&gt;&gt;]ls<br>wrfout_d01_2015-06-03_00:00:00&nbsp; wrfout_d01_2015-06-03_09:00:00&nbsp; wrfout_d01_2015-06-03_18:00:00<br>wrfout_d01_2015-06-03_01:00:00&nbsp; wrfout_d01_2015-06-03_10:00:00&nbsp; wrfout_d01_2015-06-03_19:00:00<br>wrfout_d01_2015-06-03_02:00:00&nbsp; wrfout_d01_2015-06-03_11:00:00&nbsp; wrfout_d01_2015-06-03_20:00:00<br>wrfout_d01_2015-06-03_03:00:00&nbsp; wrfout_d01_2015-06-03_12:00:00&nbsp; wrfout_d01_2015-06-03_21:00:00<br>wrfout_d01_2015-06-03_04:00:00&nbsp; wrfout_d01_2015-06-03_13:00:00&nbsp; wrfout_d01_2015-06-03_22:00:00<br>wrfout_d01_2015-06-03_05:00:00&nbsp; wrfout_d01_2015-06-03_14:00:00&nbsp; wrfout_d01_2015-06-03_23:00:00<br>wrfout_d01_2015-06-03_06:00:00&nbsp; wrfout_d01_2015-06-03_15:00:00&nbsp; wrfout_d01_2015-06-04_00:00:00<br>wrfout_d01_2015-06-03_07:00:00&nbsp; wrfout_d01_2015-06-03_16:00:00<br>wrfout_d01_2015-06-03_08:00:00&nbsp; wrfout_d01_2015-06-03_17:00:00<br>[WRF-MODEL:&gt;&gt;]ems_post --malawi 2 --grads<br>Parameter to use lib must be directory, not file at /usr/bin/ems_post line 33.<br>Can't locate EMS_set.pm in @INC (you may need to install the EMS_set module) (@INC contains: /usr/bin/ems_util /usr/bin/ems_post /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/ems_post line 34.<br>BEGIN failed--compilation aborted at /usr/bin/ems_post line 34.<br>[WRF-MODEL:&gt;&gt;]cd ../wrfprd<br>[WRF-MODEL:&gt;&gt;]ems_post --malawi 2 --grads<br>Parameter to use lib must be directory, not file at /usr/bin/ems_post line 33.<br>Can't locate EMS_set.pm in @INC (you may need to install the EMS_set module) (@INC contains: /usr/bin/ems_util /usr/bin/ems_post /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/ems_post line 34.<br>BEGIN failed--compilation aborted at /usr/bin/ems_post line 34.<br>[WRF-MODEL:&gt;&gt;]<br><br>-------------------------------------<br>What do I need to do?<br>Thank you in advance for your help<br>Regards,<br><br>On 24 June 2015 at 12:19, itesh dash &lt;<a ymailto="mailto:itesh@rimes.int" href="mailto:itesh@rimes.int">itesh@rimes.int</a>&lt;mailto:<a ymailto="mailto:itesh@rimes.int" href="mailto:itesh@rimes.int">itesh@rimes.int</a>&gt;&gt; wrote:<br>If it is grib2 data, try using g2ctl.pl&lt;<a href="http://g2ctl.pl/" target="_blank">http://g2ctl.pl</a>&gt; utility? to create the ctl file and gribmap to generate the index file. Then you can use Grads to display it.<br><br>Hope this helps.<br><br>_______________________________________________<br>gradsusr mailing list<br><a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&lt;mailto:<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br><br>--<br>Meteorological Services<br>P.O.Box 1808,<br>Blantyre,<br>Malawi<br>Cell:+265-888-980 545<br> + 254 714 586 517<br><br><br>________________________________<br>The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.<br><br>The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations -- including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations -- and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20150625/a3717d4a/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20150625/a3717d4a/attachment-0001.html </a><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 25 Jun 2015 13:55:36 -0400<br>From: Endalkachew Bekele - NOAA Affiliate<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:endalkachew.bekele@noaa.gov" href="mailto:endalkachew.bekele@noaa.gov">endalkachew.bekele@noaa.gov</a>&gt;<br>Subject: Re: [gradsusr] Converting wrf model out to grads readerable<br>&nbsp;&nbsp;&nbsp; format<br>To: GrADS Users Forum &lt;<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;CAN1MjmdsfSMBBtyECdfeZv2yhKXiLL0_Vs7B2=<a ymailto="mailto:u8C0nRMrsiPw@mail.gmail.com" href="mailto:u8C0nRMrsiPw@mail.gmail.com">u8C0nRMrsiPw@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="utf-8"<br><br>Hi Charles,<br><br>Please follow the following steps:-<br><br><br><br><br>*cd $EMS/runs/malawi*<br><br>*ems_post --grads*<br><br>*cd emsprd/grads*<br><br>If everything goes well, you should get the required files in this folder.<br><br>Thanks,<br><br>Endalk<br><br><br>On Thu, Jun 25, 2015 at 6:42 AM, Charles Langton Vanya &lt;<a ymailto="mailto:dolesibeni@gmail.com" href="mailto:dolesibeni@gmail.com">dolesibeni@gmail.com</a><br>&gt; wrote:<br><br>&gt; Dear all,<br>&gt; I am still getting challenges in converting wrfems model output to grads<br>&gt; readable format. This is what I tried and the error I found.<br>&gt;<br>&gt; ------------------------------------------------------------------------------------------------------------------------------------------------------<br>&gt;<br>&gt; gsoelim&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ps2ps2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  zsoelim<br>&gt; [WRF-MODEL:&gt;&gt;]cd ../usr/bin<br>&gt; bash: cd: ../usr/bin: No such file or directory<br>&gt; [WRF-MODEL:&gt;&gt;]cd /usr/wrfems/<br>&gt; [WRF-MODEL:&gt;&gt;]ls<br>&gt; bin&nbsp; conf&nbsp; data&nbsp; docs&nbsp; domwiz&nbsp; etc&nbsp; logs&nbsp; releases&nbsp; runs&nbsp; strc&nbsp; util<br>&gt; [WRF-MODEL:&gt;&gt;]cd runs<br>&gt; [WRF-MODEL:&gt;&gt;]ls<br>&gt; malawi&nbsp; malawi-zoom<br>&gt; [WRF-MODEL:&gt;&gt;]cd malawi<br>&gt; [WRF-MODEL:&gt;&gt;]ls<br>&gt; conf&nbsp; ems_autorun&nbsp; ems_post&nbsp; emsprd&nbsp; ems_prep&nbsp; ems_run&nbsp; grib&nbsp; log&nbsp; static<br>&gt; wpsprd&nbsp; wrfbdy_d01&nbsp; wrfinput_d01&nbsp; wrfprd<br>&gt; [WRF-MODEL:&gt;&gt;]cd wrfprd<br>&gt; [WRF-MODEL:&gt;&gt;]ls<br>&gt; wrfout_d01_2015-06-03_00:00:00&nbsp; wrfout_d01_2015-06-03_09:00:00<br>&gt; wrfout_d01_2015-06-03_18:00:00<br>&gt; wrfout_d01_2015-06-03_01:00:00&nbsp; wrfout_d01_2015-06-03_10:00:00<br>&gt; wrfout_d01_2015-06-03_19:00:00<br>&gt; wrfout_d01_2015-06-03_02:00:00&nbsp; wrfout_d01_2015-06-03_11:00:00<br>&gt; wrfout_d01_2015-06-03_20:00:00<br>&gt; wrfout_d01_2015-06-03_03:00:00&nbsp; wrfout_d01_2015-06-03_12:00:00<br>&gt; wrfout_d01_2015-06-03_21:00:00<br>&gt; wrfout_d01_2015-06-03_04:00:00&nbsp; wrfout_d01_2015-06-03_13:00:00<br>&gt; wrfout_d01_2015-06-03_22:00:00<br>&gt; wrfout_d01_2015-06-03_05:00:00&nbsp; wrfout_d01_2015-06-03_14:00:00<br>&gt; wrfout_d01_2015-06-03_23:00:00<br>&gt; wrfout_d01_2015-06-03_06:00:00&nbsp; wrfout_d01_2015-06-03_15:00:00<br>&gt; wrfout_d01_2015-06-04_00:00:00<br>&gt; wrfout_d01_2015-06-03_07:00:00&nbsp; wrfout_d01_2015-06-03_16:00:00<br>&gt; wrfout_d01_2015-06-03_08:00:00&nbsp; wrfout_d01_2015-06-03_17:00:00<br>&gt; [WRF-MODEL:&gt;&gt;]ems_post --malawi 2 --grads<br>&gt; Parameter to use lib must be directory, not file at /usr/bin/ems_post line<br>&gt; 33.<br>&gt; Can't locate EMS_set.pm in @INC (you may need to install the EMS_set<br>&gt; module) (@INC contains: /usr/bin/ems_util /usr/bin/ems_post<br>&gt; /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl<br>&gt; /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at<br>&gt; /usr/bin/ems_post line 34.<br>&gt; BEGIN failed--compilation aborted at /usr/bin/ems_post line 34.<br>&gt; [WRF-MODEL:&gt;&gt;]cd ../wrfprd<br>&gt; [WRF-MODEL:&gt;&gt;]ems_post --malawi 2 --grads<br>&gt; Parameter to use lib must be directory, not file at /usr/bin/ems_post line<br>&gt; 33.<br>&gt; Can't locate EMS_set.pm in @INC (you may need to install the EMS_set<br>&gt; module) (@INC contains: /usr/bin/ems_util /usr/bin/ems_post<br>&gt; /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl<br>&gt; /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at<br>&gt; /usr/bin/ems_post line 34.<br>&gt; BEGIN failed--compilation aborted at /usr/bin/ems_post line 34.<br>&gt; [WRF-MODEL:&gt;&gt;]<br>&gt;<br>&gt; -------------------------------------<br>&gt;<br>&gt; What do I need to do?<br>&gt; Thank you in advance for your help<br>&gt; Regards,<br>&gt;<br>&gt; On 24 June 2015 at 12:19, itesh dash &lt;<a ymailto="mailto:itesh@rimes.int" href="mailto:itesh@rimes.int">itesh@rimes.int</a>&gt; wrote:<br>&gt;<br>&gt;&gt; If it is grib2 data, try using g2ctl.pl utility? to create the ctl file<br>&gt;&gt; and gribmap to generate the index file. Then you can use Grads to display<br>&gt;&gt; it.<br>&gt;&gt;<br>&gt;&gt; Hope this helps.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; gradsusr mailing list<br>&gt;&gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Meteorological Services<br>&gt; P.O.Box 1808,<br>&gt; Blantyre,<br>&gt; Malawi<br>&gt; Cell:+265-888-980 545<br>&gt;&nbsp; + 254 714 586 517<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>&gt;<br><br><br>-- <br>-----------------------------------------------------------------------------------<br> *Endalkachew Bekele*<br>CPC International Desks<br>NOAA Center for Weather and Climate Prediction<br>5830 University Research Court, Rm 3149<br>College Park, Maryland 20740<br>Tel: (301) 683-3459<br>e-mail: <a ymailto="mailto:endalkachew.bekele@noaa.gov" href="mailto:endalkachew.bekele@noaa.gov">endalkachew.bekele@noaa.gov</a><br><br>UCAR/Joint Office for Science Support (JOSS)<br> e-mail: <a ymailto="mailto:ebekele@ucar.edu" href="mailto:ebekele@ucar.edu">ebekele@ucar.edu</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20150625/3a8a7c1c/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20150625/3a8a7c1c/attachment.html </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 64, Issue 34<br>****************************************<br><br><br></div>  </div> </div>  </div></div></body></html>