NCAR / pyngl

Other
134 stars 30 forks source link

Custom tickmarks in contour_map() #48

Open Aubery-W opened 2 years ago

Aubery-W commented 2 years ago

Hi, I used PYNGL to draw a contour on the map by using the Ngl.contour_map() function. I want to specify the interval of the X coordinate tickmarks (adjust the the lat and lon labels to tenths of a degree), but when I specify the tmXBValues resource, it will prompt warning: tmXBValues is not a valid resource in contour.PlotManager at this time.

This can be achieved in NCL through the gsn_csm_contour_map function. I guess the contour_map() in Pyngl corresponds to the gsn_contour_map() in NCL, which is also impossible to customize ticks. I read all the functions provided by Pyngl, and it seems that there is no one that can custom tickmarks of contour on map.

Is there a way to custom tickmarks in contour_map(), or will the csm_contour_map() be added in a future update?

Thanks!