<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:"Calibri","sans-serif";color:#1F497D">Rick,<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">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:"Calibri","sans-serif";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:"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">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:"Calibri","sans-serif";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:"Calibri","sans-serif";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:"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">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:"Calibri","sans-serif";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:"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">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:"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 looking into this!<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"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:17.0pt;font-family:"Lucida Handwriting";color:#1F497D">Wei Huang</span></b><span style="font-size:9.5pt;font-family:"Lucida Handwriting";color:#222222"><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"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> 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> </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. Are they present in your pre-tiled image? Are they in the individual tiles. 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? 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> </o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Jan 12, 2016 at 12:12 PM, Wei Huang <<a href="mailto:whuang@univ-wea.com" target="_blank">whuang@univ-wea.com</a>> 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>
res = True<br>
res@mpProjection = "Mercator" ; choose projection<br>
res@mpGridAndLimbOn = False ; turn on lat/lon lines<br>
res@mpPerimOn = False ; turn off box around plot<br>
res@mpOutlineOn = False<br>
res@mpFillOn = False<br>
res@mpLimitMode = "LatLon"<br>
res@mpMinLatF = -85.0511<br>
res@mpMaxLatF = 85.0511<br>
res@mpMinLonF = -180.0<br>
res@mpMaxLonF = 180.0<br>
<br>
res@vpXF = 0.0<br>
res@vpYF = 1.0<br>
res@vpWidthF = 1.0<br>
res@vpHeightF = 1.0<br>
<br>
res@gsnAddCyclic = True<br>
<br>
res@cnFillOn = True ; color plot desired<br>
res@cnLineLabelsOn = False ; turn off contour lines<br>
res@cnLinesOn = False<br>
res@cnFillMode = "AreaFill"<br>
res@cnLevelSelectionMode = "ExplicitLevels" ; set explicit contour levels<br>
res@cnLevels := levels<br>
res@cnFillColors := colors<br>
res@cnConstFEnableFill = True ; so zoomed in that filed is const<br>
res@cnConstFLabelOn = False<br>
<br>
res@lbLabelBarOn = 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&d=BQMFaQ&c=qHNyRuJKHYeI-vwTnTfWXq4fkZpyjWUA1LcPL7eQSSQ&r=6RmpIe4P-G8omsHqYS85uBS-3JaNVk3lvOG-hmdOrr8&m=qYS63yZ5Jh9x8RwNLs-XAfsaKn6zyr5msye3hktFGAI&s=NVLRKpc9Ke5Eb8DlBaVFOvbu8bhfnHg38RlFOxpD45I&e=" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>