<div>I will work with this further, and report back once I find Alan's method... but for now, this seems to work:</div>
<div> </div>
<div>for i in range(0,20):<br> y=d[i][2].split('\xb0')<br> x=d[i][3].split('\xb0')<br> ydeg,ymin=int(y[0].rstrip()),float(y[1].strip('\' N'))<br> xdeg,xmin=int(x[0].rstrip()),float(x[1].rstrip("\' E").rstrip("\' W"))
<br> if re.search("W",x[1]): xdeg=-1*xdeg<br> if re.search("S",y[1]): ydeg=-1*ydeg<br> declat=abs(ydeg)+ymin/60<br> declon=abs(xdeg)+xmin/60<br> if ydeg < 0: declat=declat*-1<br> if xdeg < 0: declon=declon*-1
</div>