Re: warning:TextItem:libncarg Error:PLCHHQ/PCFRED - ERROR READING PWRITX DATABASE

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 21 2014 - 09:29:58 MST

Ciara,

We are not the ones who provide the "yum" version of NCL, so I can't say for certain why it's not working.

However, the error is indicating that one or more of your environment variables did not get set correctly. I believe the "yum" installation puts the NCL supplemental files in a "/usr/share" directory, and not the "/usr/lib" directory like the error is indicating below that it is looking in.

There might be one of two issues here:

1. You already had an installation of NCL/NCARG on your system, and the some of the old environment variables may be overwriting the new ones.

2. The new environment variables are not getting set for some reason.

With the "yum" installation, it should be setting the NCARG_ROOT environment variable, and *maybe* the NCARG_NCARG environment.

To help me debug this, what does the following report:

which ncl
env | grep NCARG
ncargpath lib
ncargpath ncarg
ncl -V

--Mary

On Feb 21, 2014, at 8:41 AM, Ciara O'Hara <cohara1985@hotmail.com> wrote:

> Hi all, I am getting the error message above (along with a whole stream of others-see below) when I go to create a contour map plot. I have run the same script on a different machine (with a different version of linux) and it works perfectly, so it isn't the script. I suspect it has something to do with my installation of ncl on this operating system.
>
> I am running fedora 20 and installed ncl by just using: sudo yum install ncl. I'll post the errors in full below (I get the first two many times, too many to count!):
>
> warning:TextItem:libncarg Error:PLCHHQ/PCFRED - ERROR READING PWRITX DATABASE
> warning:TextItem:libncarg Error:PLCHHQ/PCFOPN - ERROR OPENING PWRITX DATA FILE /usr/lib/ncarg/database/PlotcharData
> usr/lib/ncarg/database/PlotcharData
> fatal:MapV40DHClassPartInit: cannot open map data file: NhlMapData
> fatal:MapV40DHClassPartInit: error initializing map outline records
> fatal:Unable to initialize layer-Can't Create
> fatal:Unable to access object with id:-4
> fatal:PID #-4 can't be found in NhlSetValues
> fatal:NhlGetValues:PID #-4 is invalid
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 6492 in file /usr/share/ncarg/nclscripts/csm/gsn_csm.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 7313 in file /usr/share/ncarg/nclscripts/csm/gsn_csm.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 10515 in file /usr/share/ncarg/nclscripts/csm/gsn_csm.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 65 in file /home/cohara2/contour_map_script.ncl
>
> Any help would be appreciated,
>
> Best Regards,
> Ciara
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Feb 21 09:30:12 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:27:43 MST