Re: sunrise/set/twilight calculators ?

2013-09-05 Thread Tony Finch
Thibaud Taudin Chabot tcha...@dds.nl wrote:

 for my coordinates 52.30N 4.85E sumwait gives the times using the Western
 European time. However on the continent for this longitude the Central
 European time is used.

It just uses your computer's timezone setting - it doesn't have a
geographical database of timezones.

Speaking of time zones and hours of daylight, I have a modified version of
sunwait that prints sunrise time tables, following the scheme I outlined
in RISKS a few years ago. http://catless.ncl.ac.uk/Risks/25.10.html#subj1

Tony.
-- 
f.anthony.n.finch  d...@dotat.at  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.
---
https://lists.uni-koeln.de/mailman/listinfo/sundial



Re: sunrise/set/twilight calculators ?

2013-09-05 Thread Thibaud Taudin Chabot

My pc has UTC+1 + daylightsaving time. UTC+1 is Central European time

At 10:32 5-9-2013, Tony Finch wrote:

Thibaud Taudin Chabot tcha...@dds.nl wrote:

 for my coordinates 52.30N 4.85E sumwait gives the times using the Western
 European time. However on the continent for this longitude the Central
 European time is used.

It just uses your computer's timezone setting - it doesn't have a
geographical database of timezones.

Speaking of time zones and hours of daylight, I have a modified version of
sunwait that prints sunrise time tables, following the scheme I outlined
in RISKS a few years ago. http://catless.ncl.ac.uk/Risks/25.10.html#subj1

Tony.
--
f.anthony.n.finch  d...@dotat.at  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.


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



sunrise/set/twilight calculators ?

2013-09-04 Thread Rob Seaman
Hi,

I'm looking for an (open source) unix/linux command line tool that calculates 
sunrise/sunset and civil/nautical/astronomical twilights for a particular 
location and date.

This will be used in a unix shell script so needs to be something I can install 
on the machine in question.  Could be binary or source.  I suppose it could be 
a remote web service, but would have to be easily callable from the command 
line, not something a human has to type in.

On the other hand, if the same functionality is available from library routines 
that would be great, but they should be C-callable and not require buying into 
a heavyweight programming paradigm.  Just enter lat/long and date/time (maybe 
timezone/altitude) and get the resulting number(s).  Not too much more than 
this.  Resulting accuracy to 5-10 minutes would be ok.

Any ideas?

Thanks!

Rob

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



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Richard B. Langley
Hi Rob:
Found the attached file in the archives on my computer. Can't vouch for 
accuracy. There is also the PyEphem Python suite, which can probably compute 
the required quantities from a command line call. I'll check, if you like.
-- Richard



SOFTWARE.SUNRISE.SUNSET.TWO
Description: Binary data


On Wednesday, September 4, 2013,247, at 10:11 AM, Rob Seaman wrote:

 Hi,
 
 I'm looking for an (open source) unix/linux command line tool that calculates 
 sunrise/sunset and civil/nautical/astronomical twilights for a particular 
 location and date.
 
 This will be used in a unix shell script so needs to be something I can 
 install on the machine in question.  Could be binary or source.  I suppose it 
 could be a remote web service, but would have to be easily callable from the 
 command line, not something a human has to type in.
 
 On the other hand, if the same functionality is available from library 
 routines that would be great, but they should be C-callable and not require 
 buying into a heavyweight programming paradigm.  Just enter lat/long and 
 date/time (maybe timezone/altitude) and get the resulting number(s).  Not too 
 much more than this.  Resulting accuracy to 5-10 minutes would be ok.
 
 Any ideas?
 
 Thanks!
 
 Rob
 
 ---
 https://lists.uni-koeln.de/mailman/listinfo/sundial
 

-
| Richard B. LangleyE-mail: l...@unb.ca |
| Geodetic Research Laboratory  Web: http://www.unb.ca/GGE/ |
| Dept. of Geodesy and Geomatics EngineeringPhone:+1 506 453-5142   |
| University of New Brunswick   Fax:  +1 506 453-4943   |
| Fredericton, N.B., Canada  E3B 5A3|
|Fredericton?  Where's that?  See: http://www.fredericton.ca/   |
-

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



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Richard B. Langley
It seems that PyEphem can also do the job:
http://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settings
-- Richard

On Wednesday, September 4, 2013,247, at 10:11 AM, Rob Seaman wrote:

 Hi,
 
 I'm looking for an (open source) unix/linux command line tool that calculates 
 sunrise/sunset and civil/nautical/astronomical twilights for a particular 
 location and date.
 
 This will be used in a unix shell script so needs to be something I can 
 install on the machine in question.  Could be binary or source.  I suppose it 
 could be a remote web service, but would have to be easily callable from the 
 command line, not something a human has to type in.
 
 On the other hand, if the same functionality is available from library 
 routines that would be great, but they should be C-callable and not require 
 buying into a heavyweight programming paradigm.  Just enter lat/long and 
 date/time (maybe timezone/altitude) and get the resulting number(s).  Not too 
 much more than this.  Resulting accuracy to 5-10 minutes would be ok.
 
 Any ideas?
 
 Thanks!
 
 Rob
 
 ---
 https://lists.uni-koeln.de/mailman/listinfo/sundial
 

-
| Richard B. LangleyE-mail: l...@unb.ca |
| Geodetic Research Laboratory  Web: http://www.unb.ca/GGE/ |
| Dept. of Geodesy and Geomatics EngineeringPhone:+1 506 453-5142   |
| University of New Brunswick   Fax:  +1 506 453-4943   |
| Fredericton, N.B., Canada  E3B 5A3|
|Fredericton?  Where's that?  See: http://www.fredericton.ca/   |
-

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



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Tony Finch
Rob Seaman sea...@noao.edu wrote:

 I'm looking for an (open source) unix/linux command line tool that
 calculates sunrise/sunset and civil/nautical/astronomical twilights for
 a particular location and date.

http://risacher.org/sunwait/

Tony.
-- 
f.anthony.n.finch  d...@dotat.at  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.
---
https://lists.uni-koeln.de/mailman/listinfo/sundial



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Rob Seaman
On Sep 4, 2013, at 6:44 AM, Richard B. Langley l...@unb.ca wrote:

 http://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settings


On Sep 4, 2013, at 6:45 AM, Tony Finch d...@dotat.at wrote:

 http://risacher.org/sunwait/


These both look like good candidates.  I'll read the documentation and throw a 
dart at the dartboard.

The wait part of sunwait is an interesting feature, though easy enough to 
implement with a wrapper script once you have the expected time of whatever 
event.  I implemented a similar feature for heliocentric triggers for an 
asteroseismology project.  Would have done barycentric, but the difference was 
negligible during the couple of months of observations.

Thanks!

Rob

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



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Richard B. Langley
Result from USNO website with coordinates entered to nearest minute (all that's 
allowable)

Wednesday
4 September 2013  Universal Time - 4h

 
SUN

Begin civil twilight  06:28 
Sunrise   06:53 
Sun transit   12:40 
Sunset18:27 
End civil twilight18:51 

-- Richard

On Wednesday, September 4, 2013,247, at 12:49 PM, Rob Seaman wrote:

 And the winners are:
 
 Pyephem turns out to be layered on Elwood Downey's Xephem - can't go wrong 
 there!
 
 However, rather than the usual python package management minuet, sunwait is 
 an old-school software tool - just compile and run giving all the numbers I 
 asked for with one command:
 
 % ./sunwait -p 30.1697S 70.8065W
 Using location: 30.169700S, 70.806500W
 Date:4 Sep 2013 
 Local time: 11:31 
 Day length: 11:39 hours
 With civil twilight 12:25 hours
 With nautical twilight  13:20 hours
 With astronomical twilight  14:16 hours
 Length of twilight:  civil   0:22 hours
   nautical   0:50 hours
   astronomical   1:18 hours
 Current specified time zone: CLT (-4 from UTC) 
 Sun transits meridian 1241 CLT
Sun rises 0653 CLT, sets 1830 CLT
Civil twilight starts 0629 CLT, ends 1854 CLT
 Nautical twilight starts 0601 CLT, ends 1922 CLT
 Astronomical twilight starts 0533 CLT, ends 1949 CLT
 
 Interested in the nights not the days so will have to run it for the 
 preceding date, too.  Will add moonrise/set/phase some other time :-)
 
 Thanks!
 
 Rob
 --
 
 On Sep 4, 2013, at 6:44 AM, Richard B. Langley l...@unb.ca wrote:
 
 http://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settings
 
 
 On Sep 4, 2013, at 6:45 AM, Tony Finch d...@dotat.at wrote:
 
 http://risacher.org/sunwait/
 
 ---
 https://lists.uni-koeln.de/mailman/listinfo/sundial
 

-
| Richard B. LangleyE-mail: l...@unb.ca |
| Geodetic Research Laboratory  Web: http://www.unb.ca/GGE/ |
| Dept. of Geodesy and Geomatics EngineeringPhone:+1 506 453-5142   |
| University of New Brunswick   Fax:  +1 506 453-4943   |
| Fredericton, N.B., Canada  E3B 5A3|
|Fredericton?  Where's that?  See: http://www.fredericton.ca/   |
-

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



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Rob Seaman
And the winners are:

Pyephem turns out to be layered on Elwood Downey's Xephem - can't go wrong 
there!

However, rather than the usual python package management minuet, sunwait is an 
old-school software tool - just compile and run giving all the numbers I asked 
for with one command:

% ./sunwait -p 30.1697S 70.8065W
Using location: 30.169700S, 70.806500W
Date:4 Sep 2013 
Local time: 11:31 
Day length: 11:39 hours
With civil twilight 12:25 hours
With nautical twilight  13:20 hours
With astronomical twilight  14:16 hours
Length of twilight:  civil   0:22 hours
  nautical   0:50 hours
  astronomical   1:18 hours
Current specified time zone: CLT (-4 from UTC) 
Sun transits meridian 1241 CLT
   Sun rises 0653 CLT, sets 1830 CLT
   Civil twilight starts 0629 CLT, ends 1854 CLT
Nautical twilight starts 0601 CLT, ends 1922 CLT
Astronomical twilight starts 0533 CLT, ends 1949 CLT

Interested in the nights not the days so will have to run it for the preceding 
date, too.  Will add moonrise/set/phase some other time :-)

Thanks!

Rob
--

On Sep 4, 2013, at 6:44 AM, Richard B. Langley l...@unb.ca wrote:

 http://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settings


On Sep 4, 2013, at 6:45 AM, Tony Finch d...@dotat.at wrote:

 http://risacher.org/sunwait/

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



Re: sunrise/set/twilight calculators ? TZM

2013-09-04 Thread David Patte ₯
A good chance for me to plug my Free Windows App (Time Zone Master) from 
relativedata.com, which gives


Sunrise6:54 CLT
Transit12:42:06 CLT
Sunset 18:29 CLT

Moonrise5:05 CLT
Transit11:59:33 CLT
Moonset 17:57 CLT

Also has local mean and apparent time, phase times and season times for 
multiple desktop clocks at once, with timezone corrections back to the 
beginning of standard time

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




Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Thibaud Taudin Chabot
for my coordinates 52.30N 4.85E sumwait gives the times using the 
Western European time. However on the continent for this longitude 
the Central European time is used.


At 17:49 4-9-2013, Rob Seaman wrote:

And the winners are:

Pyephem turns out to be layered on Elwood Downey's Xephem - can't go 
wrong there!


However, rather than the usual python package management minuet, 
sunwait is an old-school software tool - just compile and run giving 
all the numbers I asked for with one command:


% ./sunwait -p 30.1697S 70.8065W
Using location: 30.169700S, 70.806500W
Date:4 Sep 2013
Local time: 11:31
Day length: 11:39 hours
With civil twilight 12:25 hours
With nautical twilight  13:20 hours
With astronomical twilight  14:16 hours
Length of twilight:  civil   0:22 hours
  nautical   0:50 hours
  astronomical   1:18 hours
Current specified time zone: CLT (-4 from UTC)
Sun transits meridian 1241 CLT
   Sun rises 0653 CLT, sets 1830 CLT
   Civil twilight starts 0629 CLT, ends 1854 CLT
Nautical twilight starts 0601 CLT, ends 1922 CLT
Astronomical twilight starts 0533 CLT, ends 1949 CLT

Interested in the nights not the days so will have to run it for the 
preceding date, too.  Will add moonrise/set/phase some other time :-)


Thanks!

Rob
--

On Sep 4, 2013, at 6:44 AM, Richard B. Langley 
mailto:l...@unb.cal...@unb.ca wrote:



http://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settingshttp://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settings



On Sep 4, 2013, at 6:45 AM, Tony Finch 
mailto:d...@dotat.atd...@dotat.at wrote:



http://risacher.org/sunwait/http://risacher.org/sunwait/


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



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Dave Bell
how about altitude - CTIO shows as 2200 meters...

Sent from my iPad

On Sep 4, 2013, at 8:49 AM, Rob Seaman sea...@noao.edu wrote:

 And the winners are:
 
 Pyephem turns out to be layered on Elwood Downey's Xephem - can't go wrong 
 there!
 
 However, rather than the usual python package management minuet, sunwait is 
 an old-school software tool - just compile and run giving all the numbers I 
 asked for with one command:
 
 % ./sunwait -p 30.1697S 70.8065W
 Using location: 30.169700S, 70.806500W
 Date:4 Sep 2013 
 Local time: 11:31 
 Day length: 11:39 hours
 With civil twilight 12:25 hours
 With nautical twilight  13:20 hours
 With astronomical twilight  14:16 hours
 Length of twilight:  civil   0:22 hours
   nautical   0:50 hours
   astronomical   1:18 hours
 Current specified time zone: CLT (-4 from UTC) 
 Sun transits meridian 1241 CLT
Sun rises 0653 CLT, sets 1830 CLT
Civil twilight starts 0629 CLT, ends 1854 CLT
 Nautical twilight starts 0601 CLT, ends 1922 CLT
 Astronomical twilight starts 0533 CLT, ends 1949 CLT
 
 Interested in the nights not the days so will have to run it for the 
 preceding date, too.  Will add moonrise/set/phase some other time :-)
 
 Thanks!
 
 Rob
 --
 
 On Sep 4, 2013, at 6:44 AM, Richard B. Langley l...@unb.ca wrote:
 
 http://rhodesmill.org/pyephem/rise-set.html#naval-observatory-risings-and-settings
 
 
 On Sep 4, 2013, at 6:45 AM, Tony Finch d...@dotat.at wrote:
 
 http://risacher.org/sunwait/
 
 ---
 https://lists.uni-koeln.de/mailman/listinfo/sundial
 
---
https://lists.uni-koeln.de/mailman/listinfo/sundial



Re: sunrise/set/twilight calculators ?

2013-09-04 Thread Rob Seaman
On Sep 4, 2013, at 1:01 PM, Dave Bell db...@thebells.net wrote:

 how about altitude - CTIO shows as 2200 meters…

I emailed Richard but didn't cc the list:

On Sep 4, 2013, at 11:52 AM, Rob Seaman sea...@noao.edu wrote:

 Hi Richard,
 
 Pretty close.  Haven't worried about altitude or refraction (not even sure 
 what that means when the Sun is below the real or refracted horizon) or the 
 limb versus the center of the solar disk, etc.  (Not to mention neighboring 
 mountain peaks :-)  For this purpose just want something useful for 
 observation tracking and scheduling and various figures of merit.

It also needs to be inverted to give length of night rather than day :-)

astronomical night =  9:43
nautical night = 10:38
   civil night = 11:34
   length of night = 12:21

The folks doing the photometry for the survey in question are modeling the 
moonless night sky brightness, etc.  I explicitly didn't want that level of 
detail.

Thanks to everybody!

Rob

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