[ncl-talk] Artifacts at date-line
Rick Brownrigg
brownrig at ucar.edu
Tue Jan 12 13:56:31 MST 2016
Hi Wei,
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?
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?!
Rick
On Tue, Jan 12, 2016 at 12:12 PM, Wei Huang <whuang at univ-wea.com> wrote:
> I am plotting a transparent image (of precipitation) with png file, then
> slice it to (for example 16, or 64) tiles and then
> Put these tiled images on top of Google Map. As you can see, there are two
> vertical lines (sometimes none, and sometimes one).
>
> Is there any way we can get rid of those lines?
>
> Here are the major resource parameters:
>
> res = True
> res at mpProjection = "Mercator" ; choose projection
> res at mpGridAndLimbOn = False ; turn on lat/lon lines
> res at mpPerimOn = False ; turn off box around plot
> res at mpOutlineOn = False
> res at mpFillOn = False
> res at mpLimitMode = "LatLon"
> res at mpMinLatF = -85.0511
> res at mpMaxLatF = 85.0511
> res at mpMinLonF = -180.0
> res at mpMaxLonF = 180.0
>
> res at vpXF = 0.0
> res at vpYF = 1.0
> res at vpWidthF = 1.0
> res at vpHeightF = 1.0
>
> res at gsnAddCyclic = True
>
> res at cnFillOn = True ; color plot desired
> res at cnLineLabelsOn = False ; turn off contour lines
> res at cnLinesOn = False
> res at cnFillMode = "AreaFill"
> res at cnLevelSelectionMode = "ExplicitLevels" ; set explicit contour
> levels
> res at cnLevels := levels
> res at cnFillColors := colors
> res at cnConstFEnableFill = True ; so zoomed in that filed is const
> res at cnConstFLabelOn = False
>
> res at lbLabelBarOn = False
>
> Thanks,
>
> Wei Huang
> whuang at univ-wea.com
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160112/23b63796/attachment.html
More information about the ncl-talk
mailing list