<div dir="ltr">So yes, my script was converting an EPS to png. Curiously, the EPS from the original script is larger and has lines, but if I make white_lines.ncl create an eps instead, then it's smaller and doesn't have lines. I believe this ftp should have most of what you need to take a look at it:<div><br></div><div><a href="ftp://filsrv.cicsnc.org/carl/examples/white_lines/">ftp://filsrv.cicsnc.org/carl/examples/white_lines/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 11, 2016 at 11:15 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">I couldn't reproduce the problem with your attached files.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">First, I don't have the colorbrewer_coldhot color table, so I used a close one, hotcold_18lev.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I created a 2500x2500 PNG image, which I've attached here. I don't see the same grid lines that you do, and the map outlines aren't nearly as prominent.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This makes me think that you might have a ~/.hluresfile where you are setting some resources, like line thicknesses. Can you check if you have such a file, and if so, let me know what's in it?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, what file are you sending the graphics to, and are you doing any kind of post processing on this file?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Did you run the white_lines.ncl script yourself? I'm curious if the PNG image you sent me is from that, or from your original script.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 9, 2016 at 1:00 PM, Carl Schreck <span dir="ltr"><<a href="mailto:cjschrec@ncsu.edu" target="_blank">cjschrec@ncsu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So it didn't make a difference in my case. I still get the lines. Here are my debug files.<div><br></div><div>Thanks!</div><span class="m_-7886104767255069188HOEnZb"><font color="#888888"><div>Carl</div><div><br></div></font></span></div><div class="m_-7886104767255069188HOEnZb"><div class="m_-7886104767255069188h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 7, 2016 at 8:57 AM, Carl Schreck <span dir="ltr"><<a href="mailto:cjschrec@ncsu.edu" target="_blank">cjschrec@ncsu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This is an issue I've had in the past too. Erik, did the resources Mary suggested fix it? If so, I'll start using them too. Thanks!<div><br></div><div>Carl</div></div><div class="gmail_extra"><div><div class="m_-7886104767255069188m_5352906478971147791h5"><br><div class="gmail_quote">On Mon, Nov 28, 2016 at 11:36 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Erik,</div><div class="gmail_default" style="font-size:small"><br>Thanks for providing a sample image.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm not an expert on how cell fill works, but did you try *not* setting cnCellFillEdgeColor or cnCellFillMissingValEdgeColor at all? </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I just tried to reproduce your problem by taking the example dataonmap_11.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml#ex11" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/plot_data_on_map.shtml#<wbr>ex11</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">and adding your two resource settings to it:</div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace"><span style="font-size:12.8px"> res@cnCellFillEdgeColor=-1</span><br style="font-size:12.8px"><span style="font-size:12.8px"> res@</span><span style="font-size:12.8px">cnCellFillMissingValEdgeC<wbr>olor=</span><span style="font-size:12.8px">-1</span></font><br></div><div class="gmail_default"><br></div><div class="gmail_extra"><div class="gmail_default" style="font-size:small">I also modified the plot to zoom in on an area. I couldn't get the behavior that you're seeing. I've attached the script, PNG, and data file if you want to try it yourself.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It would help if you could provide your script and data. If you have a big data file with lots of variables, then you can try setting the special resource:</div><div class="gmail_default" style="font-size:small"><br></div>
<div class="gmail_default"><font face="monospace, monospace"><span style="font-variant-ligatures:no-common-ligatures">varR@gsnDebugWriteFileName</span> = "mary_cell_fill_issue"</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">and then re-running the script. This should cause a NetCDF file called "<a href="http://mary_cell_fill_issue.nc" target="_blank">mary_cell_fill_issue.nc</a>" to be created, with just the data required by the script. It should also create a "mary_cell_fill_issue.ncl" script that you can send me, that will hopefully be pared down version of your script that is just the graphics, and none of the data processing. </font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">--Mary</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><br><div class="gmail_quote"><div><div class="m_-7886104767255069188m_5352906478971147791m_-3019442799677440459h5">On Sun, Nov 20, 2016 at 5:49 PM, Erik Jan Schaffernicht <span dir="ltr"><<a href="mailto:eschaffe@uni-koeln.de" target="_blank">eschaffe@uni-koeln.de</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_-7886104767255069188m_5352906478971147791m_-3019442799677440459h5">I attached a clearer example screenshot as some of the fine line were not visible in my first attachment (mail before).<br>
<br>
<br>
Attached, you find a screenshot of a plot produced by ncl 6.3.0 (Ubuntu 16.04.01) .<br>
<br>
There are hundreds of very fine, rectangularly-spaced, vertical and horizontal white lines, likely exactly marking the boundaries of each grid cell of my input field (a netcdf file).<br>
<br>
How can I disable these fine white lines?<br>
<br>
They appear when I use "CellFill".<br>
<br>
Currently, I create "PDF" output with NCL. I also tried "PS", same problem here.<br>
<br>
Here is an extraction of the ressources I use in my ncl plot script:<br>
<br>
varR@cnFillOn = T ;<br>
varR@cnFillOpacityF=1<br>
varR@cnFillMode="CellFill"<br>
varR@cnCellFillEdgeColor=-1<br>
varR@cnCellFillMissingValEdgeC<wbr>olor=-1<br>
<br>
By the way, I figured out that, if I set the @cnCellFillEdgeColor= to a value of 0 or 1, all these lines become really thick and eg. of bold white or black color. This is not what I want but maybe these ressources are somehow linked to my problem/solution?<br>
<br>
I like to let all cell-edge-lines disappear in my plot, so if I set this option to @cnCellFillEdgeColor=-1<br>
but the lines are still there (attached), they do not disappear.<br>
<br>
Any idea/help on that?<br>
<span class="m_-7886104767255069188m_5352906478971147791m_-3019442799677440459m_540075471299480448gmail-m_-5654930777694367259HOEnZb"><font color="#888888"><br>
Erik<br>
<br>
<br>
<br>
</font></span><br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br><div class="m_-7886104767255069188m_5352906478971147791m_-3019442799677440459gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><table border="0" cellpadding="2" cellspacing="2" style="max-width:100%;border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-size:14px;border:3px solid rgb(170,170,170);font-family:Times;line-height:12px;background-color:transparent"><tbody><tr><td align="center" height="71" width="71"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://ncics.org/" target="_blank"><img src="https://ncics.org/wp-content/themes/ncics/img/NCICS_logo-131x131.png" alt=" "><br></a></span></span><br><font size="4"><b style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif"> <a href="http://www.cyclonecenter.org/" style="color:rgb(38,58,143);text-decoration:none" target="_blank">Cyclone</a></b><a href="http://www.cyclonecenter.org/" style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;text-decoration:none" target="_blank">Center.org</a> </font></td><td valign="top"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Carl J. Schreck III, PhD</b><br></span></span><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Research Scholar / Research </b></span></span><b style="font-family:arial,helvetica,sans-serif;font-size:11px">Assistant Professor</b><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><br></span></span><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Cooperative Institute for Climate and Satellites NC (CICS</a><b><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none" target="_blank">-NC)</a> /</b><br><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://meas.sciences.ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Department of Marine, Earth, and Atmospheric Sciences (MEAS)</a> <br><a href="http://ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">North Carolina State University</a><br><a href="http://ncei.noaa.gov/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">NOAA National Centers for Environmental Information (NCEI)</a><br>151 Patton Ave, Asheville, NC 28801<br>e: </span></span><a href="mailto:carl_schreck@ncsu.edu" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">carl_schreck@ncsu.edu</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif">o: <a href="tel:%2B1%20828%20257%203140" value="+18282573140" target="_blank">+1 828 257 3140</a><br></span></span><span style="font-family:arial,helvetica,sans-serif;font-size:11px">c: <a href="tel:%2B1%20828%20484%201702" value="+18284841702" target="_blank">+1 828 484 1702</a><br></span><a href="http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">Publications</a><br><a href="https://ncics.org/mjo/" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">ncics.org/mjo</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-7886104767255069188m_5352906478971147791gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><table border="0" cellpadding="2" cellspacing="2" style="max-width:100%;border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-size:14px;border:3px solid rgb(170,170,170);font-family:Times;line-height:12px;background-color:transparent"><tbody><tr><td align="center" height="71" width="71"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://ncics.org/" target="_blank"><img src="https://ncics.org/wp-content/themes/ncics/img/NCICS_logo-131x131.png" alt=" "><br></a></span></span><br><font size="4"><b style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif"> <a href="http://www.cyclonecenter.org/" style="color:rgb(38,58,143);text-decoration:none" target="_blank">Cyclone</a></b><a href="http://www.cyclonecenter.org/" style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;text-decoration:none" target="_blank">Center.org</a> </font></td><td valign="top"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Carl J. Schreck III, PhD</b><br></span></span><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Research Scholar / Research </b></span></span><b style="font-family:arial,helvetica,sans-serif;font-size:11px">Assistant Professor</b><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><br></span></span><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Cooperative Institute for Climate and Satellites NC (CICS</a><b><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none" target="_blank">-NC)</a> /</b><br><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://meas.sciences.ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Department of Marine, Earth, and Atmospheric Sciences (MEAS)</a> <br><a href="http://ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">North Carolina State University</a><br><a href="http://ncei.noaa.gov/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">NOAA National Centers for Environmental Information (NCEI)</a><br>151 Patton Ave, Asheville, NC 28801<br>e: </span></span><a href="mailto:carl_schreck@ncsu.edu" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">carl_schreck@ncsu.edu</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif">o: <a href="tel:%2B1%20828%20257%203140" value="+18282573140" target="_blank">+1 828 257 3140</a><br></span></span><span style="font-family:arial,helvetica,sans-serif;font-size:11px">c: <a href="tel:%2B1%20828%20484%201702" value="+18284841702" target="_blank">+1 828 484 1702</a><br></span><a href="http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">Publications</a><br><a href="https://ncics.org/mjo/" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">ncics.org/mjo</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><table border="0" cellpadding="2" cellspacing="2" style="max-width:100%;border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-size:14px;border:3px solid rgb(170,170,170);font-family:Times;line-height:12px;background-color:transparent"><tbody><tr><td align="center" height="71" width="71"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://ncics.org/" target="_blank"><img src="https://ncics.org/wp-content/themes/ncics/img/NCICS_logo-131x131.png" alt=" "><br></a></span></span><br><font size="4"><b style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif"> <a href="http://www.cyclonecenter.org/" style="color:rgb(38,58,143);text-decoration:none" target="_blank">Cyclone</a></b><a href="http://www.cyclonecenter.org/" style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;text-decoration:none" target="_blank">Center.org</a> </font></td><td valign="top"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Carl J. Schreck III, PhD</b><br></span></span><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Research Scholar / Research </b></span></span><b style="font-family:arial,helvetica,sans-serif;font-size:11px">Assistant Professor</b><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><br></span></span><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Cooperative Institute for Climate and Satellites NC (CICS</a><b><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none" target="_blank">-NC)</a> /</b><br><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://meas.sciences.ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Department of Marine, Earth, and Atmospheric Sciences (MEAS)</a> <br><a href="http://ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">North Carolina State University</a><br><a href="http://ncei.noaa.gov/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">NOAA National Centers for Environmental Information (NCEI)</a><br>151 Patton Ave, Asheville, NC 28801<br>e: </span></span><a href="mailto:carl_schreck@ncsu.edu" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">carl_schreck@ncsu.edu</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif">o: +1 828 257 3140<br></span></span><span style="font-family:arial,helvetica,sans-serif;font-size:11px">c: +1 828 484 1702<br></span><a href="http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">Publications</a><br><a href="https://ncics.org/mjo/" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">ncics.org/mjo</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>