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)), forL=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 dimensionMholding the X coordinates of the output data. the values inXOmay be in any order β she does not care, she's chill like that πYO(Real, Input) β an array of dimensionMholding the Y coordinates of the output data. the values inYOmay be in any order too, same energy, zero judgment πZO(Real, Output) β an array of dimensionMholding the interpolated values.ZO(I)is the interpolated value at point(XO(I),YO(I))forI=1,M. this is the payoff, the reveal, the moment πIER(Integer, Output) β the error return value. ifIERcomes back as0, then no errors were detected, slay π ifIERis non-zero, then go read the man page fordsgrid_errorsfor 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 π₯
dsgriddsgrid_params
complete documentation for Dsgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html π
π COPYRIGHT π
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 πβ¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms