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. dimension NDP, and it's holding the X coordinates of the data points. πŸ’œ
  • YD β€” Input, real array. dimension NDP, holding the Y coordinates of the data points.
  • ZD β€” Input, real array. dimension NDP, 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, NDP must be 4 or larger β€” no tiny datasets allowed πŸ™…β€β™€οΈ
  • WK β€” Input, real array. workspace of dimension 15*NDP.
  • IWK β€” Input, integer array. workspace which must be dimensioned at least IWK((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, NCP is always 4.
  • in the case of C1 interpolation, NCP can vary from 2 to 25, with 4 as 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 (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 πŸ’–βœ¨πŸ¦‹