Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ num_events:
DEPEND_0: epoch
DEPEND_1: priority
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: time_series
FIELDNAM: Number of Events
FILLVAL: *uint16_fillval
FORMAT: I5
LABLAXIS: Number of Events
LABL_PTR_1: priority_label
SCALETYP: linear
UNITS: " "
Expand All @@ -83,10 +83,10 @@ data_quality:
DEPEND_0: epoch
DEPEND_1: priority
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
DISPLAY_TYPE: no_plot
FIELDNAM: Data Quality
FILLVAL: *uint8_fillval
FORMAT: I3
LABLAXIS: Data Quality
LABL_PTR_1: priority_label
SCALETYP: linear
UNITS: " "
Expand All @@ -100,10 +100,10 @@ energy_step:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Energy Step
FILLVAL: *uint8_fillval
FORMAT: I3
LABLAXIS: Energy Step
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -118,10 +118,10 @@ energy_per_charge:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:EnergyPerCharge
DISPLAY_TYPE: spectrogram
FIELDNAM: Energy per Charge
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: Energy per Charge
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -136,10 +136,10 @@ gain:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Gain
FILLVAL: *uint8_fillval
FORMAT: I1
LABLAXIS: Gain
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -154,10 +154,10 @@ multi_flag:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
DISPLAY_TYPE: no_plot
FIELDNAM: Multi Flag
FILLVAL: *uint8_fillval
FORMAT: I1
LABLAXIS: Multi Flag
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -172,10 +172,10 @@ type:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Type
FILLVAL: *uint8_fillval
FORMAT: I1
LABLAXIS: Type
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -190,10 +190,10 @@ tof:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:TimeOfFlight
DISPLAY_TYPE: spectrogram
FIELDNAM: Time of Flight
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: TOF
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand Down Expand Up @@ -226,6 +226,7 @@ spin_angle:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:ArrivalDirection,Qualifier:DirectionAngle.AzimuthAngle
DISPLAY_TYPE: spectrogram
FIELDNAM: Spin Angle
FILLVAL: *real_fillval
FORMAT: F8.2
Expand All @@ -243,10 +244,10 @@ elevation_angle:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:ArrivalDirection,Qualifier:DirectionAngle.ElevationAngle
DISPLAY_TYPE: spectrogram
FIELDNAM: Elevation Angle
FILLVAL: *real_fillval
FORMAT: F8.2
LABLAXIS: Elevation Angle
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -261,10 +262,10 @@ ssd_energy:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:Energy
DISPLAY_TYPE: spectrogram
FIELDNAM: SSD Energy
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: SSD Energy
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -276,13 +277,13 @@ ssd_energy:
energy_per_nuc:
CATDESC: Energy per Nucleon
DEPEND_0: epoch
DEPEND_1: priority_label
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: spectrogram
FIELDNAM: Energy per Nucleon
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: Energy per Nucleon
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -297,10 +298,10 @@ ssd_id:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: SSD ID
FILLVAL: *uint8_fillval
FORMAT: I2
LABLAXIS: SSD ID
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ num_events:
DEPEND_0: epoch
DEPEND_1: priority
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: time_series
FIELDNAM: Number of Events
FILLVAL: *uint16_fillval
FORMAT: I5
LABLAXIS: Number of Events
LABL_PTR_1: priority_label
SCALETYP: linear
UNITS: " "
Expand All @@ -81,6 +81,7 @@ data_quality:
DEPEND_0: epoch
DEPEND_1: priority
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
DISPLAY_TYPE: no_plot
FIELDNAM: Data Quality
FILLVAL: *uint8_fillval
FORMAT: I3
Expand All @@ -97,10 +98,10 @@ energy_step:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Energy Step
FILLVAL: *uint8_fillval
FORMAT: I3
LABLAXIS: Energy Step
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -115,10 +116,10 @@ energy_per_charge:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:EnergyPerCharge
DISPLAY_TYPE: spectrogram
FIELDNAM: Energy per Charge
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: Energy per Charge
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -133,10 +134,10 @@ apd_energy:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:Energy
DISPLAY_TYPE: spectrogram
FIELDNAM: APD Energy
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: APD Energy
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -151,10 +152,10 @@ gain:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Gain
FILLVAL: *uint8_fillval
FORMAT: I1
LABLAXIS: Gain
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -169,10 +170,10 @@ apd_id:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: APD ID
FILLVAL: *uint8_fillval
FORMAT: I2
LABLAXIS: APD ID
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -187,10 +188,10 @@ position:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Position
FILLVAL: *uint8_fillval
FORMAT: I2
LABLAXIS: Position
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -205,10 +206,10 @@ multi_flag:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:DataQuality
DISPLAY_TYPE: no_plot
FIELDNAM: Multi Flag
FILLVAL: *uint8_fillval
FORMAT: I1
LABLAXIS: Multi Flag
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -223,10 +224,10 @@ type:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Support>SupportQuantity:Other
DISPLAY_TYPE: no_plot
FIELDNAM: Type
FILLVAL: *uint8_fillval
FORMAT: I1
LABLAXIS: Type
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand All @@ -241,10 +242,10 @@ tof:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:TimeOfFlight
DISPLAY_TYPE: spectrogram
FIELDNAM: Time of Flight
FILLVAL: *real_fillval
FORMAT: F12.4
LABLAXIS: TOF
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand Down Expand Up @@ -277,6 +278,7 @@ spin_angle:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:ArrivalDirection,Qualifier:DirectionAngle.AzimuthAngle
DISPLAY_TYPE: spectrogram
FIELDNAM: Spin Angle
FILLVAL: *real_fillval
FORMAT: F8.2
Expand All @@ -294,10 +296,10 @@ elevation_angle:
DEPEND_1: priority
DEPEND_2: event_num
DICT_KEY: SPASE>Particle>ParticleType:Ion,ParticleQuantity:ArrivalDirection,Qualifier:DirectionAngle.ElevationAngle
DISPLAY_TYPE: spectrogram
FIELDNAM: Elevation Angle
FILLVAL: *real_fillval
FORMAT: F8.2
LABLAXIS: Elevation Angle
LABL_PTR_1: priority_label
LABL_PTR_2: event_num_label
SCALETYP: linear
Expand Down
4 changes: 2 additions & 2 deletions imap_processing/codice/codice_l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ def process_lo_direct_events(dependencies: ProcessingInputCollection) -> xr.Data
# skip adding attributes for these variables. They should already
# have attrs carried over from l1a.
continue
l2_dataset[var].attrs.update(cdf_attrs.get_variable_attributes(var))
l2_dataset[var].attrs = cdf_attrs.get_variable_attributes(var)
# Update coord attributes
l2_dataset["priority"].attrs.update(
cdf_attrs.get_variable_attributes("priority", check_schema=False)
Expand Down Expand Up @@ -1461,7 +1461,7 @@ def process_hi_direct_events(dependencies: ProcessingInputCollection) -> xr.Data
cdf_attrs.get_global_attributes("imap_codice_l2_hi-direct-events")
)
for var in l2_dataset.data_vars:
l2_dataset[var].attrs.update(cdf_attrs.get_variable_attributes(var))
l2_dataset[var].attrs = cdf_attrs.get_variable_attributes(var)
# Update coord attributes
l2_dataset["priority"].attrs.update(
cdf_attrs.get_variable_attributes("priority", check_schema=False)
Expand Down
Loading
Loading