cssgrid_errors(3NCARG)

πŸ’– cssgrid_errors β€” NCAR GRAPHICS πŸ’–

okay bestie, so this one is cssgrid_errors(3NCARG), and it's literally just the ✨error decoder ring✨ for Cssgrid. Every single error that Cssgrid can throw at you, with its number and what it actually means. no cap, keep this open in a tab forever.


🌸 DESCRIPTION 🌸

below is every entry: the error number, and the tea on what it means. one at a time, periodt.

  • 1 β€” the number of input points is invalid. it has to be greater than 3. that's the whole vibe check.
  • 2 β€” the dimension for latitudes in the output grid is invalid. πŸ™ˆ
  • 3 β€” the dimension for longitudes in the output grid is invalid. same energy, different axis.
  • 4 β€” the first three nodes of the input array are collinear. they're all in a line, bestie, and that's not it.
  • 5 β€” extrapolation failed because the uniform grid extends too far beyond the triangulation boundary. it's giving "wandered off the map".
  • 6 β€” internal algorithm error. 😭 this is a please report this situation, fr fr. not you, it's the algorithm.
  • 7 β€” a vertex of a triangle containing an interpolation point is outside its valid range. 🚩
  • 8 β€” the angular distance between an interpolated point and the nearest point of the triangulation is at least 90 degrees. that point is lowkey stranded.
  • 9 β€” there aren't enough input points to calculate a gradient. need more data, babe.
  • 10 β€” insufficient space for the triangulation. it must be >= number of boundary nodes minus 2. do the math, slay.
  • 11 β€” degenerate triangle: two vertices lie on the same geodesic. πŸ’€ iconic but not in a good way.
  • -L β€” coordinates L and M coincide for some M > L >= 1, and the coordinate numbering starts at 1. so like, two of your coordinates are sitting in the exact same spot. 🫢
ngl, if you're seeing 6, that one's on the algorithm β€” report it. the rest are all "check your inputs" energy.

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie:

  • css_overview
  • cssgrid
  • csstri
  • csscoord
  • cstrans
  • csvoro
  • c_cssgrid
  • c_csstri
  • c_csscoord
  • c_cstrans
  • c_csvoro

and the full, complete documentation for Cssgrid lives right here at this URL:

http://ngwww.ucar.edu/ngdoc/ng/ngmath/cssgrid/csshome.html

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, bestie!! this one dropped on UNIX back in May 2000 as part of NCAR GRAPHICS, and it's still cssgrid_errors(3NCARG) to this very day. go forth and debug, you've got this πŸ’…βœ¨