Surface_params(3NCARG)
π NAME π
Surface_params β it's giving "the doc that briefly describes the Surface internal parameters." That's it, that's the whole job. Manual fam: NCAR GRAPHICS. π¦
β¨ DESCRIPTION β¨
Okay bestie, sit down, because this one has a plot twist: there are no parameter access routines available for the Surface utility. None. Zero. Nada. π So if you wanna set stuff, you have to go through the common blocks SRFBLK and SRFIP1 like it's 1987 (it literally is, see the copyright, iykyk).
So to get at the internal parameters, you gotta declare these common blocks for the Surface parameters in your code:
COMMON /SRFBLK/ LIMU(1024) ,LIML(1024) ,CL(41) ,NCL ,
1 LL ,FACT ,IROT ,NDRZ ,
2 NUPPER ,NRSWT ,BIGD ,UMIN ,
3 UMAX ,VMIN ,VMAX ,RZERO ,
4 IOFFP ,NSPVAL ,SPVAL ,BIGEST
COMMON /SRFIP1/ IFR ,ISTP ,IROTS ,IDRX ,
1 IDRY ,IDRZ ,IUPPER ,ISKIRT ,
2 NCLA ,THETA ,HSKIRT ,CHI ,
3 CLO ,CINC ,ISPVAL
Quick vibe check tho: not all of the variables declared above are considered user-modifiable parameters. Like, some of them are just there, existing, doing their little internal thing. π Only the user-modifiable ones get defined below, and that's the list we're about to serve.
πΈ the user-modifiable parameters πΈ
IFRβ decides whether FRAME gets called and when:-1β Call FRAME first.0β Do not call FRAME.+1β Call FRAME when done (default).
ISTPβ the stereo layout situation:-1β Draws alternating frames, slightly offset (For movies,IROTS = 0).0β Blank frame between for stereo slide (IROTS = 1) (default).+1β Both on same frame. (left picture to left side.IROTS = 0).
IROTSβ which way +Z is pointing, no cap:0β +Z in vertical plotting direction (CINE mode) (default).+1β +Z in horizontal plotting direction (COMIC mode).
IDRXβ the X lines agenda:+1β Draw lines of constant X (default).0β Do not.
IDRYβ the Y lines agenda:+1β Draw lines of constant Y (default).0β Do not.
IDRZβ the Z lines agenda (aka contour lines, main character energy):+1β Draw lines of constant Z (contour lines).0β Do not (default).
IUPPERβ which side of the surface we're showing off:+1β Draw upper side of surface.0β Draw both sides (default).-1β Draw lower side.
ISKIRTβ skirt moment:+1β Draw a skirt around the surface.BOTTOM = HSKIRT.0β Do not (default).
NCLAβ Approximate number of levels of constant Z that are drawn if levels are not specified.40is the maximum and6is the default.THETAβ The angle in radians between eyes for stereo pairs. The default is.02.HSKIRTβ Height of skirt (ifISKIRT = 1). The default is0.CHIβ Highest level of constant Z. The default is0.CLOβ Lowest level of constant Z. The default is0.CINCβ Increment between levels. The default is0.IOFFPβ Flag to control the use of the special value feature.
π¨ bestie, listen: Do not have bothIOFFP=1andISKIRT=1. Pick a lane. π
0β Feature not in use (default).+1β Feature in use. No lines are drawn to data points that are equal toSPVAL.
SPVALβ Special value used to mark unknown data whenIOFFP=1. The default is0.
π SEE ALSO π
Online: surface, ezsrfc, pwrzs, setr, srface. 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.
And that's the whole page, bestie. β¨ This was the UNIX version, dated March 1993 β yes she's vintage, yes she still ate, periodt. π π
π¦ 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