<div dir="ltr"><div><div><div>Mary,<br><br></div>Thank you so much for your reply. <br>I do agree with your judgement that <i><b>&quot;underlying Fortran routine that this function is based on also has the same restriction&quot;</b></i>, but one of my colleague asked me to do following source code modification to get rid off this problem as follows,<br><br><i><b>path: in ncl source code directory   &quot;  /ni/src/lib/nfp/wrfwpsW.c   &quot;<br><br>line number 34<br><br> NrmQuark *field;<br>  int FIELD_LEN=9;  ****************<u>this is the line where he asked me to change number 9 to 40 or 45?</u><br>  char c_field[FIELD_LEN+1]; </b></i><br><br></div>Do you also think that this would help me to solve the issue? As it requires to install NCL from the source code<br><br></div>Kindly suggest     </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 2, 2017 at 7:32 PM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Sagar,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The error message is telling you exactly what the problem is.  The second argument (&quot;field&quot;) to wrf_write_wps_int must be 9 or fewer characters.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;m not sure why this restriction is in place, but I do know that the underlying Fortran routine that this function is based on also has the same restriction.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can learn more about this format from this link:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Basics/IM_files/IM_wps.htm" target="_blank">http://www2.mmm.ucar.edu/wrf/<wbr>OnLineTutorial/Basics/IM_<wbr>files/IM_wps.htm</a><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;ve CC&#39;ed wrfhelp in case they want to add more to my answer.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Dec 28, 2016 at 12:53 AM, Sagar Kashid <span dir="ltr">&lt;<a href="mailto:sag123kas@gmail.com" target="_blank">sag123kas@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<br><div><div><div><div><br>When I am running ncl (version 6.3.0), pre-compiled with intel compilers I got the following error.<br><br>fatal:wrf_wps_write_int: the field string is greater than 9 characters<br><br></div><div>Kindly provide me solution for above error<br clear="all"></div><div><br><br><div class="m_-3068343192555937955m_7229486077354577645gmail_signature">Regards,<br><br>Sagar Kashid<br></div><div class="m_-3068343192555937955m_7229486077354577645gmail_signature">Pune, India <br></div>
</div></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Sagar Kashid<br><a href="http://bateankahisi.blogspot.com/" target="_blank">http://bateankahisi.blogspot.com/</a> <br><br><span style="color:rgb(0,0,0)"><span style="font-style:italic">Know yourself and you will win all battles.</span></span></div>
</div>