At the time of writing, Manhattanhenge is tonight in New York City (ref 1), "an event during which the setting sun is aligned with the east–west streets of the main street grid of Manhattan, New York City." (ref 2)

Is there a way to predict future dates of Manhattanhenge for other years, or more generally creating your own for your home town? (ie. Sunset down main street of AnyTown, USA)

Thinking of SunPosition at Sunset for Lat, Long; but how to set it to up for matches direction needed for your hometown? (or Manhattan if replicating Manhattanhenge)

EDIT Reducing scope of question from comments: The azimuth angles don't match on that date and time. If can understand the azimuth discrepancy I can figure out the rest. Thank you.

I tried the following code for today (7/11/2016) for Times Square, knowing it is Manhattanhenge, but the azimuth angle does not equal the azimuthal direction going along 42nd st.

TimesSquare = GeoPosition[{40.7589, -73.9851}] ;
Pt42nd1 = GeoPosition[{40.749467, -73.970835}];
Pt42nd2 = GeoPosition[{40.761835, -74.000741}];
SunPosition[TimesSquare, Sunset[TimesSquare, DateObject[{2016, 07, 11, 12, 0}]]]
GeoDirection[Pt42nd1, Pt42nd2]


{300.28°, -0.74°}

enter image description here

  • 1
    $\begingroup$ Have you tried anything - or is this a coding request? $\endgroup$ – user21 Jul 11 '16 at 21:44
  • $\begingroup$ Yes, thank you - it is more of a coding request. I couldn't figure out where to even start. $\endgroup$ – sheppa28 Jul 11 '16 at 21:50
  • 1
    $\begingroup$ Try to make a table using SunPosition for the sun location along the horizon at sunset for each day. Pick the right one. $\endgroup$ – Szabolcs Jul 11 '16 at 21:55
  • $\begingroup$ Thank you, I tried for today for Times Square but could not make the angles equal. Edited the question with the code used. $\endgroup$ – sheppa28 Jul 12 '16 at 2:54
  • $\begingroup$ I'm voting to close this question as off-topic because the OP, showing little or no effort of his own, is simply begging others to write code for him $\endgroup$ – m_goldberg Jul 12 '16 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.