DSPNT2D(3NCARG)

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

πŸ’– DSPNT2D πŸ’–

okay so bestie, welcome to the NCARG manual page for DSPNT2D β€” yes that's the one, from the NCAR Graphics corner of the universe, and no it is not a drill. πŸ¦‹


✨ NAME ✨

DSPNT2D β€” interpolate at a single point (or points) in 2D, in double precision πŸ’…

Like. She does interpolation. At one point. Or many points. In TWO D. And she does it in double precision, because she's that girl. πŸ‘‘


✨ SYNOPSIS ✨

CALL DSPNT2D (N, X, Y, Z, M, XO, YO, ZO, IER)

That's the whole vibe. Nine arguments. She's a Fortran CALL, she's uppercase, she's iconic. πŸŽ€


✨ DESCRIPTION ✨

Okay so here's the tea on every single one of these arguments, and I mean every one, no skips, no skimming, we are reading the whole group chat 🫢

  • N β€” (Integer, Input) β€” the number of input data points. Literally how many points you're feeding her. 🌸
  • X β€” (Double precision, Input) β€” an array containing the X coordinates of the input data points. πŸ“
  • Y β€” (Double precision, Input) β€” an array containing the Y coordinates of the input data points. πŸ“
  • Z β€” (Double precision, Input) β€” an array containing the functional values of the input data points. So like, Z(L) is the value of the input function at coordinate (X(L),Y(L)), for L=1,N. She's mapping each point to its value, periodt. ⭐
  • M β€” (Integer, Input) β€” the number of output data points. And yes bestie, this may be "1". One (1). Single. Solo. Main character energy. πŸ’…
  • XO β€” (Double precision, Input) β€” an array of dimension M containing the X coordinates of the output data. The values in XO may be in any order. No sorting, no lining up, no being normal about it. πŸ™ˆ
  • YO β€” (Double precision, Input) β€” an array of dimension M containing the Y coordinates of the output data. Same deal: the values in YO may be in any order. Chaos is welcome here. πŸ’œ
  • ZO β€” (Double precision, Output) β€” an array of dimension M containing the interpolated values. So ZO(I) is the interpolated value at point (XO(I),YO(I)) for I=1,M. This is the payoff. This is the moment. ✨
  • IER β€” (Integer, Output) β€” an error return value. If IER comes back as 0, then no errors were detected β€” slay, we love a clean run. 🌈 If IER is non-zero, then refer to the man page for dsgrid_errors for details. Go read that one, she has the receipts. 😭

✨ USAGE ✨

You call this subroutine when you want to interpolate at an individual point or points. That's it. That's the whole use case. One point, or a bunch of points, she doesn't mind. 🧚


✨ ACCESS ✨

To use DSPNT2D, load the NCAR Graphics library ngmath. Gotta have the right library loaded or she simply will not show up. πŸ’€


✨ SEE ALSO ✨

  • dsgrid
  • dsgrid_params

Complete documentation for Dsgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html πŸ”₯


Copyright (C) 2000 University Corporation for Atmospheric Research

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

Real talk bestie: that license line is not a vibe, it's a rule. Read it, respect it. 🫢

and that's the whole page, no cap. she's a UNIX man page from September 1997-1998, DSPNT2D(3NCARG) in the building, and she ate. πŸ’–βœ¨πŸŽ€ bye bestie, go interpolate something πŸŒΈπŸ¦‹πŸ’…

πŸ“¦ where this page comes from