nnalg(1NCARG)

✨ NAME ✨

nnalg β€” it's giving Natgrid algorithm feature reveal, bestie πŸ’… a whole tool for showing off the features of the Natgrid algorithm. (Also it lives in the 1NCARG manual, if you were wondering where we are rn.)


🌸 SYNOPSIS 🌸

nnalg algorithmic_data_file

πŸ’– DESCRIPTION πŸ’–

Okay so nnalg takes exactly one argument, no more no less, and that argument is the name of a special file πŸ“„ β€” one that gets created by the Fortran subroutine NATGRIDS or the C function c_natgrids in the Natgrid package. That file is stuffed with data that's perfect for displaying all sorts of features of the Natgrid algorithm.

And like… here's the tea πŸ«–: by default, this file is not created. Nope. Not happening. If you want it, you have to set the parameter adf in the Natgrid package. And if you're feeling spicy and want a different filename than the default, you can override it with the parameter alg β€” because the default file name is nnalg.dat.

To invoke nnalg, literally just type:

nnalg data_file

Then, by editing the data file, you have so many options about what gets displayed and what the plot actually looks like. You're the main character of your own plot here πŸ‘‘.

The features that can be displayed are:

  1. The input data points
  2. The natural neighbor circumcircles
  3. The Delaunay triangulation, derived from the natural neighbor circumcircles
  4. The Voronoi polygons
  5. The first order natural neighbors of a given input point (or points)
  6. The second order natural neighbors of a given input point (or points)

The first four items in the above list are displayed in the default case. Slay ✨ that's the starter pack.


πŸŽ€ USAGE πŸŽ€

What gets displayed by nnalg depends on values in the input data file, which can be changed by manual editing. Yes bestie, you literally open the file and edit it with your own two hands. Iconic behavior honestly.


πŸ¦‹ SEE ALSO πŸ¦‹

  • natgrid

Complete documentation for nnalg is available at URL

http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/algorithm.html

Copyright (C) 2000 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.


ngl but this page is from March 1997-1998, on UNIX, and it's nnalg(1NCARG) under NCAR GRAPHICS. That's the whole vibe check πŸ’… no cap, go read the docs fr fr 🫢 🌈