<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> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Delete the variable of “timeindex” (not able to see your script, but should be in line 159 and 234) in the end of each loop by type “delete(timeindex)”. The reason you have this error message is that after the first loop, your data sizes of “timeindex” will be different for month “Feb” and “Mar”, as they have different days for a month. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </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> </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> </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> </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> </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 "timeindex" after applying this command below:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'> </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 > test.ncl </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> </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> </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> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto'><span style='font-family:"Courier New";color:red'>fatal:["Execute.c":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'> </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:["Execute.c":7743]:Execute: Error occurred at or near line 159 in file test1.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'> </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:["Execute.c":7743]:Execute: Error occurred at or near line 234 in file test1.ncl </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> </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> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black'>Find attached the ncl script corresponding. </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> </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 comment below:</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New";color:black;background:#EEEEEE'> </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> timeindex = ind(times(:,0).eq.2010 .and. \<br> (times(:,1) .ge. 2 .and. times(:,1).le.4) .and. times(:,2) .eq. 12) </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'> 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> </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'> (times(:,1) .ge. 2 .and. times(:,1).le.4) </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> </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> </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'> COULIBALY AMADOU </span></b><br><span style='font-family:"Tahoma","sans-serif";color:#000066'>PhD Student on West African Climate System (WACS)</span><br><span style='font-family:"Tahoma","sans-serif";color:blue'>FUTA</span><span style='font-family:"Tahoma","sans-serif";color:#000066'> - </span><span style='font-family:"Tahoma","sans-serif";color:blue'>F</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>ederal </span><span style='font-family:"Tahoma","sans-serif";color:blue'>U</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>niversity of </span><span style='font-family:"Tahoma","sans-serif";color:blue'>T</span><span style='font-family:"Tahoma","sans-serif";color:#000066'>echnology of </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> </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> </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) </span><br><span style='font-family:"Tahoma","sans-serif";color:#000066'>Phone:(+234) 810 795 2836 </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 </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: <a href="mailto:mpapin24@gmail.com" target="_blank">mpapin24@gmail.com</a></span><span style='font-family:"Tahoma","sans-serif";color:#222222'> </span><span style='font-family:"Tahoma","sans-serif";color:red'>/ </span><span style='font-family:"Tahoma","sans-serif";color:blue'><a href="mailto:coulibalya68@yahoo.com" target="_blank">coulibalya68@yahoo.com</a> </span><o:p></o:p></p></div><div><p><span style='font-family:"Verdana","sans-serif";color:#FF9900'>"<i>The time is always right to do right": <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'>"Character is like a tree and reputation like a shadow. The shadow is what we think of it; the tree is the real thing" : <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'>"Do what you can, with what you have, where you are" <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'> </span></i></b><o:p></o:p></p><p><b><span style='font-size:13.5pt;color:#000066'> </span></b><o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div></div></div></div></body></html>