Re: map grid lines problem

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 28 2011 - 10:46:58 MST

Hi Slava,

This looks like a bug, and I tried some things to get it to work with no luck. Thanks for providing a short script!

For your reference, the ticket number is NCL-1010. I'll let you know if there's any more information on it.

--Mary

On Feb 28, 2011, at 8:22 AM, Vladyslav Lyubartsev wrote:

> Dear Mary,
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
> wks = gsn_open_wks("ps","test_grid")
> res = True
> res@mpProjection = "Mercator"
> res@mpLimitMode = "LatLon"
> res@mpMinLonF = 11.
> res@mpMaxLonF = 12.
> res@mpMinLatF = 33.
> res@mpMaxLatF = 34.
> ;res@mpMinLatF = 33.2667
> ;res@mpMaxLatF = 33.9333
> res@pmTickMarkDisplayMode = "Always"
> res@mpGridAndLimbOn = True
> res@mpGridLonSpacingF = 1./60.
> res@mpGridLatSpacingF = 1./60.
> res@tmXTOn = True
> res@tmYROn = True
> plot = gsn_csm_map(wks,res)
>
> Everything is fine, thank you.
>
> However, if we uncomment two lines (mpMinLatF = 33.2667 and mpMaxLatF =
> 33.9333) then the vertical(!) grid lines disappear.
>
> NCAR Command Language Version 5.2.0, Cygwin
>
> Examples are
> http://gnoo.bo.ingv.it/webdev/lyubartsev/tests/test_grid_good.png
> and http://gnoo.bo.ingv.it/webdev/lyubartsev/tests/test_grid_bad.png
>
> Best regards,
> Slava
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 28 10:47:04 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 02 2011 - 09:18:13 MST