Natgrid(3NCARG)
π 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_paramsnatgrid_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 π
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
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms