Hi all! ;-)
I'm trying to pipe a cgm from a ncarg script (f77) into ctrans.
Following the manual
(http://ngwww.ucar.edu/ngdoc/ng/fund/chp6-10/workstations.html) I set
the NCARG_GKS_OUTPUT variable to "|ctrans", but no matter what/if I set
GRAPHCAP when I try to open a workstation with this piece of code
CALL GOPKS (IERRF, ISZDM)
CALL GOPWK (IWKID, LUNIT, IWTYPE)
CALL GQOPS (OPSTA)
print *, 'After COPWK ',OPSTA
CALL GACWK (IWKID)
CALL GQOPS (OPSTA)
print *, 'After GACWK ',OPSTA
where IERRF = 6, ISZDM = 0, IWKID = 1, LUNIT=2 and IWTYPE=1
I get this output:
Error in flswks_() : Seek failed
GKS ERROR NUMBER 304 ISSUED FROM SUBROUTINE GOPWK :
--INPUT/OUTPUT ERROR HAS OCCURRED WHILE SENDING DATA TO A WORKSTATION
After COPWK 2
GKS ERROR NUMBER 25 ISSUED FROM SUBROUTINE GACWK :
--SPECIFIED WORKSTATION IS NOT OPEN
After GACWK 2
GKS ERROR NUMBER 25 ISSUED FROM SUBROUTINE GSCR :
--SPECIFIED WORKSTATION IS NOT OPEN
Instead if I don't set none of env variable it runs fine producing a gmeta
file.
any clue?
thanks in advance
*****************************************************************************
Giovanni Leoncini
Graduate Student
Meteorology Department
San Jose State University
One Washington Square, tel : 408-924-5199
San Jose, CA, 95112 email: leoncini@metsun1.met.sjsu.edu
*****************************************************************************
This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 10:19:48 MDT