Natgrid(3NCARG)

πŸ’– Natgrid (3NCARG) πŸ’–

okay bestie, sit down, because this one is a whole package and I am obsessed. this is the Natgrid man page from NCAR GRAPHICS, and it's basically a package for gridding 2D randomly-spaced data using a natural neighbor algorithm. say it with me: natural neighbor algorithm. iconic. ✨

and guess what β€” there's single precision and double precision interfaces, in both Fortran and C. so many flavors, all of them yours. πŸ’…


✨ NAME ✨

Natgrid β€” a package for gridding 2D randomly-spaced data using a natural neighbor algorithm. Single precision and double precision interfaces exist in both Fortran and C. πŸ¦‹


🌸 SYNOPSIS 🌸

πŸ’œ FORTRAN single precision

  • NATGRIDS β€” primary function for gridding.
  • NNSETI β€” set INTEGER parameter values.
  • NNGETI β€” retrieve values for INTEGER parameters.
  • NNSETR β€” set REAL parameter values.
  • NNGETR β€” retrieve values for REAL parameters.
  • NNSETC β€” set CHARACTER valued parameters.
  • NNGETC β€” retrieve values for CHARACTER parameters.
  • NNGETSLOPES β€” get slope values, if calculated.
  • NNGETASPECTS β€” get aspect values, if calculated.
  • NNPNTINITS β€” initiate single point mode.
  • NNPNTS β€” interpolate at a single point.
  • NNPNTEND β€” terminate single point mode.

πŸ’œ Fortran double precision (not supported on UNICOS)

bestie, heads up: UNICOS is not invited to this party. 🚫
  • NATGRIDD β€” primary function for gridding.
  • NNSETI β€” set INTEGER parameter values.
  • NNGETI β€” retrieve values for INTEGER parameters.
  • NNSETRD β€” set DOUBLE PRECISION parameter values.
  • NNGETRD β€” retrieve DOUBLE PRECISION parameters.
  • NNSETC β€” set CHARACTER valued parameters.
  • NNGETC β€” retrieve values for CHARACTER parameters.
  • NNGETSLOPED β€” get slope values, if calculated.
  • NNGETASPECTD β€” get aspect values, if calculated.
  • NNPNTINITD β€” initiate single point mode.
  • NNPNTD β€” interpolate at a single point.
  • NNPNTENDD β€” terminate single point mode.

πŸ’™ C single precision

  • c_natgrids β€” primary function for gridding.
  • c_nnseti β€” set int parameter values.
  • c_nngeti β€” retrieve values for int parameters.
  • c_nnsetr β€” set float parameter values.
  • c_nngetr β€” retrieve values for float parameters.
  • c_nnsetc β€” set char valued parameters.
  • c_nngetc β€” retrieve values for char parameters.
  • c_nngetslopes β€” get slope values, if calculated.
  • c_nngetaspects β€” get aspect values, if calculated.
  • c_nnpntinits β€” initiate single point mode.
  • c_nnpnts β€” interpolate at a single point.
  • c_nnpntend β€” terminate single point mode.

πŸ’™ C double precision

  • c_natgridd β€” primary function for gridding.
  • c_nnseti β€” set int parameter values.
  • c_nngeti β€” retrieve values for int parameters.
  • c_nnsetrd β€” set double parameter values.
  • c_nngetrd β€” retrieve values for double parameters.
  • c_nnsetc β€” set char valued parameters.
  • c_nngetc β€” retrieve values for char parameters.
  • c_nngetsloped β€” get slope values, if calculated.
  • c_nngetaspectd β€” get aspect values, if calculated.
  • c_nnpntinitd β€” initiate single point mode.
  • c_nnpntd β€” interpolate at a single point.
  • c_nnpntendd β€” terminate single point mode.

πŸŽ€ ACCESS πŸŽ€

to use Natgrid entries, load the NCAR Graphics library ngmath. that's it, that's the whole vibe check. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

  • Individual entries
  • natgrid_params
  • natgrid_errors

Complete documentation for Natgrid is available at this URL, bestie, go read it:

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

Also, an NCL (NCAR Command Language) interface exists for Natgrid procedures. two ways to eat, same snack. πŸ“


Copyright (C) 2000
University Corporation for Atmospheric Research

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

and that's the whole page, no crumbs left πŸ’… this was the Natgrid page out of the NCAR GRAPHICS manual, last touched in March 1997-1998, and yeah it lives in the UNIX section. mwah. go grid something. πŸ’–βœ¨