DSPNT3D(3NCARG)
π DSPNT3D β the 3D single-point interpolator (NCAR Graphics, 3NCARG) π
okay bestie, sit down, hydrate, because we're about to talk about DSPNT3D β the Fortran routine that interpolates at one single point (or a whole little squad of points) in 3D, and it does it all in double precision because we are not doing sloppy floats in this house. π
β¨ NAME β¨
DSPNT3D</purl> β Interpolate at a single point (or points) in 3D in double precision.
β¨ SYNOPSIS β¨
CALL DSPNT3D (N, X, Y, Z, U, M, XO, YO, ZO, UO, IER)
β¨ DESCRIPTION β¨
okay so here's the whole cast, and yes, they all get their own intro because they earned it:
Nβ (Integer, Input) β The number of input data points.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 Z coordinates of the input data points.Uβ (Double precision, Input) β An array containing the functional values of the input data points. That is,U(L)is the value of the input function at coordinate(X(L),Y(L),Z(L)), forL=1,N.Mβ (Integer, Input) β The number of output data points (this may be"1").XOβ (Double precision, Input) β An array of dimensionMcontaining the X coordinates of the output data. The values inXOmay be in any order.YOβ (Double precision, Input) β An array of dimensionMcontaining the Y coordinates of the output data. The values inYOmay be in any order.ZOβ (Double precision, Input) β An array of dimensionMcontaining the Z coordinates of the output data. The values inZOmay be in any order.UOβ (Double precision, output) β An array of dimensionMcontaining the interpolated values.UO(I)is the interpolated value at point(XO(I),YO(I),ZO(I))forI=1,M.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. π¨
ngl theIERcheck is the vibe check of this whole routine.0= we slayed. non-zero = go readdsgrid_errors, bestie, it's giving diagnostics.
β¨ USAGE β¨
This subroutine is called when you want to interpolate at an individual point or points. π―
β¨ ACCESS β¨
To use DSPNT3D, load the NCAR Graphics library ngmath. π«Ά
β¨ 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.
and that's the whole page, periodt π This was DSPNT3D(3NCARG) from the NCAR GRAPHICS manual, in the UNIX manual set β that version is dated September 1997-1998. go interpolate something iconic, you got this πβ¨
π¦ 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