MAPTRA(3NCARG)
β¨ MAPTRA β¨
okay bestie, welcome to the NCAR GRAPHICS manual, and today's main character is MAPTRA β she projects points π
(and yes, there's a whole C-binding twin, c_maptra, she's in here too π«Ά)
πΈ NAME πΈ
MAPTRA β projects points. that's it, that's the whole vibe. one job, and she ate β¨
π SYNOPSIS π
CALL MAPTRA (RLAT,RLON,UVAL,VVAL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_maptra (float rlat, float rlon, float *uval,
float *vval)
π DESCRIPTION π
so here's what's actually going down, no cap:
RLATandRLONβ these are input expressions, typeREAL, and they're the latitude and longitude (respectively) of a point on the globe π.RLAThas to be between-90.and+90., inclusive β like, that's non-negotiable.RLONhas to be between-540.and+540., inclusive. yes bestie, -540 to +540, longitude really said "I contain multitudes" πUVALandVVALβ these are output variables, typeREAL, and together they define the point(UVAL,VVAL)which is the projection of(RLAT,RLON)into the u/v plane π. the units ofUVALandVVALdepend on the projection, so like, don't assume, okay? it's giving "context-dependent" π
π real talk though: if the point isn't projectable, or if it's outside the boundary of the map (as defined by the last call toMAPSETand by the value of the parameter'EL'), thenUVALgets returned equal to1.E12. that's the "nope, not on my map" number. iconic behaviour honestly.
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are literally the same as the FORTRAN argument descriptions β same facts, different font, we love consistency π«Ά
β EXAMPLES β
use the ncargex command to see the following relevant examples, bestie: ccpmpxy, cmptra, fgkgtx, fngngdts. go look, they're cute β¨
π ACCESS π
to use MAPTRA or c_maptra, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β and like, preferably in that order, okay? the order matters, trust π€
π 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,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 page, bestie π§π this was MAPTRA(3NCARG) from the NCAR GRAPHICS manual, last touched March 1993, and it still serves. periodt. π
π
π¦ 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