MAPEOD(3NCARG)
π 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 theEZMAPBroutines. for that same job, they callMPCHLNinstead. iykyk. π«Ά
πΈ SYNOPSIS πΈ
CALL MAPEOD (NOUT,NSEG,IDLS,IDRS,NPTS,PNTS)
β¨ DESCRIPTION β¨
NOUTβ (an input expression of typeINTEGER) the number of the outline dataset the segment comes from, like this:
NOUT | Dataset the segment came from |
|---|---|
1 | CO β Continental outlines only. |
2 | US β U.S. state outlines only. |
3 | PS β Continental, U.S. state, and international outlines. |
4 | PO β Continental and international outlines. |
NSEGβ (an input expression of typeINTEGER) the number of the segment within the outline dataset. the maps in the example namedmpex09show segment numbers for the outline datasetCO, and you can modify that program to produce maps showing segment numbers for any outline dataset. slay, customizable. πIDLSandIDRSβ (input expressions of typeINTEGER) 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 typeINTEGER) on entry, this is the number of points defining the outline segment.NPTSmay be zeroed byMAPEODto 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, dimensioned2*NPTS, of typeREAL) an array of coordinates.PNTS(1)andPNTS(2)are the latitude and longitude of the first point,PNTS(3)andPNTS(4)the latitude and longitude of the second point, ...PNTS(2*NPTS-1)andPNTS(2*NPTS)the latitude and longitude of the last point. all values are in degrees. longitudes are all between-180and+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 π
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
- 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