CONRAS(3NCARG)
β¨ CONRAS β¨
okay bestie, sit down, hydrate, because we're talking about CONRAS from the NCAR GRAPHICS manual (3NCARG, iykyk). she draws a two dimensional contour map from irregularly distributed data, and she is literally the super version of the Conran_family. main character energy fr fr π
π STATUS π
ngl, CONRAS is approaching obsolescence. not me being the bearer of bad news π
so here's the tea: if you've already got an interpolation package that can do a random-to-gridded interpolation equal to the one built into the Conran_family, then the recommendation is that you grid your dataset and use the Conpack utility instead. that's the move. π
go peek at the conpack and conpack_params man pages, plus the NCAR Graphics Contouring and Mapping Tutorial. they got you. π«Ά
π SYNOPSIS π
CONRAS (XD,YD,ZD,NDP,WK,IWK,SCRARR)
π DESCRIPTION π
here's every single argument, no skips, no shortcuts, because we don't do that here:
XDβ Input, real array β dimensionNDP, 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. πNDPβ Input, integer β the number of data points to be contoured. and listen:NDPmust be 4 or larger. that's the floor, bestie, no going under it. π§WKβ Input, real array β workspace of dimension15*NDP. π§ΊIWKβ Input, integer array β workspace which must be dimensioned at leastIWK((27+NCP)*NDP).
okay so the parameter NCP controls the number of data points to be used in the interpolation. increasing NCP causes more of the surrounding data to influence the point of interpolation. (the way that works is so cute actually πΈ)
- in the case of linear interpolation,
NCPis always4. - in the case of C1 interpolation,
NCPcan vary from2to25, with4as the default.
the interpolation option is selected using the parameter ITP. see the conran_family_params man page for a description of all internal parameters. π§
SCRARRβ real work array of dimension at least(RESOLUTION**2)whereRESOLUTIONis40by default. π
alternate resolutions are set using the parameter SSZ. see the conran_family_params man page. β¨
π USAGE π
the contours will be drawn as smoothed dashed or solid lines using splines under tension. yes, tension. she's dramatic, she's elegant, she ate. π₯
there may be characters along the lines. crowded contour lines may be thinned. and many other options are available through the use of internal parameters β see the conran_family_params man page for the whole menu. π
also!! quick and standard-and-smooth versions of the Conran_family are available too, through the entries CONRAQ and CONRAN, respectively. so you got options, bestie. π
π¦ EXAMPLES π¦
use the ncargex command to see the relevant example tconas. go look, it's giving tutorial. β¨
π ACCESS π
to use CONRAS, load the NCAR Graphics libraries conras, dashsupr, ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters, don't fight it. π
β οΈ heads up: theconrasanddashsuprlibraries are not loaded as part of the normal NCAR Graphics installation. you can load them by the user directly, or loaded implicitly through the use of the-superoption of thencargf77command.
SUPER β Command:
ncargf77 -super mycode.f
π MESSAGES π
see the conran_family man page for a description of all Conran_family error messages and/or informational messages. she'll tell you what went wrong, gently. π
π SEE ALSO π
Online: conraq, conran, 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 was the CONRAS(3NCARG) entry from the UNIX manual, dated March 1993 β yeah, she's vintage, and vintage is iconic. 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