[ncl-talk] Wondering Why I Get This Error

Marston Johnston shejo284 at gmail.com
Fri Sep 8 02:37:29 MDT 2017


Again, read the error statement and try to understand what it is telling you:

atal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 35 in file ./ra

 

You have a TYPE mismatch between your variables and NCL cannot coerce one to the other. Make sure you are adding the same types of variables…

For example, you cannot do 1 + “help”, that would be a type mismatch!

/M

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Marston S. Ward, PhD

Department of Earth Sciences

University of Gothenburg, Sweden

Email: marston.johnston at gu.se

SkypeID: marston.johnston 

Phone: +46-31-7864901 

Only the fruitful thing is true!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

From: ncl-talk <ncl-talk-bounces at ucar.edu> on behalf of Barry Lynn <barry.h.lynn at gmail.com>
Date: Friday, 8 September 2017 at 10:11
To: ncl-talk <ncl-talk at ucar.edu>
Subject: [ncl-talk] Wondering Why I Get This Error

 

atal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 35 in file ./ra

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170908/00ec0661/attachment.html>


More information about the ncl-talk mailing list