Re: mpMinLonF around 0 degrees

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Mon, 23 Feb 2009 09:56:59 -0700

Hi Patrick,

Whenever your mpMinLonF setting is < 0, and your mpMaxLonF setting is >
0, you need to set mpCenterLonF..

res_at_mpMinLonF = -6.
res_at_mpMaxLonF = 18
res_at_mpCenterLonF = (res_at_mpMinLonF+res_at_mpMaxLonF)/2.

http://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpCenterLonF
Adam

Patrick Reuter wrote:
> Dear users,
>
> I have a problem to configure a domain where the mpMinLonF is negative
> (degrees west), and the mpMaxLonF is positive (degrees east): when this
> is the case, the map entire world map is drawn.
>
> I read data in with "fbinrecread", and configure the longitude as follows
>
> lon = ispan(0,480,1)*0.05 -6.
> lon!0 = "lon"
> lon_at_long_name = "longitude"
> lon_at_units = "degrees_east"
>
> Then, when I use
>
> res_at_mpMinLonF = -6.
> res_at_mpMaxLonF = 18
>
> , the entire map of the world is drawn (in horizontal direction).
>
> However, for
>
> res_at_mpMinLonF = -6.
> res_at_mpMaxLonF = 0
>
> or
>
>
> res_at_mpMinLonF = 0.
> res_at_mpMaxLonF = 18
>
> everything is fine.
>
> I also tried to set the area via mpLeftCornerLonF and mpRightCornerLonF
> with the limit mode set to corners, but I still get the entire world map
> drawn.
>
> In the attached image, you can see that the x-axis is set to -6 / 18,
> but the entire world is drawn.
>
> Hope my question is clear.
>
> I would appreciate any hint!
>
> Thanks
> Patrick
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000	  http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 23 2009 - 09:56:59 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 05 2009 - 15:48:48 MST