Skip to content

Commit

Permalink
glows update
Browse files Browse the repository at this point in the history
  • Loading branch information
daralynnrhode committed Jul 30, 2024
1 parent 143315d commit 84a093a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions imap_processing/glows/l1b/glows_l1b_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json
from dataclasses import InitVar, dataclass, field
from pathlib import Path
from typing import Optional

import numpy as np

Expand Down Expand Up @@ -250,11 +251,11 @@ class DirectEventL1B:
# l1a_file_name: str # TODO: Add once L1A questions are answered
# ancillary_data_files: np.ndarray # TODO: Add once L1A questions are answered
# The following variables are created from the InitVar data
de_flags: np.ndarray = field(init=False, default=None)
de_flags: Optional[np.ndarray] = field(init=False, default=None)
# TODO: First two values of DE are sec/subsec
direct_event_glows_times: np.ndarray = field(init=False, default=None)
direct_event_glows_times: Optional[np.ndarray] = field(init=False, default=None)
# 3rd value is pulse length
direct_event_pulse_lengths: np.ndarray = field(init=False, default=None)
direct_event_pulse_lengths: Optional[np.ndarray] = field(init=False, default=None)
# TODO: where does the multi-event flag go?

def __post_init__(
Expand Down

0 comments on commit 84a093a

Please sign in to comment.