Re: ncarg and scripting languages

From: Jeff W. Boote (boote AT unknown)
Date: Mon Jun 09 1997 - 10:52:14 MDT


> <awan@curlew: awan/HLU> python test.py
> warning:GKS:GESC: --CONTENTS OF ESCAPE DATA RECORD ARE INVALID
> fatal:OpenWorkstation:libncarg Error:NGSETI - Uncleared prior error
> warning:GKS:GESC: --CONTENTS OF ESCAPE DATA RECORD ARE INVALID
> fatal:Unable to open Workstation-Can't Create
> fatal:_NhlCreate:Invalid Parent id #-4
> fatal:NhlDraw: Invalid Layer Id: 0
> fatal:Unable to update Workstation with PID#-4
> fatal:Unable to clear Workstation with PID#-4

>From these errors, it looks to me like you are not linking with
libncarg_gks.a. The hlu library depends upon NCAR's version of gks, there
is no way around that at this point.

Have you considered interfacing python with ncl instead? I have not looked
into it myself yet, but it may be easier to interface python with the
programatic interface of ncl, instead of at the hlu level.

jeff

-- 
Jeff W. Boote  <boote AT unknown>          ***************************************
Scientific Computing Division            * There are more things in heaven and *
National Center for Atmospheric Research * earth, Horatio, Than are dreamt of  *
Boulder                                  * in your philosophy.          Hamlet *
                                         ***************************************



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:32 MDT