# Static reference frame

**URL:** <https://community.openastronomy.org/t/static-reference-frame/989>\
**Category:** Astropy\
**Tags:** astropy, question\
**Created:** [June 3, 2024, 6:35am UTC](https://community.openastronomy.org/t/static-reference-frame/989 "2024-06-03T06:35:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angelo](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Angelo](https://community.openastronomy.org/u/Angelo)\
**Post date:** [June 3, 2024, 6:35am UTC](https://community.openastronomy.org/t/static-reference-frame/989/1 "2024-06-03T06:35:27Z")

</div>

Hi,

I would like to compute the pointing (azimuth and elevation) between two earth station starting form their known WGS84 positions. I was trying by using the AltAz reference, SkyCoord and trasfrom\_to but the pointing angles are not correct (some degree of error). I supose the error is because the libraries take in to account the earth motion (if I change the Time in AltAz I get a different result).

How can I define a target point and a reference frame that does not consider in any way the earth motion in order to get the correct pointing angle?

Thanks

Site2 = EarthLocation(lat= 39.57 _u.deg, lon= 9.44_u.deg, height = 600\*u.m)

Site2 = EarthLocation(lat= (39.62)_u.deg, lon= 9.50_u.deg, height = 610u.m)

RefFrame = AltAz( location= Site2)

Target = SkyCoord( Site1.itrs, frame = ‘itrs’)

Pointing = Target.transform\_to(RefFrame)
