[ncl-talk] About shapefiles

Rick Brownrigg brownrig at ucar.edu
Fri May 27 09:56:37 MDT 2016


Hi,

It looks there's a syntax error at line 258 that likely cascades to the
other errors. Lines 257-258 read:

  majorCities = (/ (/ "Dili", "Dili"     /), \
                   (/ "Hera ","Hera"/), \ /)

                                   ^^^^^^^^
That should be:

  majorCities = (/ (/ "Dili", "Dili"     /), \
                   (/ "Hera ","Hera"/)  /)

Rick

On Fri, May 27, 2016 at 3:35 AM, isakhar sakhar isakhar <
isakhar.inside13 at gmail.com> wrote:

> Dear NCL team
>
> I download the shapefiles for administrative boundaries from GIVA-DIS
> website (http://www.diva-gis.org/gdata) to run my wrfout. Here I got
> error as shown below;
>
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 258 in file shapefiles_5.ncl before or near \n
>
> ^
>
> fatal:syntax error: line 329 in file shapefiles_5.ncl before or near \n
>   gsn_table(wks, (/ 1, 1 /), (/ ulX-.005, ulX+.255 /), (/ ulY-.21, ulY /),
> (/ " " /), tblRes)
>
> ---------------------------------------------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 337 in file shapefiles_5.ncl before or near \n
>   gsn_table(wks, hdr, hdrX, hdrY, hdrText, tblRes)
> --------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 346 in file shapefiles_5.ncl before or near \n
>   gsn_table(wks, subHdr, hdrX, hdrY, subHdrText, tblRes)
> --------------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:syntax error: line 380 in file shapefiles_5.ncl before or near \n
>   gsn_table(wks, tblBdy, tblX, tblY, tblText, tblRes)
> -----------------------------------------------------^
>
> fatal:syntax error: possibly an undefined procedure
> fatal:Syntax Error in block, block not executed
> fatal:error at line 383 in file shapefiles_5.ncl
>
>
> Here I attach my ncl script and ncdump file.
> Many thanks for your help.
>
> Regards,
> Soares
>
> _______________________________________________
> 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/20160527/2eff843b/attachment.html 


More information about the ncl-talk mailing list