<div dir="ltr"><div>Andrew said that didn't work. Does anyone else have an idea about this failure to plot polylines?</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 20, 2023 at 4:18 PM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>This might be a known issue, swapped X and Y coordinates in the shapefile reader. Verify by changing your plot region, and see if the features show up in a different place on the globe. The alternate location is predictable.</div><div><a href="https://github.com/NCAR/ncl/issues/176" target="_blank">https://github.com/NCAR/ncl/issues/176</a></div><div><br></div><div>This was never fully investigated.<span> </span> This may be due to a version update in one of the support libraries, such as GDAL, on your new machine. There is a suggested workaround in that issue.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 20, 2023 at 3:30 PM Andrew Kren - NOAA Federal via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi there,<div><br></div><div>For some reason I am running into issues with my highways not showing up when trying to plot them. As a context, we moved the scripts to a new computer. The old computer has the same code and it worked fine. Now when we installed NCL on the new machine, the script runs but does not plot the polylines. </div><div><br></div><div>I have been using gsn_add_shapefile_polylines_subset to plot a select number of highways. I verified that the function is reading correctly, and there are no error messages showing up when running NCL. I am at a loss for what could be going on. Here is a snippet of my code where I plot the highways:</div><div><br></div><div> if (plot_highways.eq."Yes".or.plot_highways.eq."yes") then<br> ; add highways<br> ;---Section to add polylines to map.<br> plres_high = True ; resource list for polylines<br> colors_hwy = highway_colors<br> ;plres@gsLineColor = "(/0.66, 0.66, 0.66/)"<br> plres@gsEdgesOn = True<br> plres@gsFillColor = "transparent"<br> plres@gsFillOpacityF = 0.0<br> plres_high@gsLineThicknessF = 2.0<br> highways = highway_names<br> poly_high = gsn_add_shapefile_polylines_subset(wks,plot,SHAPE_DIR+shapefile_file,shapefile_descriptor,highways,colors_hwy,plres_high)<br> end if<br><div><br></div><div>Could this be a path issue with where NCL was installed? I can't imagine it would be since it runs fine. Much appreciated for any help!</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><pre cols="72" style="white-space:pre-wrap;color:rgb(34,34,34);font-family:"arial black",sans-serif"><span style="font-family:arial,helvetica,sans-serif">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: <a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a></span><span style="font-family:arial,helvetica,sans-serif">
</span><span style="color:rgb(17,85,204);font-family:arial,helvetica,sans-serif"><a href="http://www.weather.gov/rah" style="color:rgb(17,85,204)" target="_blank">http://www.weather.gov/rah</a></span></pre></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></div>
</blockquote></div></div>