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 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 7 in file util/plotgrids.ncl
Now, i try to get the env (bashrc) from $NCARG_ROOT, and it is /usr:
- Code: Select all
:/WRF/WPS# echo $NCARG_ROOT
/usr
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