[ncl-talk] Add values on a cell-Filled contour plot for a LC projection
LEROUX Marie-Dominique
marie-dominique.leroux at meteo.fr
Wed Aug 29 01:08:30 MDT 2018
Dear Mr or Mrs,
I am working on a netcdf file based on a Lambert Conformal grid. The data (let's name it RR) has lat/lon coordinates.
I drew it on a map using
gsn_csm_contour_map(wks,RR(:,:),opts_RR
and
optsRR at cnFillMode = "CellFill" (or "RasterFill" )
It works perfectly.
I am now willing to overlay the data values of RR on each grid point, similar to the graph plotted for example [ http://www.ncl.ucar.edu/Applications/Scripts/text_15.ncl | text_15.ncl ] (http://www.ncl.ucar.edu/Applications/text.shtml)
However, example text_15.ncl refers to data on an (x,y) grid.
How do we proceed for a lat/lon grid?
Perhaps use "gsn_coordinates" like in datagrid_6.ncl example (http://www.ncl.ucar.edu/Applications/datagrid.shtml#ex6) but ask for text (= the value of RR at each grid point) instead of markers?
Thanks for your help,
Marie-Dominique LEROUX
--
----- Météo-France -----
LEROUX MARIE-DOMINIQUE
DIROI/EC
marie-dominique.leroux at meteo.fr
Fixe : + 262 262921127
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180829/eb917fc3/attachment.html>
More information about the ncl-talk
mailing list