[ncl-talk] Grid tickmarks aren't showing up in overlay plot

Burakowski, Elizabeth Elizabeth.Burakowski at unh.edu
Fri Aug 9 14:12:17 MDT 2019


I have script that overlays five MODIS tiles and it plots everything I want except the grid tick marks and labels. In the snippits below, plot1 is the baseplot. I have the following set (using https://www.ncl.ucar.edu/Applications/Scripts/hdf4sds_5.ncl as a rough template)

res = True
<... bunch of other resources set...>

res2 = res

<... bunch of res at mp options..>
res at mpGridAndLimbOn = True
res at pmTickMarkDisplayMode = "Always"

res2 = True

plot1 = gsn_csm_contour_map(wks, MODISTile1, res)

res2 at sfXArray = lon2d2
res2 at sfYArray = lat2d2
plot2 = gsn_csm_contour(wks, MODISTile2, res2)

...

res2 at sfXArray = lon2d5
res2 at sfYArray = lat2d5
plot5 = gsn_csm_contour(wks, MODISTile5, res2)

overlay(plot1,plot2)
overlay(plot1,plot3)
...
overlay(plot1,plot5)

draw(plot1)
frame(wks)

The MODIS files and script are on cheyenne if you'd like me to point to them.

Thank you,


Dr. Elizabeth A Burakowski
She/Her/Hers
Research Assistant Professor
Earth Systems Research Center &
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
8 College Road Durham, NH 03824
603-862-1796
elizabeth.burakowski at unh.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190809/0396524d/attachment.html>


More information about the ncl-talk mailing list