GOPKS(3NCARG)
GOPKS(3NCARG) π
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, this is gopks, and she is literally the opening act β the girl who opens the GKS package for you. no cap.
β¨ NAME β¨
gopks β opens the GKS package π
β¨ SYNOPSIS β¨
CALL GOPKS (ERRFIL, BUFA)
β¨ C-BINDING SYNOPSIS β¨
like, for the C girlies π«Ά
#include <ncarg/gks.h>
void gopen_gks(const char *err_file, size_t mem_unit);
β¨ DESCRIPTION β¨
ERRFILβ (Input, Integer) β the Fortran unit number where your error messages are gonna get written. typically you want this to be unit6. that's the vibe. πBUFAβ (Input, Integer) β the dimension of an internal buffer. and here's the tea β: currently in NCAR GKS-0A,BUFAis ignored. like she's there, she's invited, but she's not doing anything. iconic of her honestly.
β¨ USAGE β¨
so to get output to any workstation, you gotta call these three in this exact order, no skipping, no shuffling:
GOPKSGOPWKGACWK
order matters bestie, do NOT freestyle this π
BUT β and this is the plot twist πΈ β if your job is producing only CGM output, you can replace all three of those calls (GOPKS, GOPWK, GACWK) with a single call to the SPPS function OPNGKS. one call instead of three. lowkey efficient. ate. β¨
β¨ ACCESS β¨
to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. that's the key to the whole kingdom, fr fr. π
β¨ 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
like go read the whole friend group, they all link up π¦
β¨ COPYRIGHT β¨
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement. π
and that's the whole page, bestie β this was the UNIX version, dated March 1993, and yeah the source is literally GOPKS(3NCARG). go open that GKS package, you're the main character now ππ
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms