From 819d8e1225d828673d8a29a83e55ad7f61ff1e8e Mon Sep 17 00:00:00 2001 From: "Angeline G. Burrell" Date: Tue, 25 Jul 2023 12:42:20 -0400 Subject: [PATCH] ENH: added metadata Added metadata for the 'time_auroral' and 'nCross' variables. --- pysatNASA/instruments/methods/jhuapl.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pysatNASA/instruments/methods/jhuapl.py b/pysatNASA/instruments/methods/jhuapl.py index 27ef2b77..321c4dc4 100644 --- a/pysatNASA/instruments/methods/jhuapl.py +++ b/pysatNASA/instruments/methods/jhuapl.py @@ -316,6 +316,10 @@ def load_sdr_aurora(fnames, tag='', inst_id='', pandas_format=False, # Update the fill value, using information from the global header mdata[var] = {mdata.labels.fill_val: mdata.header.NO_DATA_IN_BIN_VALUE} + # Add metadata for 'time_auroral' and 'nCross' variables + mdata['time_auroral'] = {'desc': 'Auroral time index'} + mdata['nCross'] = {'desc': 'Number of cross-track observations'} + # Combine all time dimensions if inners is not None: if combine_times: