Skip to content

Map epoch and epoch_delta #1747

@tmplummer

Description

@tmplummer

Algorithm Description:

A temporary method for setting the map epoch and epoch_delta values has been implemented in the ena_maps.AbstractSkyMap.project_pset_values_to_map()` method. It just keeps track of the min and max epoch from psets that get projected to the map.

@nkerman pointed out that the end epoch should really be the end of the final PSET that is included instead of the start which is what is in the epoch variable. This ticket should fix that by either adding epoch_delta to all PSET products and getting the end epoch from end_epoch = epoch + epoch_delta, or we should keep track of the min and max pointing numbers. Using those we can query for the min pointing start time and max pointing end time to set the map epoch and epoch_delta values.

See PR discussion here:
Originally posted by @nkerman in #1743 (comment)

Metadata

Metadata

Assignees

Labels

Ins: HiRelated to the IMAP-Hi instrumentIns: LoRelated to the IMAP-Lo instrumentIns: UltraRelated to the IMAP-Ultra instrumentMapper ToolsWork related to common mapper toolsPhase E: Parent IssuePhase E major task indicatorPlannedTasks originally committed for the month

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions