AnsweredAssumed Answered

How do I account for Az Bearings over 360 degrees?

Question asked by demacintosh on Apr 27, 2017
Latest reply on Apr 28, 2017 by Dan_Patterson

Hello, I am working on a script to add AzBearings to a polyline shapefile and have a successful  script that does this. However, I need to add 14 to those values to account for magnetic north based on my location. If I add 14 to the field, I will then potentially have values over 360 so I need to account for that. My question is, in python how would I take the field containing the AzBearings and add 14 to that value and then subtract 360, but only from the values greater than 360? Thank you!