{"id":2251,"date":"2021-08-25T04:36:01","date_gmt":"2021-08-25T04:36:01","guid":{"rendered":"\/?p=2251"},"modified":"2021-08-25T06:44:35","modified_gmt":"2021-08-25T06:44:35","slug":"estimate-direction-of-a-live-webcam-from-position-of-the-moon-at-known-time","status":"publish","type":"post","link":"\/?p=2251","title":{"rendered":"Estimate Direction of a live webcam from position of the moon at known time"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2257\" src=\"\/wp-content\/uploads\/2021\/08\/Moon-seen-from-Lake-Superior-Marine-Museum-on-24-Aug-2021-about-10-10-pm-Houston-Texas-time-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"\/wp-content\/uploads\/2021\/08\/Moon-seen-from-Lake-Superior-Marine-Museum-on-24-Aug-2021-about-10-10-pm-Houston-Texas-time-300x169.png 300w, \/wp-content\/uploads\/2021\/08\/Moon-seen-from-Lake-Superior-Marine-Museum-on-24-Aug-2021-about-10-10-pm-Houston-Texas-time-1024x575.png 1024w, \/wp-content\/uploads\/2021\/08\/Moon-seen-from-Lake-Superior-Marine-Museum-on-24-Aug-2021-about-10-10-pm-Houston-Texas-time-768x432.png 768w, \/wp-content\/uploads\/2021\/08\/Moon-seen-from-Lake-Superior-Marine-Museum-on-24-Aug-2021-about-10-10-pm-Houston-Texas-time-1536x863.png 1536w, \/wp-content\/uploads\/2021\/08\/Moon-seen-from-Lake-Superior-Marine-Museum-on-24-Aug-2021-about-10-10-pm-Houston-Texas-time.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I was looking at <a href=\"https:\/\/www.youtube.com\/watch?v=9k_sg8rhsgk\">https:\/\/www.youtube.com\/watch?v=9k_sg8rhsgk<\/a> which is on the roof of the Lake Superior Maritime Visitor Center in Duluth, Minnesota at about 11:30 pm.\u00a0 The moon was shining brightly on the water.<\/p>\n<p>From Google maps I found the satellite view, a rough idea of where the camera was pointing, and the latitude and longitude in decimal degrees.<\/p>\n<p><a href=\"https:\/\/www.google.com\/maps\/place\/Lake+Superior+Marine+Museum\/@46.7796017,-92.0922983,623m\/data=!3m1!1e3!4m5!3m4!1s0x0:0x9f9b5f3ad6c9e702!8m2!3d46.779847!4d-92.092464\">https:\/\/www.google.com\/maps\/place\/Lake+Superior+Marine+Museum\/@46.7796017,-92.0922983,623m\/data=!3m1!1e3!4m5!3m4!1s0x0:0x9f9b5f3ad6c9e702!8m2!3d46.779847!4d-92.092464<\/a><\/p>\n<p>I found &#8220;MoonCalc&#8221; at MoonCalc.Org and set the location (left side about 2\/3rd &#8220;set lat\/lon&#8221;) and used the slider at the top to see the time.\u00a0 It gave me this URL to improve things later.\u00a0 I see the decimal lat long, the date and time.\u00a0 Not sure about &#8220;\/1\/3&#8221;.<\/p>\n<p><a href=\"https:\/\/www.mooncalc.org\/#\/46.6832,-91.9517,3\/2021.08.24\/22:31\/1\/3\">https:\/\/www.mooncalc.org\/#\/46.6832,-91.9517,3\/2021.08.24\/22:31\/1\/3<\/a><\/p>\n<p>I took a screen shot to record, since this is live, and I wanted to get the pixel location of the moon relative to the bottom center of the image (1920 * 1080 image is at 960, 1080)<\/p>\n<p>MoonCalc gives me 6.61 degrees altitude and 101.39 degrees azimuth. That is clockwise from North, and on their map it shows nicely.\u00a0 So (101.39 &#8211; 90) = 11.29 degrees south of Eastward, and there is a line to show me when the moon would rise, but it was cloudy there and then, so not available to check.\u00a0 Looks close.<\/p>\n<p>Editing the screen shot in Windows Paint, I chose the pencil so I could see the x,y coordinates.\u00a0 The pencil point is easier to see.\u00a0 Center of the moon is about (1553, 145) pixels in top = 0, and (1553, 1080-145 = 935) in bottom = 0.\u00a0 I zoomed in a few times to make it easier to center.<\/p>\n<p>The horizon is a bit hard to see at night, but the moonlight helps.\u00a0 I think it is about (1080-350 = 730) pixels from the bottom.\u00a0 And (1553-960 = 593) pixels along the horizon to underneath the moon.\u00a0 That angle is arctan(593\/730) = atan(0.8123288) = 39.08 degree. But too tired to work out the real distances from the image.<\/p>\n<p>It looks like the camera is pointing north of east, from the satellite view. I clipped the satellite image and put it in Paint. The center of the daytime image is near the end of the pier to the left of the light house.\u00a0 It is tedious to match the camera image with the satellite view. Different times and shadows.\u00a0 I think someone moved the trash can.\u00a0 There is a white box on the roof. I think that is the camera.<\/p>\n<p>I extended a line horizontally from the camera box (write the number down!) and then one vertically there to the end of the pier where I think the center goes.\u00a0 That is arctan(126\/1063) = 6.77 degree north of east.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2261\" src=\"\/wp-content\/uploads\/2021\/08\/Camera-location-and-directions-closer-look-300x158.png\" alt=\"\" width=\"511\" height=\"269\" srcset=\"\/wp-content\/uploads\/2021\/08\/Camera-location-and-directions-closer-look-300x158.png 300w, \/wp-content\/uploads\/2021\/08\/Camera-location-and-directions-closer-look-768x405.png 768w, \/wp-content\/uploads\/2021\/08\/Camera-location-and-directions-closer-look.png 823w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/p>\n<p>I think all cameras should have their camera, its parameters, location and direction published &#8211; if they are a public site.\u00a0 If it is on the Internet it is public.<\/p>\n<p>And the elevation of\u00a0 the moon above the horizon in the image is about (935-730 = 205) pixels.<\/p>\n<hr \/>\n<p>Torsten:<\/p>\n<p>I am trying to calculate the direction of a live webcam from clues in the image, including where the moon is showing. I used your MooncCalc in my draft.<\/p>\n<p>Here is the link to my notes:\u00a0 Estimate Direction of a live webcam from position of the moon at known time at<br \/>\n<a href=\"\/?p=2251\">\/?p=2251<\/a><\/p>\n<p>Have you ever tried this problem of identifying the location of a camera (telescope or any camera) from the position of moon, sun, planets, stars in the image?<\/p>\n<p>Here is where I used Astrometry.net with stars to find information about another live webcam.<br \/>\nCalibrating and documenting all images and videos on the Internet &#8211; Half Sky and All Sky Cameras at <a href=\"\/?p=2239\">\/?p=2239<\/a><\/p>\n<p>Richard Collins, Director, The Internet Foundation<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was looking at https:\/\/www.youtube.com\/watch?v=9k_sg8rhsgk which is on the roof of the Lake Superior Maritime Visitor Center in Duluth, Minnesota at about 11:30 pm.\u00a0 The moon was shining brightly on the water. From Google maps I found the satellite view, a rough idea of where the camera was pointing, and the latitude and longitude in <br \/><a class=\"read-more-button\" href=\"\/?p=2251\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,28,21],"tags":[],"class_list":["post-2251","post","type-post","status-publish","format-standard","hentry","category-all-sky-cameras","category-internet-efficiency","category-schools-universities-learning-and-working"],"_links":{"self":[{"href":"\/index.php?rest_route=\/wp\/v2\/posts\/2251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2251"}],"version-history":[{"count":11,"href":"\/index.php?rest_route=\/wp\/v2\/posts\/2251\/revisions"}],"predecessor-version":[{"id":2265,"href":"\/index.php?rest_route=\/wp\/v2\/posts\/2251\/revisions\/2265"}],"wp:attachment":[{"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2251"},{"taxonomy":"post_tag","embeddable":true,"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}