DSPNT2S(3NCARG)

✨ DSPNT2S ✨

okay bestie, welcome to the NCAR GRAPHICS section of the manual, and today's main character is DSPNT2S πŸ’… she interpolates at a single point (or a whole lil squad of points) in 2D, and she does it in single precision πŸŽ€


🌸 NAME 🌸

DSPNT2S β€” interpolate at a single point (or points) in 2D, in single precision. no cap, that's the whole job description 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

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

that's it, that's the summoning circle ✨


πŸ’– DESCRIPTION πŸ’–

okay so here's the tea on every single argument, and I mean every single one, we are not skipping anybody 🫢

  • N (Integer, Input) β€” the number of input data points. how many besties you're bringing to the function party πŸ’ƒ
  • X (Real, Input) β€” an array holding the X coordinates of the input data points πŸ“
  • Y (Real, Input) β€” an array holding the Y coordinates of the input data points πŸ“
  • Z (Real, Input) β€” an array holding the functional values of the input data points. like, Z(L) is the value of the input function at coordinate (X(L),Y(L)), for L=1,N. so each point knows its own vibe ✨
  • M (Integer, Input) β€” the number of output data points, and yes this may be "1". one single point is a totally valid lifestyle πŸ™ˆ
  • XO (Real, Input) β€” an array of dimension M holding the X coordinates of the output data. the values in XO may be in any order β€” she does not care, she's chill like that 🌈
  • YO (Real, Input) β€” an array of dimension M holding the Y coordinates of the output data. the values in YO may be in any order too, same energy, zero judgment πŸ’œ
  • ZO (Real, Output) β€” an array of dimension M holding the interpolated values. ZO(I) is the interpolated value at point (XO(I),YO(I)) for I=1,M. this is the payoff, the reveal, the moment πŸ’–
  • IER (Integer, Output) β€” the error return value. if IER comes back as 0, then no errors were detected, slay πŸŽ‰ if IER is non-zero, then go read the man page for dsgrid_errors for the details. fr fr, don't ignore her πŸ‘€

🧚 USAGE 🧚

you call this subroutine when you want to interpolate at an individual point or points. like, you have a specific spot in mind and you want the answer for exactly that spot. main character energy πŸŽ€


πŸ‘‘ ACCESS πŸ‘‘

to use DSPNT2S, load the NCAR Graphics library ngmath. that's the whole ritual, no secret handshake required ✨


πŸ”₯ 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.

bestie this is real legal text, don't get cute with it β€” it says exactly what it says 🫢

and that's the page!! this one came from UNIX, dated September 1997-1998, and it's DSPNT2S(3NCARG) if you ever need to cite her by name πŸ’… mwah, go interpolate something gorgeous πŸ’–βœ¨