NCAR / ncl

The NCAR Command Language (NCL) is a scripting language for the analysis and visualization of climate and weather data.
http://www.ncl.ucar.edu
Other
267 stars 65 forks source link

fatal: Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl) #57

Open lbdhr opened 5 years ago

lbdhr commented 5 years ago

Hi,

I am a beginner of WRF. I just installed the WRFV3 and tried to run it. However, when I run the command ‘ncl plotgrids.ncl’. It always showed an error: ‘fatal: Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)’. I have set the environment variable ‘export NCARG_ROOT=/usr/’. Could you please help me? Thanks very much! The running results and self-check process is showing below:

uav@uav-UN65U:~/Build_WRF/WPS$ ncl 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 plotgrids.ncl

uav@uav-UN65U:~/Build_WRF/WPS$ ls $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
/usr/lib/ncarg/nclscripts/csm/gsn_code.ncl
uav@uav-UN65U:~/Build_WRF/WPS$
Asishinuzuka commented 5 years ago

same problem with me also, please help

rbrownrigg commented 5 years ago

Hi,

it sounds like either NCL did not get installed directly under /usr, or there's a permissions problem on that file. How was NCL installed? We've seen some issues where 3rd party packaging of NCL places things in non-standard places, like /usr/share. Do you see an "ncarg" directory under /usr/lib?

Rick

On Wed, Sep 4, 2019 at 12:32 AM Asishinuzuka notifications@github.com wrote:

same problem with me also, please help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCAR/ncl/issues/57?email_source=notifications&email_token=ADLWOXS73Q4JNHXM4ZHBB6DQH5JBDA5CNFSM4GRGG542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD52QKUA#issuecomment-527762768, or mute the thread https://github.com/notifications/unsubscribe-auth/ADLWOXT5F4ODUL7FNLVQMBDQH5JBDANCNFSM4GRGG54Q .

ahmadnaveed1997 commented 3 years ago

i can see "ncarg" in my pc under lib but still facing same issue