MPFNME(3NCARG)
π MPFNME π
okay bestie, so this is an NCAR Graphics page, from the 3NCARG manual, and it's literally about one little function that gives you the full name of a map area. yes, the WHOLE name, parents included. slay.
β¨ NAME β¨
MPFNME β 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 full name of that area β including the prepended names of all containing (parent) areas, all the way up to and including a level you specify. iconic behaviour honestly.
β¨ SYNOPSIS β¨
CHARACTER*128 MPFNME,FNME
FNME=MPFNME(IAIN,ILVL)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
char *c_mpfnme (int iain, int ilvl)
β¨ DESCRIPTION β¨
IAINβ an input expression of typeINTEGER, specifying the area identifier of a particular area of interest. like, WHICH area are we talking about, bestie.ILVLβ an input expression of typeINTEGER, specifying the highest level of containing (parent) name to be included in the returned full name. how far up the family tree do you want to go π«Ά
πΈ C-BINDING DESCRIPTION πΈ
The C-binding argument description is the same as the FORTRAN argument description. no notes, it's giving copy-paste energy and we respect it.
β¨ USAGE β¨
so you declare "CHARACTER*128 MPFNME,FNME", and then this executable statement β "FNME=MPFNME(IAIN,ILVL)" β will retrieve in FNME the full name of the area with area identifier IAIN, including the prepended names of containing (parent) areas, up to the level ILVL. periodt.
wanna see it in action? say IMAD is the area identifier of the little island in Lake Superior called "Lake Madeline" β a level-4 area whose name in the database is actually "Madeline Island (Lake Superior)" and whose parent (also at level 4) is an area called "Wisconsin". then:
MPFNME(IMAD,4) = 'Wisconsin - Madeline Island (Lake Superior)'
see that dash with blanks on either side? that's the separator. note it. it's lowkey doing a lot of work here π
β¨ EXAMPLES β¨
use the ncargex command to see the following relevant example: mpex12. go look, it's right there π
β¨ ACCESS β¨
To use MPFNME or c_mpfnme, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. in. that. order. don't be chaotic about it π
β¨ 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, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind
like, that's the whole friend group right there π
β¨ 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 bestie, go forth and name your map areas ππ
this one's from the UNIX manual, MPFNME(3NCARG), dated April 1998 β vintage, honestly. stay iconic β¨π¦
π¦ 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