[ncl-install] Error while using pre-compiled NCL binaries

Sagar Kashid sag123kas at gmail.com
Mon Jan 2 22:57:20 MST 2017


Mary,

Thank you so much for your reply.
I do agree with your judgement that *"underlying Fortran routine that this
function is based on also has the same restriction"*, but one of my
colleague asked me to do following source code modification to get rid off
this problem as follows,







*path: in ncl source code directory   "  /ni/src/lib/nfp/wrfwpsW.c   "line
number 34 NrmQuark *field;  int FIELD_LEN=9;  ****************this is the
line where he asked me to change number 9 to 40 or 45?  char
c_field[FIELD_LEN+1]; *

Do you also think that this would help me to solve the issue? As it
requires to install NCL from the source code

Kindly suggest

On Mon, Jan 2, 2017 at 7:32 PM, Mary Haley <haley at ucar.edu> wrote:

> Sagar,
>
> The error message is telling you exactly what the problem is.  The second
> argument ("field") to wrf_write_wps_int must be 9 or fewer characters.
>
> I'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.
>
> You can learn more about this format from this link:
>
> http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Basics/IM_files/IM_wps.htm
>
> I've CC'ed wrfhelp in case they want to add more to my answer.
>
> --Mary
>
>
> On Wed, Dec 28, 2016 at 12:53 AM, Sagar Kashid <sag123kas at gmail.com>
> wrote:
>
>> Hi,
>>
>> When I am running ncl (version 6.3.0), pre-compiled with intel compilers
>> I got the following error.
>>
>> fatal:wrf_wps_write_int: the field string is greater than 9 characters
>>
>> Kindly provide me solution for above error
>>
>>
>> Regards,
>>
>> Sagar Kashid
>> Pune, India
>>
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>>
>


-- 
Regards,

Sagar Kashid
http://bateankahisi.blogspot.com/

Know yourself and you will win all battles.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20170103/3ccd91d2/attachment.html 


More information about the ncl-install mailing list