GOPKS(3NCARG)
π 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 unit6. that's the standard move. β¨BUFAβ (Input, Integer) β the dimension of an internal buffer. and now for the tea: currently in NCAR GKS-0A,BUFAis 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:
gopwkgacwkgdawkgclwkgclksguwkopngksclsgksgopen_gks
Hardcopy:
- User's Guide for NCAR GKS-0A Graphics
- NCAR Graphics Fundamentals, UNIX Version
Β©οΈ COPYRIGHT Β©οΈ
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 theGOPKSβGOPWKβGACWKpipeline is non-negotiable unless you're living that CGM-onlyOPNGKSlife π
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
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms