<div dir="ltr"><div>The variable is type "short". It must be unpacked & scaled. Read the <b>short2flt </b>documentation and use::</div><div>   <br></div><div dir="ltr">   f        = <b>addfile </b>(....., "r")<br>   prc    = <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/short2flt.shtml"><b>short2flt(</b></a> f->pre ) <br></div><div>   printVarSummary(prc)                          ;<br></div><div dir="ltr"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 11, 2018 at 6:28 AM Oluwaseun Ilori <<a href="mailto:wilseun@gmail.com">wilseun@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello, Please I have being trying to compute spi using gridded file (netcdf) over West Africa following the example provided by <a href="https://www.ncl.ucar.edu/Applications/Scripts/spi_1.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/spi_1.ncl</a> and I've been getting this same error message</div><div><br></div><div> "fatal:Assignment type mismatch, right hand side can't be coerced to type of left hand side<br>fatal:["Execute.c":8638]:Execute: Error occurred at or near line 15" please how could I solve this problem? and attached is the screenshot of my ubuntu terminal where I make use of NCL. <br></div><div>Thanks <br></div><div><div><br>-- <br><div dir="ltr" class="m_-8029065760860630323gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:monospace,monospace"><span style="background-color:rgb(243,243,243)"><span style="color:rgb(0,0,255)"><i>OLUWASEUN ILORI</i></span></span></span></div><div><span style="font-family:monospace,monospace"><i>B.Tech(Hons) in Meteorology</i></span></div><div><span style="font-family:monospace,monospace"><i>M.Tech(in view) in Meteorology and climate science</i></span></div><div><span style="font-family:monospace,monospace"><i>Phone: +2347031000687 +2348069154213<br></i></span></div><div><span style="font-family:monospace,monospace"><i>Federal University of Technology Akure. Nigeria.</i></span></div><div><span style="font-family:monospace,monospace"><i>Facebook: </i></span><span><a href="https://www.facebook.com/hilorywilson" target="_blank"><span><span>http://facebook.com/</span><span></span>hilorywilson</span></a><br></span></div><div>linkedln: <a href="https://www.linkedin.com/in/wilson-ilori-447952108" target="_blank">https://www.linkedin.com/in/wilson-ilori-447952108</a></div><div>Twitter: HiloryW<br></div><div><span></span></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>