Is it possible to calculate Shadow Info's North Angle manually without Geolocating


I have a plugin which depends on NorthAngle being accurately calculated, however, we cannot depend on the user having Geolocated before using the plugin.

Is it possible to either Geolocate completely programmatically given Latitude/Longitude or to calculate NorthAngle given Latitude/Longitude?