<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Frank,<br>
<br>
your latitude and longitude arrays are 1D so you don't need the
sfXArray and sfYArray resource settings. For land_only1 you have to
define the named dimensions lat and lon and create the coordinate
variables.<br>
<br>
<tt>lat = f1->lat </tt><tt><br>
</tt><tt>lon = f1->lon </tt><tt><br>
</tt><tt><br>
</tt><tt>land_only1!0 = "lat"</tt><tt><br>
</tt><tt>land_only1!1 = "lon"</tt><tt><br>
</tt><tt>land_only1&lat = lat</tt><tt><br>
</tt><tt>land_only1&lon = lon</tt><br>
<br>
See the attached script with minor changes.<br>
<br>
the plot seems to be familiar. ;)<br>
Karin<br>
<br>
<div class="moz-cite-prefix">Am 22.04.16 um 11:49 schrieb Kreienkamp
Frank:<br>
</div>
<blockquote
cite="mid:24EC7203DE46D64B95497AB11E28209D0326358E@OFWEXC22.win2003.dwd.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello
Guido,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks
for your suggestions.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">unfortunately gsnAddCyclic = False not helps.
The them goes for gsnAddCyclic = True. In this
configuration I get a warning:<o:p></o:p></span></p>
<p class="MsoNormal"><i><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">warning:ScalarFieldSetValues: coordinate
array sfXArray requires 193 elements: defaulting<o:p></o:p></span></i></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">The second problem was solved after I included
gsnMaximixe + gsnBoxMargin in the first plot.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US">Frank<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk-bounces@ucar.edu">ncl-talk-bounces@ucar.edu</a>
[<a class="moz-txt-link-freetext" href="mailto:ncl-talk-bounces@ucar.edu">mailto:ncl-talk-bounces@ucar.edu</a>]
<b>Im Auftrag von </b>Guido Cioni<br>
<b>Gesendet:</b> Freitag, 22. April 2016 11:29<br>
<b>An:</b> Kreienkamp Frank<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
<b>Betreff:</b> Re: [ncl-talk] problem with
gsn_csm_contour in drawing a globe<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hey Frank,<o:p></o:p></p>
<div>
<p class="MsoNormal">I’m pretty sure (but not completely) that
the first problem will be solved by setting
<span
style="font-family:"Menlo","serif"">gsnAddCyclic
= False</span>. For the second one it seems that you are
correctly setting the <span
style="font-family:"Menlo","serif"">gsnMaximize</span>
resource to
<span
style="font-family:"Menlo","serif"">True</span>,
so I don’t know what you could do… Can’t you just cut the
resulting png file? It seems that changing the paper
orientation wouldn't affect the plot since it is squared,
but you can try to play around with the resources related to
the Maximize option (maybe setting <a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnBoxMargin"><em><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#852D85;background:#CDE8FB;text-decoration:none">gsnBoxMargin</span></em></a><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";background:white"> to
0.0?</span>); see hereinafter. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"
style="line-height:13.0pt;background:white"><strong><span
style="font-size:11.0pt;font-family:"Verdana","sans-serif"">gsnMaximize</span></strong><b><span
style="font-size:11.0pt;font-family:"Verdana","sans-serif""><o:p></o:p></span></b></p>
<p class="MsoNormal"
style="margin-left:36.0pt;line-height:12.0pt;background:white">
<span
style="font-size:10.0pt;font-family:"Verdana","sans-serif"">If
set to True, then any plot drawn by a <a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Interfaces/"><span
style="color:#852D85;text-decoration:none">gsn</span></a> function
will be maximized in the workstation on which it is being
drawn. For an X11 window or an NCGM file, this means the
plot will be expanded to fill the biggest possible space
within a square, with a small margin around all edges. You
can get rid of this margin by setting <a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnBoxMargin"><em><span
style="font-family:"Verdana","sans-serif";color:#852D85;text-decoration:none">gsnBoxMargin</span></em></a> to
0.0. The aspect ratio will be preserved. For a PostScript
or PDF file, the plot will be expanded to fill the biggest
possible space on an 8 1/2" x 11" sheet of paper.<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-left:36.0pt;line-height:12.0pt;background:white">
<span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333">For
a PS or PDF file, you can change the default paper size,
margins, or orientation with the resources<a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPaperOrientation"><em><span
style="font-family:"Verdana","sans-serif";color:#852D85;text-decoration:none">gsnPaperOrientation</span></em></a>, <a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPaperMargin"><em><span
style="font-family:"Verdana","sans-serif";color:#852D85;text-decoration:none">gsnPaperMargin</span></em></a>, <a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPaperWidth"><em><span
style="font-family:"Verdana","sans-serif";color:#852D85;text-decoration:none">gsnPaperWidth</span></em></a>,
and </span><em><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#852D85"><a
moz-do-not-send="true"
href="https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPaperHeight"><span
style="color:#852D85;text-decoration:none">gsnPaperHeight</span></a></span></em><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#333333"><o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">Guido
Cioni<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black"><a
moz-do-not-send="true"
href="http://guidocioni.altervista.org"><a class="moz-txt-link-freetext" href="http://guidocioni.altervista.org">http://guidocioni.altervista.org</a></a> <o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:18.75pt"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:18.75pt">On 22
Apr 2016, at 11:19, Kreienkamp Frank <<a
moz-do-not-send="true"
href="mailto:Frank.Kreienkamp@dwd.de"><a class="moz-txt-link-abbreviated" href="mailto:Frank.Kreienkamp@dwd.de">Frank.Kreienkamp@dwd.de</a></a>>
wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:18.75pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hello,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US">i am trying to draw a globe with a
GCM orography. I nearly get what I want.
Unfortunately I still have 1 interesting item. As
you can see in the attached png-file I get at the
Greenwich line no orography information. I have
seen this before but I cant remember how to solve
the problem.</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US">A second but minor question is, how
can I resize the drawing, that it fills nearly the
complete drawing area. Not having a 20% black
border an nearly each side.</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US">How can this be solved? (I have also
attached the ncl-file)</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US">Thanks in advance</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US">Frank</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:18.75pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""
lang="EN-US"> </span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:18.75pt"><Globus_MPI_Oro.ncl><Globus_MPI_Oro.png><span
style="font-size:10.0pt;font-family:"Helvetica","sans-serif"">_______________________________________________<br>
ncl-talk mailing list<br>
</span><a moz-do-not-send="true"
href="mailto:ncl-talk@ucar.edu"><span
style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:purple">ncl-talk@ucar.edu</span></a><span
style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><br>
List instructions, subscriber options, unsubscribe:<br>
</span><a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"><span
style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:purple">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:18.75pt"><o:p> </o:p></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</body>
</html>