[Kstars-devel] help with batch processing section of calculator and airmass calculation

Christian Ambros ambrosc at gmail.com
Sat Sep 11 13:45:29 CEST 2010


Hi,

the problem with the other formulas (you can finde them at
en.wikipedia.org/wiki/airmass) is, they maybe more precize but they have a
different scala. You say that 1/sin(h) is use, which contributes to a
homogeneous plane-parallel atmosphere with no curvature of earth surface
attended. It gives reasonable results down to heights 10 degrees above
horizon.

I think it should be discussed whether it is a good idea to change it or
leaf it for the users convenience as it is. Only pros would rather notice,
but more often they would ignore it. I am not sure how using a  different
formula with an implied different scalar relates to different values in
photometry.
A correct airmass is necessary for  absolute photometry.
I can provide such a batch, if it is considered necessary.

For the problem with the batch processing an example file would just help so
I can figure out and maybe write a script for producing the correct
input/output syntax for the processing.

regards,
Christian


On Sat, Sep 11, 2010 at 10:43 AM, Akarsh Simha <akarshsimha at gmail.com>wrote:

> Hi Christian,
>
> >    Hi,
> >
> >    I have two questions. Where can I get an example file and some
> >    documentation about the batch processing in the calculator section. An
> >    example for the input and the output file would be nice.
>
> The batch processing had a lot of bugs, I don't know if anybody uses
> it and whether there's any documentation regarding that. So I'm afraid
> I don't know the answer to this, but I guess other developers here
> might.
>
> >    The second questions is, what formular did you use to determin the
> >    airmass? Was it Pickering (2002) X = 1/sin(h+244/(165+47h^1.1)) and
> where
> >    in the source code do I find it?
>
> I found this in the file kstars/dialogs/detaildialog.cpp (line 326):
>
>    //Airmass is approximated as the secant of the zenith distance,
>    //equivalent to 1./sin(Alt).  Beware of Inf at Alt=0!
>
> and it's followed by the same calculation described in the comment.
>
> That's bad! If you have the source code checked out and are capable of
> compiling it, you're welcome to replace it with the better formula you
> have and submit a patch.
>
> Thanks for pointing this out.
>
> Regards
> Akarsh
>



-- 
The components have no significance except as they contribute to a
functioning whole.

No trees were killed in sending this message. However, a large number of
electrons were seriously inconvenienced.....

Come to the dark side, we have sweets!

Die in dieser E-Mail enthaltenen Nachrichten und Anhänge sind ausschließlich
für den bezeichneten Adressaten bestimmt.  Sie können rechtlich geschützte,
vertrauliche Information beinhalten.
Falls Sie nicht der bezeichnete Empfänger oder zum Empfang dieser E-Mail
nicht berechtigt sind, ist die Verwendung, Vervielfältigung oder Weitergabe
der Nachrichten und Anhänge untersagt.
Falls Sie diese E-Mail irrtümlich erhalten haben, dann informieren Sie bitte
unverzüglich den Absender und vernichten Sie die E-Mail.
This e-mail massage and any attachment are intended exclusively for the
named addressee. They may contain confidential information which may also be
protected by professional secrecy.
Uless you are the named addressee (or authorised to receive for the
addressee) vou may not copy or use this message or any attachment or
disclose the contents to anyone else.
if this e-mail was sent to you by mistake please notify the sender
immediately and delete this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kstars-devel/attachments/20100911/b26e4825/attachment.htm 


More information about the Kstars-devel mailing list