[ncl-talk] error while running NCL and Shape file scripts
Karin Meier-Fleischer
meier-fleischer at dkrz.de
Wed Jan 15 01:44:37 MST 2020
Hi Sadame,
it seems that you have not set the NCARG_ROOT environment variable.
What does your system return when you enter 'echo $NCARG_ROOT' in a
terminal?
If its empty than you should have a look at
http://ncl.ucar.edu/Download/install_from_binary.shtml#SetUpEnvironment
By the way you don't have to load the gsn_code.ncl and gsn_csm.ncl files
anymore, they are automatically included.
-Karin
Am 15.01.20 um 08:07 schrieb S. Y. via ncl-talk:
> Hello everyone
> I am new NCL user and i was trying to plot shapefiles using NCL
> following the procedures given in one of the webinar.
> However when i run the script i got an error as i copied below
>
>
> (base) sdm at sdm-ThinkPad-P50:~/Desktop/NCL_folders/NCL_and_shapefiles$
> ncl senegal.ncl
> Copyright (C) 1995-2017 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.4.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
> fatal:error at line 1 in file senegal.ncl
>
> fatal:syntax error: line -1 before or near
>
> ^
>
> fatal:error in statement
>
>
>
> I also attached the script that i used to run.
>
> Thank you for your help in advance.
>
> kind regards,
> Sadame
>
> _______________________________________________
> 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/20200115/bc1a5577/attachment.html>
More information about the ncl-talk
mailing list