Skip to content

ENH - Implement bad-angle flag calculation in GLOWS L1B Histogram #2721

@maxinelasp

Description

@maxinelasp

Parent issue: #1276

HistogramL1B._compute_histogram_flag_array() (glows_l1b_data.py:952) currently returns all zeros as a placeholder. It needs to be implemented per Section 12.3.3 of the algorithm document. The 4 bad-angle flags (shape (4, 3600)) are:

  1. is_close_to_uv_source - bin within masking radius of a UV point source catalog entry (ancillary file: imap_glows_l1b-map-of-uv-sources)
  2. is_inside_excluded_region - bin inside an excluded sky region (ancillary file: imap_glows_l1b-map-of-excluded-regions)
  3. is_excluded_by_instr_team - bin masked by instrument team for this block (ancillary file: imap_glows_l1b-exclusions-by-instr-team)
  4. is_suspected_transient - bin suspected to contain transient signal (ancillary file: imap_glows_l1b-suspected-transients)

Requires SPICE (ecliptic coordinates of bin centers) to compute angular distances to catalog entries. Depends on #2722 (ecliptic bin center coordinates).

Metadata

Metadata

Assignees

Labels

Ins: GLOWSRelated to the GLOWS instrumentLevel: L1Level 1 processingblockedIndicates that the issue or PR is a blocked by somethingenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions