NNGETSLOPES(3NCARG)
β¨ NAME β¨
NNGETSLOPES β bestie, this one grabs the slope at a coordinate you pick. That's it, that's the whole job π
This page lives in the NCAR GRAPHICS manual, section 3NCARG, and it's giving very much "small but mighty" energy.
πΈ SYNOPSIS πΈ
CALL NNGETSLOPES (I,J,SLOPE,IER)
π DESCRIPTION π
Okay so here's the tea on every single argument, no skips, no skimming π«Ά
Iβ (Integer, Input) β a subscript that indexes the first dimensioned variable in the output grid from the most recent call toNATGRIDS.Jβ (Integer, Input) β a subscript that indexes the second dimensioned variable in the output grid from the most recent call toNATGRIDS.SLOPEβ (Real, Output) β the slope at the grid pointZ(I,J), whereZis the output grid from that most recent call toNATGRIDS. Yes, it's thatZ. The one you just made. πIERβ (Integer, Output) β the error return value, aka the vibe check. IfIERcomes back as0, then no errors were detected, we're slaying, everything's fine β¨. IfIERis non-zero, then go read the man page fornatgrid_errorsfor the details β it'll tell you exactly what went sideways π
Heads up bestie:IandJare indexing into the output grid from the most recent call toNATGRIDS. So like, don't be out here referencing some ancient grid from three calls ago, it's not gonna work out π
π ACCESS π
To use NNGETSLOPES, load the NCAR Graphics library ngmath. That's the one. Load it. π§
π¦ SEE ALSO π¦
natgridnatgridsnatgrid_paramsnatgrid_errors(the one you go to whenIERis non-zero, iykyk)
Complete documentation for Natgrid is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.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, fr fr π β this was NNGETSLOPES(3NCARG) from the UNIX manual, dated March 1997-1998, in the NCAR GRAPHICS collection. Go get those slopes, main character π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms