[Top] [All Lists]

Re: Simple Calculation of Sunset Time required

Subject: Re: Simple Calculation of Sunset Time required
From: Dave Houston
Date: Mon, 18 Feb 2008 22:35:49 GMT
Newsgroups: sci.astro, sci.astro.amateur, comp.home.automation

Chris L Peterson <[email protected]> wrote:

>On Mon, 18 Feb 2008 10:34:41 -0800 (PST), tomcee <[email protected]>
>>One thing that has occured to me is that the range of possible sunset
>>times is about 193 minutes. (earliest sunset is 17:00, latest is 20:13
>>here in Detroit, Michigan, USA).  So, if I have the program use 1700
>>as a 'base' time (or time zero), then all I need is an offset from
>>that time.
>Well, that raises the question of whether this is a generic application,
>which needs to be portable with respect to location, or a one-off
>implementation. I doubt you want to load custom tables if this thing is
>going to be used in different places; for that, an analytical solution
>seems better.

You'll have to load a new table annually, anyway, so custom tables loaded by
the user is not that big a deal, assuming there's a way for users to update
the table.
[email protected]

<Prev in Thread] Current Thread [Next in Thread>