<div dir="ltr">Yes I looked at that. The thing is my data is in raster coordinates(latitude and longitude - equidistant grid). When I pull out the coordinates from collections are these polygons (vectors) or is the raster  entity still retained ? <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 16, 2017 at 7:50 PM, Nicolas Cellier <span dir="ltr"><<a href="mailto:contact@nicolas-cellier.net" target="_blank">contact@nicolas-cellier.net</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">It may help you<br><div><br><a href="https://stackoverflow.com/questions/5666056/matplotlib-extracting-data-from-contour-lines" target="_blank">https://stackoverflow.com/<wbr>questions/5666056/matplotlib-<wbr>extracting-data-from-contour-<wbr>lines</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-10-16 15:31 GMT+02:00 ashwin .D <span dir="ltr"><<a href="mailto:winash12@gmail.com" target="_blank">winash12@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hello,<br></div>         I have height data on a two  
dimensional equidistant latitude longitude grid and my ultimate goal is 
to calculate the curvature of the contours. Here is an illustration of 
what I want to do - <a href="http://www.indiana.edu/%7Egeog109/topics/10_Forces&Winds/sfc_trough.html" target="_blank">http://www.indiana.edu/%7Egeog<wbr>109/topics/10_Forces&Winds/sfc<wbr>_trough.html</a>.
 The data is plotted on a two dimensional latitude longitude grid and 
then the height contours are calculated. I am looking to obtain the 
coordinates of the contours(shown in red) in terms of latitude and 
longitude so that I can use that information  to calculate the curvature
 of the contour points using a least squares method. Is it possible to 
do this in Scipy ? The curvature of the earth is itself irrelevant in 
this case and it can be assumed to be flat. <br><br></div>Regards,<br></div>Ashwin. </div>
<br></div></div>______________________________<wbr>_________________<br>
SciPy-User mailing list<br>
<a href="mailto:SciPy-User@python.org" target="_blank">SciPy-User@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-user" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/scipy-user</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
SciPy-User mailing list<br>
<a href="mailto:SciPy-User@python.org">SciPy-User@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-user" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scipy-user</a><br>
<br></blockquote></div><br></div>