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:
- The input data points
- The natural neighbor circumcircles
- The Delaunay triangulation, derived from the natural neighbor circumcircles
- The Voronoi polygons
- The first order natural neighbors of a given input point (or points)
- 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 π
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 π«Ά π
π¦ where this page comes from
- debian bookworm: ncl-ncarg 6.6.2.dfsg.1-1
- debian trixie: ncl-ncarg 6.6.2.dfsg.1-10+b2
- ubuntu jammy: ncl-ncarg 6.6.2-10build2
- ubuntu questing: ncl-ncarg 6.6.2.dfsg.1-10build2
- ubuntu resolute: ncl-ncarg 6.6.2.dfsg.1-12
- ubuntu stonking: ncl-ncarg 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