DSPNT2D(3NCARG)
π DSPNT2D π
okay bestie, welcome to DSPNT2D, a lil subroutine from the NCAR GRAPHICS manual (section 3NCARG, iykyk). it does one job and it does it gorgeously: interpolate at a single point (or a whole lil squad of points) in 2D, but make it double precision β¨
πΈ NAME πΈ
DSPNT2D β Interpolate at a single point (or points) in 2D in double precision π
β¨ SYNOPSIS β¨
CALL DSPNT2D (N, X, Y, Z, M, XO, YO, ZO, IER)
π DESCRIPTION π
okay so here's the whole cast of characters, no skips, no skimming, we're doing this properly π«Ά
Nβ (Integer, Input) β The number of input data points. that's how many lil data guys you're feeding in.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. That is,Z(L)is the value of the input function at coordinate(X(L),Y(L)), forL=1,N. so likeβ¦ the vibes at each spot, numerically speaking πMβ (Integer, Input) β The number of output data points (this may be"1"). yes literally just one is allowed, it's giving solo mission energy.XOβ (Double precision, Input) β An array of dimensionMcontaining the X coordinates of the output data. The values inXOmay be in any order. no sorting required, she's chill like that πYOβ (Double precision, Input) β An array of dimensionMcontaining the Y coordinates of the output data. The values inYOmay be in any order. same energy, zero judgement.ZOβ (Double precision, Output) β An array of dimensionMcontaining the interpolated values.ZO(I)is the interpolated value at point(XO(I),YO(I))forI=1,M. this is the moment, the payoff, the main character reveal πIERβ (Integer, Output) β An error return value. IfIERis returned as0, then no errors were detected. IfIERis non-zero, then refer to the man page fordsgrid_errorsfor details. so if it comes back as0we're thriving, and if it doesn'tβ¦ go readdsgrid_errors, bestie, it has the lore π
π« USAGE π«
This subroutine is called when you want to interpolate at an individual point or points. like, one point. or several. your call, queen π§
π₯ ACCESS π₯
To use DSPNT2D, load the NCAR Graphics library ngmath. that's the whole thing, go get her β
π¦ SEE ALSO π¦
dsgriddsgrid_params
Complete documentation for Dsgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html β go read it, it's a whole saga, lowkey iconic π
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the tea, fr fr πΈ this page came to you from the UNIX corner of the manual, dated September 1997-1998, filed under DSPNT2D(3NCARG) β mwah, take care of her, she's precious ππ
π¦ 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