DSGRID3D(3NCARG)
π DSGRID3D β the double precision Fortran entry for 3D gridding π
okay bestie, welcome to DSGRID3D, a page from the NCAR GRAPHICS manual (that's manual section 3NCARG, for the record). It's a Fortran callable, it's double precision, and it grids in three whole dimensions. Let's get into it. π¦
β¨ SYNOPSIS β¨
CALL DSGRID3D (NPNTS, X, Y, Z, U, NUMXOUT, NUMYOUT, NUMZOUT,
XO, YO, ZO, UO, IER)
that's the whole vibe right there. one call, thirteen arguments, no cap. π
πΈ DESCRIPTION πΈ
so here's every single thing you're handing over, one by one. read carefully, she does NOT play about argument order. π
NPNTSβ (Integer, Input) β how many input data points you're bringing to the function.Xβ (Double precision, Input) β an array holding the X coordinates of your input data points.Yβ (Double precision, Input) β an array holding the Y coordinates of your input data points.Zβ (Double precision, Input) β an array holding the Z coordinates of your input data points.Uβ (Double precision, Input) β an array holding the functional values of your input data points. like,U(L)is the value of the input function at coordinate(X(L),Y(L),Z(L)), forL=1,NPNTS. literally that mapping, no crumbs left. β¨NUMXOUTβ (Integer, Input) β how many X values live in the output grid.NUMYOUTβ (Integer, Input) β how many Y values live in the output grid.NUMZOUTβ (Integer, Input) β how many Z values live in the output grid.XOβ (Double precision, Input) β an array of dimensionNUMXOUTholding the X coordinates of the output data grid. β οΈ the values inXOmust be increasing, but they do not have to be equally spaced. she's flexible but she does have standards.YOβ (Double precision, Input) β an array of dimensionNUMYOUTholding the Y coordinates of the output data grid. same rule, bestie: values must be increasing, equally spaced is optional.ZOβ (Double precision, Input) β an array of dimensionNUMZOUTholding the Z coordinates of the output data grid. yes, again: increasing, not necessarily equally spaced. πUOβ (Double precision, Output) β a three-dimensional array dimensioned asUO(NUMXOUT,NUMYOUT,NUMZOUT)holding the interpolated functional values. soUO(I,J,K)is the interpolated value at grid point(XO(I),YO(J),ZO(K)). this is the moment, this is the payoff. πIERβ (Integer, Output) β the error return value. ifIERcomes back as0, then no errors were detected β we ate and left no crumbs. ifIERis non-zero, then go read the man page fordsgrid_errorsfor the details. don't ignore her. π
π USAGE π
DSGRID3D is the single precision gridding function in the Dsgrid package.
its whole behavior is controlled by the values you set for the various parameters described in dsgrid_params. you set those parameter values using the subroutines DSSETI, DSSETRD, and DSSETC. so like, go configure your girl first, then call her. π«Ά
π ACCESS π
to use DSGRID3D, load the NCAR Graphics library ngmath. that's the whole access situation. load it, and you're in. β¨
β SEE ALSO β
dsgriddsgrid_paramsdssetidsgetidssetrd dsgetrd dssetc, dsgetc.
(yeah, we're listing those exactly as given, iykyk π)
also, complete documentation for Dsgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html β go read it if you want the full lore. π
π COPYRIGHT π
Copyright (C) 2000 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
okay legal bestie, i'm just the messenger: the license agreement governs use of this software, so respect it. π
that's the whole page, bestie. go grid something in 3D and be iconic about it. π¦π
signing off from the UNIX manual, page dated September 1997-1998, source DSGRID3D(3NCARG). periodt. β¨π
π¦ 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