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)), for L=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 dimension M containing the X coordinates of the output data. The values in XO may be in any order. no sorting required, she's chill like that 😌
  • YO β€” (Double precision, Input) β€” An array of dimension M containing the Y coordinates of the output data. The values in YO may be in any order. same energy, zero judgement.
  • ZO β€” (Double precision, Output) β€” An array of dimension M containing the interpolated values. ZO(I) is the interpolated value at point (XO(I),YO(I)) for I=1,M. this is the moment, the payoff, the main character reveal πŸ‘‘
  • IER β€” (Integer, Output) β€” An error return value. If IER is returned as 0, then no errors were detected. If IER is non-zero, then refer to the man page for dsgrid_errors for details. so if it comes back as 0 we're thriving, and if it doesn't… go read dsgrid_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 πŸ¦‹

  • dsgrid
  • dsgrid_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 (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 πŸŽ€πŸ’–