CONRAN(3NCARG)
π CONRAN π
okay bestie, pull up a chair, we're talking CONRAN from NCAR GRAPHICS (that's the 3NCARG corner of the manual, iykyk) β and she draws a two dimensional contour map from irregularly distributed data. and the contour lines? they may be smoothed. slay. β¨
πΈ NAME πΈ
CONRAN β draws a two dimensional contour map from irregularly distributed data. The contour lines may be smoothed. π¦
β οΈ STATUS β οΈ
ngl, CONRAN is approaching obsolescence. not me delivering bad news first thing π
So like β if you happen to have an interpolation package lying around that can do a random to gridded interpolation equal to the one built into the Conran_family, then the recommendation is: grid your dataset and use the Conpack utility instead. fr fr.
Go read the conpack and conpack_params man pages, plus the NCAR Graphics Contouring and Mapping Tutorial. the lore is all there π
π§ UTILITY π§
This routine is part of the Conran_family in NCAR Graphics. To see the overview man page for this utility, type:
man conran_family
β¨ SYNOPSIS β¨
CONRAN (XD,YD,ZD,NDP,WK,IWK,SCRARR)
π DESCRIPTION π
okay here's the cast of characters, one by one, no skips:
XDβ Input, real array β of dimensionNDPcontaining the X coordinates of the data points. πYDβ Input, real array β of dimensionNDPcontaining the Y coordinates of the data points.ZDβ Input, real array β of dimensionNDPcontaining the data values at the points. this is the main character honestly.NDPβ Input, integer β is the number of data points to be contoured.NDPmust be 4 or larger. π¨WKβ Input, real array β workspace of dimension15*NDP.IWKβ Input, integer array β workspace which must be dimensioned at leastIWK((27+NCP)*NDP).- The parameter
NCPcontrols the number of data points to be used in the interpolation. IncreasingNCPcauses more of the surrounding data to influence the point of interpolation. In the case of linear interpolationNCPis always4. In the case of C1 interpolation,NCPcan vary from2to25with4as the default. - The interpolation option is selected using parameter
ITP. See theconran_family_paramsman page for a description of all internal parameters. π
- The parameter
SCRARRβ Real work array of dimension at least(RESOLUTION**2)whereRESOLUTIONis40by default.- Alternate resolutions are set using parameter
SSZ. See theconran_family_paramsman page.
- Alternate resolutions are set using parameter
π USAGE π
The contours will be drawn as smoothed dashed or solid lines using splines under tension. There may be characters along the lines. π and like, SO many other options are available through the use of internal parameters β see the conran_family_params man page for the whole menu.
Quick and super versions of the Conran_family are also available through entries CONRAQ and CONRAS, respectively. yes bestie, they made variants. iconic behaviour. π₯
π EXAMPLES π
Use the ncargex command to see the relevant example tconan. π«Ά
π¦ ACCESS π¦
CONRAN can be invoked in two different ways. choose your fighter:
- The standard version produces contour plots which connect interpolated values on the boundary of the interpolation triangles.
- The smooth version produces contours which are smoothed using splines under tension.
To use standard CONRAN, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, don't be chaotic about it π
To run the smooth option an additional library, dashsmth, is needed. It can be loaded by the user directly, along with the above three standard libraries, or loaded implicitly through the use of the -smooth option of the ncargf77 command.
To run a code called mycode.f which has one or more calls to entry CONRAN, issue one of the commands:
NORMAL β Command:
ncargf77 mycode.f
The contours will be drawn as unsmoothed dashed or solid lines that can include characters along the lines.
SMOOTH β Command:
ncargf77 -smooth mycode.f
The contours will be drawn as smoothed dashed or solid lines that can include characters along the lines.
π MESSAGES π
See the conran_family man page for a description of all Conran_family error messages and/or informational messages. if something screams at you, that's where the translation lives.
β SEE ALSO β
- Online:
conraq,conras,conran_family_params,conran_family,conop1,conop2,conop3,conop4,conpack,conpack_params,bivar,dashline_family,ncargf77 - Hardcopy: NCAR Graphics Contouring and Mapping Tutorial; NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
π 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 vibe check, bestie π«Ά this was the UNIX flavour, dated March 1993, filed under CONRAN(3NCARG). go draw something pretty. 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