Skip to content

Commit

Permalink
ENH: added metadata
Browse files Browse the repository at this point in the history
Added metadata for the 'time_auroral' and 'nCross' variables.
  • Loading branch information
aburrell committed Jul 25, 2023
1 parent c2f7233 commit 819d8e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pysatNASA/instruments/methods/jhuapl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 819d8e1

Please sign in to comment.