Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Plotgrids related issue

shivangi

New member
Why I am getting following error while running plotgrid command:
rda@rda-Precision-7820-Tower:~/Build_WRF/wps$ ncl util/plotgrids_new.ncl
Following error is coming:

fatal:Could not open ($NCARG_ROOT/ncl_ncarg-6.6.2/ni/src/examples/gsun/gsn_code.ncl)
fatal:error at line 7 in file util/plotgrids_new.ncl
What can be the reason?
 
This is because you didn't install NCL correctly.
I guess you don't have the code gsn_code.ncl saved in your $NCARG_ROOT/ncl_ncarg-6.6.2/ni/src/examples/gsun/

If this is the case, please send email to ncl-talk@ucar.edu for help.
 
The file mentioned by you code gsn_code.ncl is available at following location:
/home/rda/Build_WRF/WRFV3-3.9.1.1/run/ncl_ncarg-6.6.2/ni/src/examples/gsun
Still error is thrown.
Also, the path given in bash is
export NCARG_ROOT=/home/rda/Build_WRF/WRFV3-3.9.1.1/run/ncl_narg-6.6.2
Earlier we tried to run using following path:
export NCARG_ROOT=/usr/bin/lib

Is the error coming due to the path or some other reason is there?

Also. we are installing ncl 6.6.2 from How to build NCL and NCAR Graphics from source code. But when we tryng to see in terminal using ncl -V command, we are not able to see.
Kindly help.
 
The file mentioned by you code gsn_code.ncl is available at following location:
/home/rda/Build_WRF/WRFV3-3.9.1.1/run/ncl_ncarg-6.6.2/ni/src/examples/gsun
Still error is thrown.
Also, the path given in bash is
export NCARG_ROOT=/home/rda/Build_WRF/WRFV3-3.9.1.1/run/ncl_narg-6.6.2
Earlier we tried to run using following path:
export NCARG_ROOT=/usr/bin/lib

Is the error coming due to the path or some other reason is there?

Also. we are installing ncl 6.6.2 from How to build NCL and NCAR Graphics from source code. But when we tryng to see in terminal using ncl -V command, we are not able to see.
Kindly help.
might be easier to install NCL using the miniconda

conda create -n ncl_stable -c conda-forge ncl -y
 
Top