The simulation tool of Orologi Solari gives the following results (see 
attachment) :
   azimuth = 20.72373
   height = 39.18438
using DeltaT = 66.8 sec.

Greetings.
Gian Casalegno



>----Messaggio originale----
>Da: [email protected]
>Data: 03/03/2010 18.42
>A: "Sundial List"<[email protected]>
>Ogg: Solar position calculator
>
>If anyone needs to make precise solar position calculations, the following 
software may be useful. There are a few caveats. The software is not a stand-
alone application, it's a software library. The software library needs to be 
used from the command line and it runs using the Python programming language.
>
>I'm a Mac user and this is one of those rare occasions when an arcane set of 
requirements actually favors the Mac. While Macintosh users tend to be allergic 
to the command line, it has existed in the OS for the past 10 years. Python is 
there too, lurking under the surface.
>
>I don't know enough about the PC, but clearly the command line is there and 
Python is available too. ( http://www.python.org/download/windows/ )
>
>With all that preface, here's what the code can do. Once the necessary files 
are installed, you can type the following commands and see the following 
results:
>
>>>> import datetime, solar
>>>> d = datetime.datetime(2010, 3, 3, 18, 0, 0)
>>>> lat = 42.0
>>>> long = -71
>>>> solar.GetAltitude(lat, long, d)
>39.203509044804704
>>>> solar.GetAzimuth(lat, long, d)
>-20.717667802423591
>>>> 
>
>Someone with an ephemeris can check these results. The format for datetime is 
"yyyy, mm, dd, hh, mm, ss", optionally followed by a number of microseconds. 
The time value entered is for UTC.
>
>There are other functions for calculations that I haven't explored. You can 
read more about the software tools at http://pysolar.org/  Example uses are 
shown at http://wiki.github.com/pingswept/pysolar/examples  The software itself 
is at http://github.com/pingswept/pysolar/downloads
>
>All of this software is the work of Brandon Stafford, who has generously 
offered his code free of charge to anyone who may find it useful. I have little 
experience with this software but, as much as I can, I'll be happy to help 
anyone trying to use it. 
>
>If there are any questions, I can pass them on to Brandon. I hope this is 
helpful to some.
>
>---------------------------------------------------
>https://lists.uni-koeln.de/mailman/listinfo/sundial
>
>

<<attachment: os.JPG>>

---------------------------------------------------
https://lists.uni-koeln.de/mailman/listinfo/sundial

Reply via email to