MPNAME(3NCARG)

✨ NAME ✨

okay bestie, welcome to MPNAME(3NCARG) from NCAR GRAPHICS πŸ’– this function is literally the name-dropper of the EZMAPB world. You 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 returns the name of the area. periodt. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

CHARACTER*64 MPNAME,NAME

NAME=MPNAME(IAIN)

🌸 C-BINDING SYNOPSIS 🌸

#include <ncarg/ncargC.h>

char *c_mpname (int iain)

πŸ’… DESCRIPTION πŸ’…

  • IAIN β€” is an input expression of type INTEGER, specifying the area identifier of a particular area of interest. lowkey essential, bestie 🫢

πŸ¦‹ C-BINDING DESCRIPTION πŸ¦‹

The C-binding argument description is the same as the FORTRAN argument description. no cap, it's giving copy-paste energy but make it official πŸ’€


🌈 USAGE 🌈

Given the declaration:

CHARACTER*64 MPNAME,NAME

the executable statement:

NAME=MPNAME(IAIN)

will retrieve in NAME the name 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 MPNAME(IMAD) = 'Madeline Island (Lake Superior)'. iconic behavior honestly 🏝️✨

To get the name of the area, at a specified level, that contains an area with a specified area identifier, use MPNAME in combination with MPIOAR. For example, MPNAME(MPIOAR(IMAD,3)) = 'Conterminous US', and MPNAME(MPIOAR(IMAD,2)) = 'North America'. the way that just works?? obsessed πŸŒŽπŸ’–


πŸ“ EXAMPLES πŸ“

Use the ncargex command to see the following relevant examples: mpex11, mpex12. go look, bestie, they're cute πŸŽ€


πŸ”₯ ACCESS πŸ”₯

To use MPNAME or c_mpname, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. don't fight the order, she has a vibe πŸ’…


πŸ‘‘ 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, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind. that's a whole friend group, fr fr πŸ’œ


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


and that's the whole page, bestie 🫢 this manual page came from UNIX, April 1998, and it's tagged MPNAME(3NCARG) β€” iconic since day one, no cap πŸ’…βœ¨