Re: need help with GKS ERROR'S!

From: Mary Haley (haley@XXXXXX)
Date: Fri Feb 14 2003 - 10:21:36 MST

  • Next message: Dr. John W. Glendening: "Inconsistent colors in X11, ncgm, ctrans from LLU+HLU"

    >
    >
    > I am getting the following screen message whenever I try to run rip using
    > MMOUT files which have already run through ripdp properly...
    >
    > Welcome to your friendly RIP output file !
    > Color Names and Fractions Defined
    > get header info
    > Note: RIP will plot all available times.
    > Empty frame - check specification file.
    > Model info: V3.4.0 Grell MRF PBL Simple ice 36 km, 32 levels,
    > 108 s
    > ec
    > GKS ERROR NUMBER 7 ISSUED FROM SUBROUTINE GCLWK :
    > --GKS NOT IN PROPER STATE: GKS SHALL BE IN ONE OF THE STATES WSOP, WSAC,
    > OR SGOP
    > GKS ERROR NUMBER 3 ISSUED FROM SUBROUTINE GDAWK :
    > --GKS NOT IN PROPER STATE: GKS SHALL BE IN STATE WSAC
    > GKS ERROR NUMBER 7 ISSUED FROM SUBROUTINE GCLWK :
    > --GKS NOT IN PROPER STATE: GKS SHALL BE IN ONE OF THE STATES WSOP, WSAC,
    > OR SGOP
    > GKS ERROR NUMBER 2 ISSUED FROM SUBROUTINE GCLKS :
    > --GKS NOT IN PROPER STATE: GKS SHALL BE IN STATE GKOP
    > .
    > .
    > .
    > I am almost certain that the input MMOUT files are not the error. Does
    > anyone know what might be the trouble? Thanks heaps for any advice...
    >
    > Matthew S Jones

    Matthew,

    These error messages indicate that a graphics workstation was either
    not opened at all, or not properly opened to start with, and thus your
    program is unable to issue workstation commands (like clearing the
    workstation and closing the workstation). Or, perhaps your
    workstation *was* opened and closed successfully, but then somehow
    your program is trying to do more operations on the workstation
    *after* it was successfully closed.

    I am not familiar with how "rip" operates, so I can't say for certain
    what your scenario is. I would double-check your program to make sure
    that either "OPNGKS" is being called, or the combination of "GOPKS",
    "GOPWK", and "GACWK" are being called before any other GKS or plot
    commands are being called. Then, make sure that you don't have other
    GKS or plot commands being issued after "CLSGKS" or the combination of
    "GDAWK", "GCLWK", and "GCLKS" are called.

    --Mary

    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Fri Feb 14 2003 - 10:26:13 MST