<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Amadou,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Delete the variable of &#8220;timeindex&#8221; (not able to see your script, but should be in line 159 and 234) in the end of each loop by type &#8220;delete(timeindex)&#8221;. The reason you have this error message is that after the first loop, your data sizes of &#8220;timeindex&#8221; will be different for month &#8220;Feb&#8221; and &#8220;Mar&#8221;, as they have different days for a month. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Hope that works. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Yuqiang<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ncl-talk-bounces@ucar.edu [mailto:ncl-talk-bounces@ucar.edu] <b>On Behalf Of </b>Amadou Coulibaly<br><b>Sent:</b> Monday, September 29, 2014 2:28 PM<br><b>To:</b> ncl-talk@ucar.edu<br><b>Subject:</b> [ncl-talk] Seasonal Variation of Hodogragh<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal><span style='font-family:"Courier New"'>Hi NCL Users<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>I still have some errors messages after applying the modifications suggested by Dennis Shea. Now I'm able to read the &quot;timeindex&quot; after applying this command below:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp;</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#500050;background:#FFF9CD'>iconv -f UTF-8 -t ascii//TRANSLIT panel_plot_mod0.ncl &gt; test.ncl&nbsp;</span><span style='font-family:"Courier New"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>But it's till showing the following error messages:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>fatal:Dimension sizes of left hand side and right hand side of assignment do not match</span><span style='font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 5660 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl</span><span style='font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>&nbsp;</span><span style='font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 159 in file test1.ncl&nbsp;</span><span style='font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>&nbsp;</span><span style='font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>fatal:[&quot;Execute.c&quot;:7743]:Execute: Error occurred at or near line 234 in file test1.ncl&nbsp;</span><span style='font-family:"Courier New"'><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black'>Please, who can help me to solve this issue?</span><span style='font-family:"Courier New"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black'>Find attached the ncl script corresponding.&nbsp;</span><span style='font-family:"Courier New"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black'>NB: My idea is to plot the Hodogragh for February, March, and April (Seasonal Hodogragh) like asked by Dennis Shea in one of her&nbsp;comment below:</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black;background:#EEEEEE'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:#EEEEEE'>Based on your written words, maybe the following is what you want</span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;background-image:initial;background-repeat:initial'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:#EEEEEE'><br>&nbsp;&nbsp;&nbsp; timeindex = ind(times(:,0).eq.2010 .and. \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (times(:,1) .ge. 2 .and. times(:,1).le.4) .and. times(:,2) .eq. 12)&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:#EEEEEE'>&nbsp;&nbsp;&nbsp; print(timeindex)</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-family:"Courier New";color:black'>But this time, I just want the indices for February, March and April 2010 like this: without 12Z</span><span style='font-family:"Courier New"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:#EEEEEE'>timeindex = ind(times(:,0).eq.2010 .and. \</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br><span style='background:#EEEEEE'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (times(:,1) .ge. 2 .and. times(:,1).le.4)&nbsp;</span></span><span style='font-family:"Courier New"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black'>Best</span><span style='font-family:"Courier New"'><o:p></o:p></span></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal><b><span style='font-family:"Tahoma","sans-serif";color:#000066'>&nbsp;COULIBALY &nbsp;&nbsp;AMADOU &nbsp;&nbsp;</span></b><br><span style='font-family:"Tahoma","sans-serif";color:#000066'>PhD&nbsp; Student &nbsp;on&nbsp; West&nbsp; African&nbsp; Climate&nbsp; System (WACS)</span><br><span style='font-family:"Tahoma","sans-serif";color:blue'>FUTA</span><span style='font-family:"Tahoma","sans-serif";color:#000066'> -&nbsp;</span><span style='font-family:"Tahoma","sans-serif";color:blue'>F</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>ederal&nbsp; </span><span style='font-family:"Tahoma","sans-serif";color:blue'>U</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>niversity&nbsp; of&nbsp; </span><span style='font-family:"Tahoma","sans-serif";color:blue'>T</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>echnology of&nbsp;</span><span style='font-family:"Tahoma","sans-serif";color:blue'>A</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>kure, Nigeria</span><o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><b><i><span style='font-family:"Arial","sans-serif";color:#4C1130'>Visiting Student - </span></i></b><b><i><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#4C1130'>University of Cologne, Germany</span><span style='color:#4C1130'><br></span></i></b><i><span style='font-family:"Arial","sans-serif";color:#4C1130'>Institute of Geophysics and Meteorology</span></i><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#4C1130'>Pohligstr. 3 / Office 3.102</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#4C1130'>D-50969 Köln</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal><span style='color:#500050'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><u><span style='font-family:"Tahoma","sans-serif";color:#000066'>Project</span></u><span style='font-family:"Tahoma","sans-serif";color:#000066'>: </span><span style='font-family:"Tahoma","sans-serif";color:blue'>WASCAL</span><span style='font-family:"Tahoma","sans-serif";color:#000066'> (</span><span style='font-family:"Tahoma","sans-serif";color:blue'>W</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>est </span><span style='font-family:"Tahoma","sans-serif";color:blue'>A</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>frican </span><span style='font-family:"Tahoma","sans-serif";color:blue'>S</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>cience </span><span style='font-family:"Tahoma","sans-serif";color:blue'>S</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>ervice </span><span style='font-family:"Tahoma","sans-serif";color:blue'>C</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>entre on </span><span style='font-family:"Tahoma","sans-serif";color:blue'>C</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>limate </span><span style='font-family:"Tahoma","sans-serif";color:blue'>C</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>hange and </span><span style='font-family:"Tahoma","sans-serif";color:blue'>A</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>dapted </span><span style='font-family:"Tahoma","sans-serif";color:blue'>L</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>and Use)&nbsp;</span><br><span style='font-family:"Tahoma","sans-serif";color:#000066'>Phone:(+234) 810 795 2836&nbsp;</span><span style='font-family:"Tahoma","sans-serif";color:red'>/</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>(+223) 65 67 27 57&nbsp;</span><span style='font-family:"Tahoma","sans-serif";color:red'>/</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>(+226) 64 57 37 27 </span><span style='font-family:"Tahoma","sans-serif";color:red'>/</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>+49 15218352574</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-family:"Tahoma","sans-serif";color:#000066'>E-mail:&nbsp;<a href="mailto:mpapin24@gmail.com" target="_blank">mpapin24@gmail.com</a></span><span style='font-family:"Tahoma","sans-serif";color:#222222'>&nbsp;</span><span style='font-family:"Tahoma","sans-serif";color:red'>/&nbsp;</span><span style='font-family:"Tahoma","sans-serif";color:blue'><a href="mailto:coulibalya68@yahoo.com" target="_blank">coulibalya68@yahoo.com</a>&nbsp;</span><o:p></o:p></p></div><div><p><span style='font-family:"Verdana","sans-serif";color:#FF9900'>&quot;<i>The time is always right to do right&quot;: <b>Nelson Mandela</b></i></span><span style='font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p><i><span style='font-family:"Verdana","sans-serif";color:#FF9900'>&quot;Character is like a tree and reputation like a shadow.&nbsp; The shadow is what we think of it; the tree is the real thing&quot; : <b>Abraham Lincoln</b></span></i><span style='font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p><i><span style='font-family:"Verdana","sans-serif";color:#FF9900'>&quot;Do what you can, with what you have, where you are&quot; <b>Theodore Roosevelt</b></span></i><span style='font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p><b><i><span style='color:#000066'>&nbsp;</span></i></b><o:p></o:p></p><p><b><span style='font-size:13.5pt;color:#000066'>&nbsp;</span></b><o:p></o:p></p><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div></div></div></div></div></body></html>