<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 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:"Lucida Handwriting";
        panose-1:3 1 1 1 1 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Rick,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It could be all three cases, e.g., it could be in the pre-tiled image (but we could not verify, as it is a square),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Or in the individual tiles (again, without put them together, we do not know), or it could be Google Map’s.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Yes, it happened at date-line, which is along the tile boundaries (pre-tiled, and individual, as the plot region<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Is -180 to 180). Indeed it puzzles me, as the line only appears in partial of the date-line, not all though,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Otherwise, we could know that we have missed few columns or so.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It also could be from Cairo, as usually, NCL generates plot as square/rectangular, also with perimeter/tick marks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">If Cairo missed one or two pixels at the edge, it is hard to notice, but show up when we try to stich it as cylinder.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I have run out of ideas, that is why I ask you and other people in the mailing list for help.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for looking into this!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:17.0pt;font-family:&quot;Lucida Handwriting&quot;;color:#1F497D">Wei Huang</span></b><span style="font-size:9.5pt;font-family:&quot;Lucida Handwriting&quot;;color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Rick Brownrigg [mailto:brownrig@ucar.edu]
<br>
<b>Sent:</b> Tuesday, January 12, 2016 2:57 PM<br>
<b>To:</b> Wei Huang<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] Artifacts at date-line<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Wei,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm not sure where the lines are coming from.&nbsp; Are they present in your pre-tiled image?&nbsp; Are they in the individual tiles.&nbsp; Or is it a Google Map artifact?<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I presume they are occurring along tile boundaries?&nbsp; Its curious that in the image you sent, the double-lines don't cut across all contour levels?!<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Rick<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Tue, Jan 12, 2016 at 12:12 PM, Wei Huang &lt;<a href="mailto:whuang@univ-wea.com" target="_blank">whuang@univ-wea.com</a>&gt; wrote:<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I am plotting a transparent image (of precipitation) with png file, then slice it to (for example 16, or 64) tiles and then<br>
Put these tiled images on top of Google Map. As you can see, there are two vertical lines (sometimes none, and sometimes one).<br>
<br>
Is there any way we can get rid of those lines?<br>
<br>
Here are the major resource parameters:<br>
<br>
&nbsp; &nbsp;res&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True<br>
&nbsp; &nbsp;res@mpProjection&nbsp; &nbsp; &nbsp; = &quot;Mercator&quot;&nbsp; &nbsp; &nbsp; &nbsp;; choose projection<br>
&nbsp; &nbsp;res@mpGridAndLimbOn&nbsp; &nbsp;= False&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; turn on lat/lon lines<br>
&nbsp; &nbsp;res@mpPerimOn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; turn off box around plot<br>
&nbsp; &nbsp;res@mpOutlineOn&nbsp; &nbsp; &nbsp; &nbsp;= False<br>
&nbsp; &nbsp;res@mpFillOn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False<br>
&nbsp; &nbsp;res@mpLimitMode&nbsp; &nbsp; &nbsp; &nbsp;= &quot;LatLon&quot;<br>
&nbsp; &nbsp;res@mpMinLatF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp; -85.0511<br>
&nbsp; &nbsp;res@mpMaxLatF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp; &nbsp;85.0511<br>
&nbsp; &nbsp;res@mpMinLonF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= -180.0<br>
&nbsp; &nbsp;res@mpMaxLonF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp; 180.0<br>
<br>
&nbsp; &nbsp;res@vpXF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0.0<br>
&nbsp; &nbsp;res@vpYF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1.0<br>
&nbsp; &nbsp;res@vpWidthF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1.0<br>
&nbsp; &nbsp;res@vpHeightF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1.0<br>
<br>
&nbsp; &nbsp;res@gsnAddCyclic&nbsp; &nbsp; &nbsp; = True<br>
<br>
&nbsp; &nbsp;res@cnFillOn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; color plot desired<br>
&nbsp; &nbsp;res@cnLineLabelsOn&nbsp; &nbsp; &nbsp; &nbsp;= False&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; turn off contour lines<br>
&nbsp; &nbsp;res@cnLinesOn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False<br>
&nbsp; &nbsp;res@cnFillMode&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &quot;AreaFill&quot;<br>
&nbsp; &nbsp;res@cnLevelSelectionMode = &quot;ExplicitLevels&quot;&nbsp; &nbsp;; set explicit contour levels<br>
&nbsp; &nbsp;res@cnLevels&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; := levels<br>
&nbsp; &nbsp;res@cnFillColors&nbsp; &nbsp; &nbsp; &nbsp; := colors<br>
&nbsp; &nbsp;res@cnConstFEnableFill&nbsp; &nbsp;= True ; so zoomed in that filed is const<br>
&nbsp; &nbsp;res@cnConstFLabelOn&nbsp; &nbsp; &nbsp; = False<br>
<br>
&nbsp; &nbsp;res@lbLabelBarOn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False<br>
<br>
Thanks,<br>
<br>
Wei Huang<br>
<a href="mailto:whuang@univ-wea.com">whuang@univ-wea.com</a><br>
<br>
<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&amp;d=BQMFaQ&amp;c=qHNyRuJKHYeI-vwTnTfWXq4fkZpyjWUA1LcPL7eQSSQ&amp;r=6RmpIe4P-G8omsHqYS85uBS-3JaNVk3lvOG-hmdOrr8&amp;m=qYS63yZ5Jh9x8RwNLs-XAfsaKn6zyr5msye3hktFGAI&amp;s=NVLRKpc9Ke5Eb8DlBaVFOvbu8bhfnHg38RlFOxpD45I&amp;e=" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>