Skip to content

Target rise/set times give negative altitudes. #66

@jberlanga

Description

@jberlanga

Not sure if this is a real issue or just a misuse of target_rise_time/target_set_time by me.

I noticed (when wrapping up the current iteration of the Summer Triangle tutorial) that if you plug target rise/set times into an altaz frame, you get negative altitudes on the order of a few arcseconds below the horizon. This is a problem for plot_sky, at least, if users employ the broadest definition of "visible" for targets (sun is down, looking at target at/between rise and set times).

See example below:

altair_rise = subaru.target_rise_time(time, altair)
altair_set = subaru.target_set_time(time, altair)

vega_rise = subaru.target_rise_time(time, vega)
vega_set = subaru.target_set_time(time, vega)

In [128]: subaru.altaz(altair_rise, altair).alt
Out[128]: −0∘00′01.5222′′

In [130]: subaru.altaz(altair_set, altair).alt
Out[130]: −0∘00′01.4204′′

In [132]: subaru.altaz(vega_rise, vega).alt
Out[132]: −0∘00′02.2992′′

In [134]: subaru.altaz(vega_set, vega).alt
Out[134]: −0∘00′05.0659′′

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions