ARGETR(3NCARG)

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

πŸ’– ARGETR β€” the Areas parameter value grabber πŸ’–

okay so bestie, welcome to ARGETR, a lil routine from NCAR GRAPHICS (you'll see it filed under 3NCARG in the manual, iykyk) ✨


🌸 NAME 🌸

ARGETR β€” it retrieves the real value of an Areas parameter. that's it, that's the whole job, and she does it flawlessly πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

CALL ARGETR (PNAM,RVAL)

like. that's the call. short. iconic. no notes 🫢


πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

for my C girls, gays and theys:

#include <ncarg/ncargC.h>

void c_argetr (char *pnam, float *rval)

same energy, different syntax, we love to see it πŸ’œ


✨ DESCRIPTION ✨

okay so here's the tea on the arguments:

  • PNAM β€” this is an input constant or variable of type CHARACTER, and it's literally just the name of the parameter you wanna retrieve. here's the quirky part though: the character string can be any length, but only the first two characters of it will be examined. so like, go off with your long names if you want, she's only reading the first two. no cap 😭
  • RVAL β€” this is an output variable of type REAL, and it's the lil vessel that receives the desired parameter value. here's how the math works:
    • if the internal parameter is of type REAL and has the value "r", then RVAL will be given the value "r" ✨
    • if the internal parameter is of type INTEGER and has the value "i", then RVAL will be given the value "REAL(i)" β€” yes she converts, she's thoughtful like that πŸ’–

πŸ’œ C-BINDING DESCRIPTION πŸ’œ

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same facts, same vibes, just a different language to write them in 🫢


πŸ”₯ USAGE πŸ”₯

this routine lets you retrieve the current value of Areas parameters. for a complete list of the parameters available in this utility, go check out the areas_params man page β€” she's got the full menu, bestie πŸ“‹


πŸ‘‘ ACCESS πŸ‘‘

to use ARGETR or c_argetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” and preferably in that order. don't be chaotic about the order, the order matters πŸ’€


πŸ’€ MESSAGES πŸ’€

see the areas man page for a description of all Areas error messages and/or informational messages. that's where the drama lives, go read her πŸ“


🌈 SEE ALSO 🌈

Online: areas, areas_params, ardbpa, ardrln, aredam, argeti, argtai, arinam, armvam, arpram, arscam, arseti, arsetr, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial β€” yes, physical paper, retro queen behavior πŸ“š


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.

bestie pls respect the license, she's protected 🫢

okay that's the whole page!! this version came from the UNIX manual, dated March 1993 (vintage!!), and it's part of NCAR GRAPHICS β€” specifically the 3NCARG section. mwah, go retrieve some real values, you absolute main character πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from