GOPKS(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– GOPKS β€” Open GKS πŸ’–

okay bestie, so this is a page from the NCARG graphics manual, and it's about GOPKS β€” which is short for "Open GKS" and, true to its name, it opens the GKS package. that's the whole job. one call, and GKS is awake. iconic behavior honestly 🫢


✨ SYNOPSIS ✨

CALL GOPKS (ERRFIL, BUFA)

🌈 C-BINDING SYNOPSIS 🌈

#include <ncarg/gks.h>

void gopen_gks(const char *err_file, size_t mem_unit);

πŸŽ€ DESCRIPTION πŸŽ€

  • ERRFIL β€” (Input, Integer) β€” the Fortran unit number where error messages get written. bestie, you almost always want this to be unit 6. that's the standard move. ✨
  • BUFA β€” (Input, Integer) β€” the dimension of an internal buffer. and now for the tea: currently in NCAR GKS-0A, BUFA is ignored. it's literally just sitting there. still gotta pass it though πŸ’…

πŸ¦‹ USAGE πŸ¦‹

the way that order matters here… listen. if you want output to any workstation, you must call GOPKS, GOPWK and GACWK in that order. in. that. order. no skipping, no shuffling, periodt πŸ”₯

but if your job is only producing CGM output? then you can swap all three of those calls for a single call to the SPPS function OPNGKS. one call instead of three. we love a shortcut that's officially sanctioned πŸ“


πŸ”‘ ACCESS πŸ”‘

to use GKS routines, you load the NCAR GKS-0A library ncarg_gks. that's the vibe check you need to pass first 🧚


πŸ‘€ SEE ALSO πŸ‘€

Online:

  • gopwk
  • gacwk
  • gdawk
  • gclwk
  • gclks
  • guwk
  • opngks
  • clsgks
  • gopen_gks

Hardcopy:

  • User's Guide for NCAR GKS-0A Graphics
  • NCAR Graphics Fundamentals, UNIX Version

Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.


πŸ’œ quick reminder before you go: ERRFIL = where errors go, BUFA = ignored for now, and the GOPKS β†’ GOPWK β†’ GACWK pipeline is non-negotiable unless you're living that CGM-only OPNGKS life πŸ’–

okay that's the whole page, mwah πŸ’… this gem came out of the UNIX manual, dated March 1993, and the source page is GOPKS(3NCARG) β€” go forth and open GKS, bestie, you got this πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from