MPIPAR(3NCARG)
π MPIPAR β the NCAR Graphics page (that's the 3NCARG manual, bestie) π
okay so listen. this is a whole function from NCAR Graphics and it's lowkey iconic. here's the tea:
β¨ NAME β¨
MPIPAR β give it the area identifier of one of the areas defined by whatever database was last read by one of the EZMAPB routines MPLNAM, MPLNDM, MPLNDR, and MPLNRI, and it hands you back the area identifier of that area's containing (parent) area. it's giving "who's your mom" but for map areas. π
πΈ SYNOPSIS πΈ
IPAR=MPIPAR(IAIN)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
int c_mpipar (int iain)
π¦ DESCRIPTION π¦
IAINβ an input expression of typeINTEGER, specifying the area identifier of a particular area of interest. that's it, that's the input, she's simple and she knows what she wants. β¨
π C-BINDING DESCRIPTION π
the C-binding argument description is the same as the FORTRAN argument description. literally identical, no notes, no cap. π«Ά
π₯ USAGE π₯
so the statement "IPAR=MPIPAR(IAIN)" retrieves in IPAR the area identifier of the parent of the area with area identifier IAIN.
for example: if IMAD is the area identifier of the little island in Lake Superior called "Lake Madeline", then MPIPAR(IMAD) is the area identifier of the area called "Wisconsin".
not the island being Wisconsin, the island's parent being Wisconsin. the island is inside Wisconsin's area. that's the whole bit. i'm obsessed with this example actually, it's so specific and so real. ποΈ
π EXAMPLES π
use the ncargex command to see the following relevant example: mpex12. go look at it, it's right there, main character energy. π
π ACCESS π
to use MPIPAR or c_mpipar, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. don't be chaotic about the order, bestie, just do it the way they said. π
β SEE ALSO β
Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind
like yeah it's a lot of friends. they're all invited to the function. π«Άβ¨
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the whole page, you ate it, you read the whole thing, i'm so proud of you. this was the NCAR Graphics MPIPAR page, from the UNIX manual, dated April 1998, and the header was MPIPAR(3NCARG) in case you were wondering what page you were even on. now go parent some map areas. ππΈππ¦π
π¦ 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