[ncl-talk] Maps flipped on their sides

Barry Lynn barry.h.lynn at gmail.com
Wed Oct 18 11:00:00 MDT 2023


Dear Dave:

I was about to send you the code when I decided to add some comments.

When I got to this section, I realized that the last setting in bold might
be the problem.

  res at mpProjection        = "LambertConformal"

; res at mpProjection        = "Mercator"

  res at mpLambertParallel1F = 30

  res at mpLambertParallel2F = 58

  *res at mpLambertMeridianF  = 30 ; was 258*


The problem was that the Meridian was set for my previous study, or the
central United States.


Thank you for helping me solve this problem.


Barry




On Wed, Oct 18, 2023 at 7:23 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hi Dave:
>
> I plotted the first (and the second), since I am not sure the code would
> have worked.  They are the same.
>
> Barry
>
> On Wed, Oct 18, 2023 at 7:07 PM Dave Allured - NOAA Affiliate via ncl-talk
> <ncl-talk at mailman.ucar.edu> wrote:
>
>> Barry, I am trying to figure out if this is a side effect of the panel or
>> overlay functions.  What happens if you plot only the first map by itself,
>> without any paneling?  (Set res at gsnDraw and res at gsnFrame to True, right
>> before gsn_csm_contour_map.  Then exit immediately after.)
>>
>>
>> On Tue, Oct 17, 2023 at 5:47 AM Barry Lynn via ncl-talk <
>> ncl-talk at mailman.ucar.edu> wrote:
>>
>>> Hi:
>>>
>>> Is there some way to force NCL to plot these maps the correct way, with
>>> longitude on the x-axis?
>>>
>>> I am not doing anything different than I do with other map projections.
>>> This is a Lambert-Conformal map.
>>>
>>> plot = gsn_csm_contour_map(wks,precip,res)
>>>
>>> Barry H. Lynn, Ph.D
>>> Senior Scientist, Lecturer,
>>> The Institute of Earth Sciences,
>>> The Hebrew University of Jerusalem,
>>> Givat Ram, Jerusalem 91904, Israel
>>> Tel: 972 547 231 170
>>> Fax: (972)-25662581
>>>
>>> Weather It Is, LTD
>>> Weather and Climate Focus
>>> https://weather-it-is.com <http://weather-it-is.com>
>>> Jerusalem, Israel
>>> Local: 02 930 9525
>>> Cell: 054 7 231 170
>>> Int-IS: x972 2 930 9525
>>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> --
>
> Barry H. Lynn, Ph.D
> Senior Scientist, Lecturer,
> The Institute of Earth Sciences,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> Weather It Is, LTD
> Weather and Climate Focus
> https://weather-it-is.com <http://weather-it-is.com>
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
>

-- 

Barry H. Lynn, Ph.D
Senior Scientist, Lecturer,
The Institute of Earth Sciences,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

Weather It Is, LTD
Weather and Climate Focus
https://weather-it-is.com <http://weather-it-is.com>
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20231018/c27f8ba1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_radar_map_2km_April_11_13_2013.pdf
Type: application/pdf
Size: 736449 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20231018/c27f8ba1/attachment-0001.pdf>


More information about the ncl-talk mailing list