[ncl-talk] Small issue plotting highways

Andrew Kren - NOAA Federal andrew.kren at noaa.gov
Tue Jun 22 08:44:54 MDT 2021


Hi there,

I am plotting radar data and overlaying highways onto the map. I first plot
the radar analysis, then overlay the highway information by
reading/plotting the shapefile.

At times, when I view the PNGs, the highways show up as blotched out (lack
of detail and pixelated; see attached image). At other times, the highways
show up very clear and darker as expected. Is there a reason for this?
Below shows a snippet of my code that produces the radar plot and the
highway overlay.

 plot = gsn_csm_contour_map(wks,radar,res)

 ; add highway polylines to the map from shapefile
 plres = True
 plres at gsLineColor = "grey48"
 plres at gsLineThicknessF = 0.2
 id =
gsn_add_shapefile_polylines(wks,plot,SHAPE_DIR+"roadtrl020.shp",plres)

Thanks,

-- 

Andrew Kren
Meteorologist
NOAA's National Weather Service
Raleigh Forecast Office
1005 Capability Drive, Suite 300
Raleigh, North Carolina 27606
voice: 919-326-1035
mailto: andrew.kren at noaa.govhttp://www.weather.gov/rah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210622/549498f6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MRS_NC_BRADAR_F000.png
Type: image/png
Size: 573740 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210622/549498f6/attachment-0001.png>


More information about the ncl-talk mailing list