[ncl-talk] dim_spi_n saying "fatal:Assignment type mismatch"

Dennis Shea shea at ucar.edu
Sun Nov 11 08:08:28 MST 2018


The variable is type "short". It must be unpacked & scaled. Read the *short2flt
*documentation and use::

   f        = *addfile *(....., "r")
   prc    = *short2flt(*
<http://www.ncl.ucar.edu/Document/Functions/Contributed/short2flt.shtml>
f->pre )
   printVarSummary(prc)                          ;


On Sun, Nov 11, 2018 at 6:28 AM Oluwaseun Ilori <wilseun at gmail.com> wrote:

> Hello, Please I have being trying to compute spi using gridded file
> (netcdf) over West Africa following the example provided by
> https://www.ncl.ucar.edu/Applications/Scripts/spi_1.ncl and I've been
> getting this same error message
>
> "fatal:Assignment type mismatch, right hand side can't be coerced to type
> of left hand side
> 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.
> Thanks
>
> --
> *OLUWASEUN ILORI*
> *B.Tech(Hons) in Meteorology*
> *M.Tech(in view) in Meteorology and climate science*
>
> *Phone: +2347031000687 +2348069154213*
> *Federal University of Technology Akure. Nigeria.*
> *Facebook: *http://facebook.com/hilorywilson
> <https://www.facebook.com/hilorywilson>
> linkedln: https://www.linkedin.com/in/wilson-ilori-447952108
> Twitter: HiloryW
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181111/826d20a4/attachment.html>


More information about the ncl-talk mailing list