solarpy icon indicating copy to clipboard operation
solarpy copied to clipboard

allow the definition of geographical points of interest

Open aqreed opened this issue 5 years ago • 2 comments

Instead of latitude + solar/standard time...Find a way of enabling the use of longitude to define a city for example

aqreed avatar Aug 07 '19 21:08 aqreed

Found this SO article which considers several possible solutions, including both a python library and web based APIs.

JayPalm avatar Aug 07 '19 21:08 JayPalm

Right now all the functions work with local solar time, not GMT or UTC. In case someone wants to calculate irradiation on a particular local standard time, there is a function called "standard2solar_time" that would to the job of translating a desired standard time to its solar equivalent. Do you think further flexibility is needed @JayPalm? What would be the benefit of getting the timezone of a {latitude, longitude} using libraries like "pytzwhere" or "timezonefinder" as suggested in that SO question?

aqreed avatar Aug 19 '19 23:08 aqreed