Skip to content

astropy.time.Time supports multiple values, tesswcs.locate.check_observability should too #21

@d-giles

Description

@d-giles

The tesswcs.locate.check_observability method has an optional keyword argument time which is expected to be an astropy.time.Time object. A Time object is initialized with the val parameter, which is specified here:

val : sequence, ndarray, number, str, bytes, or Time object
Value(s) to initialize the time or times. Bytes are decoded as ascii.

The tesswcs.locate.check_observability does not support a valid multi-valued Time object being given, and results in an error a la ValueError: operands could not be broadcast together with shapes (2,) (122,) when identifying where the time, presumed to be singular, is checked against sector start and stop times.

Either time needs to be limited to a singular entry (and documented), or support needs to be added for multiple time values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions