NCL plotgrids Fatal Error

Having problems running the WRF Preprocessing Sysmte (WPS)?

NCL plotgrids Fatal Error

Postby uwbeobachtung » Tue Dec 26, 2017 9:37 am

Hello Folks

I have installed WPS and WRF, no i am trying to run the command ncl util/plotgrids.ncl.
The following run is failed:

Code: Select all
:/WRF/WPS# ncl util/plotgrids.ncl
 Copyright (C) 1995-2015 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.3.0
 The use of this software is governed by a License Agreement.
 See for more details.
fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
fatal:error at line 7 in file util/plotgrids.ncl

Now, i try to get the env (bashrc) from $NCARG_ROOT, and it is /usr:
Code: Select all

Then i will check if the Path /usr/lib/ncarg/nclscripts/csm/ exist and '($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)' is correct, and yes, it is:

Code: Select all
:/WRF/WPS# cd /usr/lib/ncarg/nclscripts/csm/
:/usr/lib/ncarg/nclscripts/csm# ls -la
insgesamt 1992
drwxr-xr-x 2 root root   4096 Dez 26 13:06 .
drwxr-xr-x 6 root root   4096 Dez 26 13:06 ..
-rw-r--r-- 1 root root  14623 Dez 23  2016 ccm_func.ncl
-rw-r--r-- 1 root root 488685 Dez 23  2016 contributed.ncl
-rw-r--r-- 1 root root 137919 Dez 23  2016 diagnostics_cam.ncl
-rw-r--r-- 1 root root 490093 Dez 23  2016 gsn_code.ncl
-rw-r--r-- 1 root root 525435 Dez 23  2016 gsn_csm.ncl
-rw-r--r-- 1 root root  59870 Dez 23  2016 popRemap.ncl
-rw-r--r-- 1 root root 170985 Dez 23  2016 shea_util.ncl
-rw-r--r-- 1 root root  86500 Dez 23  2016 skewt_func.ncl
-rw-r--r-- 1 root root  39989 Dez 23  2016 wind_rose.ncl

I don't know why i received an fatal error of NCARG_ROOT in the plotgrids.ncl Script?
What should i do?

System: Linux, 64bit - Debian 9.3 strech
Posts: 1
Joined: Tue Dec 26, 2017 9:31 am

Re: NCL plotgrids Fatal Error

Postby amine » Wed Mar 07, 2018 12:20 pm

I have the same problems
if you can help me I will appreciate
best regards
Posts: 2
Joined: Mon Feb 19, 2018 1:13 pm

Re: NCL plotgrids Fatal Error

Postby dcvz » Tue Mar 13, 2018 3:09 am

This problem seems to be with an incorrect installation of ncl using the 'sudo apt install ncl-ncarg' or 'apt-get' method. (Seems to happen on ubuntu and debian). NCAR doesn't support the apt-get version of NCL. You should uninstall ncl-ncarg and install NCL from the NCL website.

Typically, NCL would be placed in /usr/local/ncarg (or some directory like that). It seems a red-flag for this problem is having NCARG_ROOT set to /usr.
Posts: 176
Joined: Tue Apr 15, 2008 12:02 am

Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 4 guests