Natgrid(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– Natgrid β€” the NCAR GRAPHICS era πŸ’–

okay bestie, sit down, hydrate, and let me tell you about Natgrid, a whole package from the NCAR GRAPHICS manual (3NCARG, if we're being precise, and we ARE). it does one thing and it does it gorgeously: gridding 2D randomly-spaced data using a natural neighbor algorithm. ✨

and the way it's built?? single precision AND double precision interfaces exist in BOTH Fortran and C. equal opportunity icon behavior. no cap. πŸ‘‘


🌸 NAME 🌸

Natgrid is a package for gridding 2D randomly-spaced data using a natural neighbor algorithm. Single precison and double precision interfaces exist in both Fortran and C.

(yes, "precison" β€” that's exactly how it's spelled in the original and I am NOT touching it, it's part of the lore now 🫢)

πŸ¦‹ 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)

heads up bestie: double precision Fortran is not supported on UNICOS. if you're on UNICOS, that door is locked, fr fr. 🚫
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 ✨

wanna use the Natgrid entries? then load the NCAR Graphics library ngmath. that's the vibe check, that's the entry fee, that's it. πŸ’…


πŸŽ€ SEE ALSO πŸŽ€

  • the Individual entries
  • natgrid_params
  • natgrid_errors

and if you want the FULL lore, the complete documentation for Natgrid lives at this URL, exactly as written:

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

oh and also?? there's an NCL (NCAR Command Language) interface for Natgrid procedures too. she contains multitudes. 🌸


Copyright (C) 2000
University Corporation for Atmospheric Research

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

legal bestie moment: the use of this Software is governed by a License Agreement. read it, love it, respect it. πŸ“œ

and that's the whole page, babe. Natgrid, from the UNIX manual, March 1997-1998, NCAR GRAPHICS, Natgrid(3NCARG). she's been iconic since the 90s and she's still serving. go grid some randomly-spaced data, you absolute main character. πŸ’–βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from