CONRAQ(3NCARG)
π CONRAQ β bestie edition π
okay so this is a page from the NCAR GRAPHICS manual, and it's all about CONRAQ, living in section 3NCARG. buckle up π
β¨ NAME β¨
CONRAQ β draws a two dimensional contour map from irregularly distributed data. it's the small quick version of the Conran_family π
and lowkey it also has the fewest available number of options. minimalist queen π
β οΈ STATUS β οΈ
okay bestie, real talk: CONRAQ is approaching obsolescence. π
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 yourself and use the Conpack utility instead. periodt.
go read the conpack and conpack_family_params man pages, plus the NCAR Graphics Contouring and Mapping Tutorial. iykyk π
π«Ά SYNOPSIS π«Ά
CONRAQ (XD,YD,ZD,NDP,WK,IWK)
πΈ DESCRIPTION πΈ
here's the whole squad of arguments, no skips, no cuts:
XDβ Input, real array. dimensionNDP, and it's holding the X coordinates of the data points. πYDβ Input, real array. dimensionNDP, holding the Y coordinates of the data points.ZDβ Input, real array. dimensionNDP, holding the data values at the points. the actual tea βNDPβ Input, integer. it's the number of data points to be contoured. and bestie,NDPmust be 4 or larger β no tiny datasets allowed π ββοΈWKβ Input, real array. workspace of dimension15*NDP.IWKβ Input, integer array. workspace which must be dimensioned at leastIWK((27+NCP)*NDP).
now about that NCP in the IWK sizing β it's a parameter that controls the number of data points to be used in the interpolation. bumping NCP up means more of the surrounding data gets to influence the point of interpolation. very "the whole group chat is weighing in" energy π£οΈ
- in the case of linear interpolation,
NCPis always4. - in the case of C1 interpolation,
NCPcan vary from2to25, with4as the default.
the interpolation option itself gets selected using the parameter ITP. for a full description of all internal parameters, go see the conran_family_params man page. π§
π USAGE π
heads up: contour lines are not smoothed or thinned, but a number of options are available through the use of internal parameters. again: see the conran_family_params man page. π₯
also, super and standard-and-smooth versions of the Conran_family are available through the entries CONRAS and CONRAN, respectively. so like, CONRAQ is the quick one, CONRAN is the standard-and-smooth one, CONRAS is the super one. a whole family, iconic π
π EXAMPLES π
use the ncargex command to see the relevant example tconaq. go look, it's right there β¨
π ACCESS π
to use CONRAQ, load the NCAR Graphics libraries conraq, ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters, bestie, trust π«Ά
important detail: the special conraq library is not loaded as part of the normal NCAR Graphics installation. you can load it yourself directly, along with the above three standard libraries, or you can load it implicitly through the use of the -quick option of the ncargf77 command.
QUICK β Command: "ncargf77 -quick mycode.f"
look at that, one flag and you're slaying π
π¬ MESSAGES π¬
see the conran_family man page for a description of all Conran_family error messages and/or informational messages. everything that could possibly yell at you lives over there π’
π SEE ALSO π
Online: conran, 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 page, bestie π this one's from the UNIX manual, dated March 1993, and it's page CONRAQ(3NCARG) of the NCAR GRAPHICS set. mwah, go contour something pretty πβ¨π¦
π¦ 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