SFSETR(3NCARG)
π SFSETR β the NCAR Graphics girlies' guide π
okay so bestie, welcome to SFSETR from the NCAR Graphics manual, section 3NCARG. This is the one where you get to set stuff. Real stuff. Floats. Numbers. Periodt. β¨
β¨ NAME β¨
SFSETR β the little routine you call when you wanna set the current real value of a specified internal parameter. That's it. That's the whole job. She's simple, she's iconic, she does one thing and she does it flawlessly. π
β¨ SYNOPSIS β¨
CALL SFSETR (CNP, RVP)
β¨ C-BINDING SYNOPSIS β¨
For the C girlies π«Ά (yes you can have her too):
#include <ncarg/ncargC.h>
void c_sfsetr (char *cnp, float rvp)
β¨ DESCRIPTION β¨
CNPβ an input expression of typeCHARACTER. She's gotta be one of these strings:'AN','CH','DO','SP', or'TY'β or honestly a longer string that just begins with one of them, because she's flexible like that. What do they mean? Let me translate:'AN'β "ANgle" π'CH'β "CHaracter" π€'DO'β "DOts" β«'SP'β "SPacing" βοΈ'TY'β "TYpe" π·οΈ
RVPβ an input expression of typeREAL. This is the new value you want for whatever parameterCNPpicked out. She'll be used until the next call resets her β so no, she's not forever, she's for now, and that's valid. π And listen: if the internal parameter is inherently of typeINTEGER, then the valueINT(RVP)is what actually gets handed over. So your float gets chopped down to an int. Not me being dramatic, that's literally what the docs say. π
β¨ C-BINDING DESCRIPTION β¨
The C-binding argument descriptions? Same as the FORTRAN argument descriptions. Copy-paste energy, but make it official. No cap. β¨
β¨ USAGE β¨
This routine is your girl for setting the current value of Softfill parameters. π
Wanna see the complete list of parameters available in this utility? Go read the softfill_params man page. She's got the whole menu. π
β¨ EXAMPLES β¨
Use the ncargex command to see the following relevant examples, and yes, I'm listing every single one because we don't skip:
ccpscamcmptitagex12cpex01cpex02cpex03cpex04cpex05sfex01vvex01tsoftffsfwrld
β¨ ACCESS β¨
To use SFSETR or c_sfsetr, you gotta load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and preferably in that order. Order matters, bestie. Don't be chaotic. π
β¨ MESSAGES β¨
Curious about Softfill error messages and/or informational messages? πΈ Head over to the softfill man page β she's got the whole description. π
β¨ SEE ALSO β¨
Online: softfill, softfill_params, sfgetc, sfgeti, sfgetp, sfgetr, sfsetc, sfseti, sfsetp, sfsgfa, sfwrld, ncarg_cbind
Hardcopy: 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.
β οΈ real talk β that License Agreement is not a vibe, it's a requirement. Respect it. π
okay that's the whole page, you ate that π π This was the UNIX version from March 1993 β yes, she's an elder but she's still serving, and honestly? main character energy. bye bestie, go set some reals. ππβ¨
π¦ 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