MAPEOD(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– MAPEOD β€” bestie, it's the outline-segment vibe check πŸ’–

okay so this is MAPEOD from NCAR GRAPHICS, and she lives in section 3NCARG of the manual. she's the little callback that the EZMAP routines MAPLOT and MAPBLA call. the default version does literally nothing β€” she's just standing there, being iconic, doing zero. but you can write your own version to peek at every single outline-dataset segment and, if you want, delete the ones you're not feeling. ✨

heads up bestie: this routine is not called by any of the EZMAPB routines. for that same job, they call MPCHLN instead. iykyk. 🫢

🌸 SYNOPSIS 🌸

CALL MAPEOD (NOUT,NSEG,IDLS,IDRS,NPTS,PNTS)

✨ DESCRIPTION ✨

  • NOUT β€” (an input expression of type INTEGER) the number of the outline dataset the segment comes from, like this:
NOUTDataset the segment came from
1CO β€” Continental outlines only.
2US β€” U.S. state outlines only.
3PS β€” Continental, U.S. state, and international outlines.
4PO β€” Continental and international outlines.
  • NSEG β€” (an input expression of type INTEGER) the number of the segment within the outline dataset. the maps in the example named mpex09 show segment numbers for the outline dataset CO, and you can modify that program to produce maps showing segment numbers for any outline dataset. slay, customizable. πŸ’…
  • IDLS and IDRS β€” (input expressions of type INTEGER) identifiers for the areas to the left and right, respectively, of the segment. and yes, left and right are defined from the standpoint of a viewer standing at point 1 of the segment and looking toward point 2. main character perspective, periodt. πŸ‘‘
  • NPTS β€” (an input/output variable of type INTEGER) on entry, this is the number of points defining the outline segment. NPTS may be zeroed by MAPEOD to suppress plotting of the segment on the map. so if you want a segment gone? zero it out. bye boo. πŸ™ˆ
  • PNTS β€” (an input/output array, dimensioned 2*NPTS, of type REAL) an array of coordinates. PNTS(1) and PNTS(2) are the latitude and longitude of the first point, PNTS(3) and PNTS(4) the latitude and longitude of the second point, ... PNTS(2*NPTS-1) and PNTS(2*NPTS) the latitude and longitude of the last point. all values are in degrees. longitudes are all between -180 and +180; no segment crosses the meridian at -180 (+180) degrees. so clean, so tidy. 🧚

πŸ¦‹ USAGE πŸ¦‹

MAPEOD is called by MAPLOT to examine each segment in an outline dataset just before it is plotted, and by MAPBLA to examine each segment in an outline dataset just before it is added to an area map. the default version of MAPEOD does nothing. a user-supplied version may cause selected segments to be deleted (to reduce the clutter in northern Canada, for example). ngl, northern Canada is a lot. 😭


πŸŽ€ EXAMPLES πŸŽ€

use the ncargex command to see the following relevant examples: mpex03, mpex05, mpex09.


🌈 ACCESS 🌈

to use MAPEOD, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. don't fight the order bestie, she's sequenced for a reason. ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, 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, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial


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 thing, bestie β€” no cap, every flag and every fact stayed exactly where it was. πŸ’–

kisses from the UNIX corner of the manual, March 1993 edition, page MAPEOD(3NCARG) β€” she ate and left no crumbs. πŸ’…βœ¨

πŸ“¦ where this page comes from