NNPNTS(3NCARG)

✨ NNPNTS ✨ β€” it's giving "interpolate at ONE point" 🎯

okay bestie, welcome to the NCAR GRAPHICS corner of the manual, section 3NCARG πŸ’… this one's a lil Fortran subroutine and she is so specific about what she does: she interpolates at a single point. not two, not a grid, not a vibe β€” one point. periodt. 🫢


🌸 NAME 🌸

NNPNTS β€” Interpolate at a single point πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL NNPNTS (X, Y, Z)

that's it. that's the whole call. three args, no cap. ✨


πŸ’– DESCRIPTION πŸ’–

here's the tea on the arguments, bestie β€” every single one, no skips πŸ“

  • X β€” (Real, Input) β€” the X coordinate of the point where interpolation is desired. it's giving "where am I on the X axis, queen?" πŸ“
  • Y β€” (Real, Input) β€” the Y coordinate of the point where interpolation is desired. same energy, but Y. vertical slay. πŸ“
  • Z β€” (Real, Output) β€” the interpolated functional value at the point (X,Y). she doesn't come in with a value, she leaves with one. icon behavior. πŸ‘‘

🌈 USAGE 🌈

so when do you even call her? literally when you want to interpolate at an individual point. that's the whole moment. πŸ’«

but bestie, LISTEN β€” the order matters, fr fr:

🚨 NNPNTINITS must be called prior to calling NNPNTS. do not skip this. do not pass go. do not collect $200. 😭
🚨 and when you're done doing your single-point thing, NNPNTEND must be called to terminate single point mode. you can't just ghost her. πŸ™ˆ

so the whole ritual is: NNPNTINITS β†’ NNPNTS (as many times as your heart desires) β†’ NNPNTEND. main character energy from start to finish. πŸ‘‘


πŸ’œ ACCESS πŸ’œ

to use NNPNTS, load the NCAR Graphics library ngmath. that's the one. go get her. 🧚


⭐ SEE ALSO ⭐

the whole friend group, in alphabetical-ish order:

  • natgrid
  • natgrid_params
  • natgrids
  • nnpntinits
  • nnpntend

also!! complete documentation for Natgrid is available at this URL, iykyk:

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

Copyright (C) 2000 University Corporation for Atmospheric Research

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

ngl bestie, read the License Agreement. it's literally governing the use of this Software. respect the paperwork. πŸ’…

and that's the whole page!! this came to you from the UNIX manual, NNPNTS(3NCARG), dated March 1997-1998 β€” a certified vintage baddie from the NCAR GRAPHICS era. interpolate responsibly, call NNPNTEND, and stay iconic. bye bestie!! πŸ’–βœ¨πŸ¦‹πŸŽ€