Re: ncarg and scripting languages

From: Phil Austin (phil@XXXXXX)
Date: Mon Jun 09 1997 - 11:33:23 MDT


>>>>> "Jeff" == Jeff W Boote <boote@niwot.scd.ucar.EDU> writes:

>> <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

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

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

Thanks, we'll try relinking. As for ncl, are there any examples
available that use NclApiScalar, etc? The two advantages we see
for hlu are the nice example set and the fact that we can call LLU
routines without wrapping them. We're particularly interested
in examples like xyplot/xy12c.c and xy13c.c, which we had planned
to redo, using Tk widgets instead of the Xt and Xm window calls.

Regards, Phil



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