Areas_params(3NCARG)

✨ NAME ✨

okay so bestie, welcome to Areas_params β€” that's Areas_params(3NCARG) if you're being formal, and it lives in the NCAR GRAPHICS manual, section 3NCARG πŸ’…

This page briefly describes all the Areas parameters. That's it, that's the whole job 🫢


🌸 DESCRIPTION 🌸

So here's the tea: Areas currently supports nine parameters. These are mostly useful for debugging Areas problems β€” they're the little dials you poke when something's acting up πŸ™ˆ

You can grab the current values with either ARGETI or ARGETR (your choice, bestie, they're both right there).

You can reset parameter values with ARSETI or ARSETR.

⚠️ But heads up: the parameter 'DI' is retrieval only β€” you literally cannot give it a new value yourself. It's not a "you" thing, it's a "the universe said no" thing πŸ’€

The parameter descriptions show up below in alphabetical order. Each description kicks off with a line giving the parameter name and the intrinsic FORTRAN type of the parameter. Very demure, very organized ✨


  • 'AL' - Real β€” Arrowhead Length. AL says how long each arrowhead is on a debug plot made by ARDBPA. The value is read as a fraction of the width of the plotter frame. If you use a value that's less than or equal to zero, arrowheads get omitted entirely (gone, not invited). The default value is .008.
  • 'AT' - Integer β€” Arithmetic Type flag. AT lets you either specify which type of arithmetic Areas should use, or find out which type it decided to use. If you're setting it, that call should come before any other call to an Areas routine β€” except possibly one that sets the value of LC β€” and it should only be done once. If you're getting it, you'll get either the value you set or a value picked by Areas. Here's the menu:
    • < 1 β€” Areas decides what sort of arithmetic to use.
    • 1 β€” Real arithmetic is to be used.
    • 2 β€” Double-precision arithmetic is to be used.
    • 3 β€” Multiple-precision arithmetic is to be used and Areas is to choose the base value.
    • > 3 β€” Multiple-precision arithmetic is to be used and AT specifies the base value. (For example, the value 100 specifies the use of base-100 multiple-precision integer arithmetic.)

Default: 0

🚨 Note: you should use a nonzero value of AT only on the recommendation of an NCAR consultant. Like, genuinely. Don't freestyle this one, bestie 😭
  • 'AW' - Real β€” Arrowhead Width. AW says the half-width of each arrowhead on a debug plot made by ARDBPA. (ngl the page says "AL" here, but bestie, this is AW's whole personality πŸŽ€) The value is read as a fraction of the width of the plotter frame. Use a value less than or equal to zero and the arrowheads are omitted. The default value is .002.
  • 'DB' - Integer β€” DeBug-plots flag. DB lets you study the area map πŸ‘€
    • 0 β€” Debugging turned off. This is the default.
    • > 0 β€” Debugging is on. At selected break points, ARPRAM produces plots showing all edge segments in the area map that belong to the edge group with group identifier DB.
  • 'DC' - Integer β€” Debug Colors index. ARDBPA uses color indices DC+1 through DC+5 for debug-plot colors. By default, DC=100, so ARDBPA defines and uses color indices 101 through 105 🌈
  • 'DI' - Integer β€” Direction Indicator flag. The value of DI is for retrieval only and cannot be set by the user. A value returned for DI is meaningful only when the call to ARGETI that retrieves it originates from the user-written routine (dummy argument "APR") that is called by ARSCAM. When it does, it gives you info about the area whose polygonal boundary is defined by the values of APR's arguments. The two possible values of DI are:
    • 1 β€” Edge of the area is given in counterclockwise order (with the interior to the left).
    • 2 β€” Edge of the area is given in clockwise order (with the interior to the right).
  • 'ID' - Real β€” Identifier Distance. ID specifies the distance from an arrow to a left or right area identifier on a debug plot produced by ARDBPA. The value is read as a fraction of the width of the plotter frame. Use a value less than or equal to zero and area identifiers get omitted. The default value is .004.
  • 'IS' - Real β€” Identifier Size. IS specifies the size of the characters used to write an area identifier on a debug plot produced by ARDBPA. The value is read as a fraction of the width of the plotter frame. Use a value less than or equal to zero and area identifiers get omitted. The default value is .001.
  • 'LC' - Integer β€” Largest Coordinate. LC lets you specify the largest coordinate allowed in an area map. X and Y coordinates in an area map are represented by integers in the range from 0 to LC, inclusive; the default value of LC is 1000000.

The minimum value allowed for LC is 1000; attempting to set LC<1000 gives it the value 1000. The value of LC must not be greater than the largest integer on the machine on which Areas is running; its value must also be exactly representable as a real number on that machine.

A call to set the value of LC should precede any other call to an Areas routine and should only be done once.

  • 'RC' - Integer β€” Reconciling Conflicts in area-identifier information.

This is an array of 16 values, indexed by group identifier. To set all values in the array to the same value "n", use "CALL ARSETI('RC',n)"; to set just the first value in the array, use "CALL ARSETI('RC(1)',n)"; to set just the second value, use "CALL ARSETI('RC(2)',n)"; and so on. You can call ARGETI to get the value of RC(1) or RC(2) or RC(3), etc.; if you ask for the value of just RC, you will get the value of RC(1).

RC(1) is associated with edge group 1, RC(2) with edge group 2, and so on. An edge group with a group identifier greater than 16 is associated with RC(16).

When the set of possible area identifiers for a given area in a given group is contradictory, some algorithm must be used to choose an identifier for the area. The value of that element of RC that is associated with the group determines what algorithm will be used, as follows:

  • 0 β€” The default scheme: If any of the possible area identifiers is negative, use -1 as the identifier for the area. Otherwise, if none of the possible values is non-zero, use a zero identifier. Otherwise, from among the non-zero possibilities, use the one most recently seen by AREAS.
  • 1 β€” The set of possible identifiers is examined: Zeroes are ignored, negatives are treated as -1's, and the value that occurs most frequently in the resulting set is used as the identifier for the area.
  • 2 β€” Using RC = 2 is just like using RC = 1 except that zeroes are not ignored: the area identifier used is simply the one that occurs most frequently in the set of possibilities (all negatives being treated as -1's).
  • -1 β€” Using RC = -1 is just like using RC = 1 except that, if there are any negatives in the set of possible identifiers, a -1 is used.
  • -2 β€” Using RC = -2 is just like using RC = 2 except that, if there are any negatives in the set of possible identifiers, a -1 is used.

πŸ‘‘ SEE ALSO πŸ‘‘

  • Online: argeti, argetr, arseti, arsetr
  • Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


and that's a wrap, bestie 🫢 this iconic lil page is from UNIX, dated April 1995 β€” yeah, she's been slaying since before you were born, and honestly? periodt. πŸ’…βœ¨