To measure the azimuth and elevation of the moon, it is first necessary to determine the declination and hour angle of the celestial body. The declination is the latitude of the sun or the moon, which can be calculated directly according to the date. The time angle is the position of the sun or the moon on the ecliptic, so it is necessary to calculate the difference between the sun and the moon.
The above information is for reference only. If necessary, it is recommended to consult astronomers or experts in related fields.