Jump to content

Documentation link needs to be updated - and a note on elevation


jtara92101

Recommended Posts

The documentation/"more info" link in the Polyglot 3x store page doesn't work.

"Not found".

https://github.com/UniversalDevicesInc-PG3/udi-sun-poly/master/blob/README.md

If I push that button (MacOS/FirefoxPolyglot V3 via I0X Finder) it takes me to the above link and I get "not found".

 I found the following in a topic on this forum:

https://github.com/UniversalDevicesInc-PG3/udi-sun-poly/blob/master/README.md

This link works.

Took me a minute to spot the difference: the correct link reads blob/master while the incorrect link reads master/blob.

I had some trouble figuring out the format of the parameters. I fiddled around and finally got the format for latitude and longitude, and now I get values.

Still unsure about height. Feet or meters? That's not in the documentation. But at least now I can find the Github repo and read the code to figure it out.

Edit: answer - the poly uses astral.geocoder.

https://astral.readthedocs.io/en/latest/

There's a note in the documentation:

Quote

"Location elevations have been removed from the database. These were added due to a misunderstanding of the affect of elevation on the times of the sun. These are not required for the calculations, only the elevation of the observer above/below the location is needed."

And then I found this about Astral.Observer:

A float that is the elevation in metres above a location, if the nearest obscuring feature is the horizon

Edited by jtara92101
solution for how to set elevation
  • Like 1
Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...