Skip to content

Commit

Permalink
STY: add ackn and ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jklenzing committed Oct 2, 2023
1 parent 8c63359 commit 59d70e5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
22 changes: 12 additions & 10 deletions pysatNASA/instruments/maven_ngims.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
from pysat.instruments.methods import general as mm_gen
from pysatNASA.instruments.methods import cdaweb as cdw
from pysatNASA.instruments.methods import general as mm_nasa
from pysatNASA.instruments.methods import maven as mm_mvn

platform = 'maven'
name = 'ngims'
Expand All @@ -42,6 +43,17 @@
_test_dates = {'': {'csn': dt.datetime(2018, 8, 1),
'ion': dt.datetime(2018, 8, 1)}}

# ----------------------------------------------------------------------------
# Instrument methods

# Use standard init routine
init = functools.partial(mm_nasa.init, module=mm_mvn, name=name)


# Use default clean
clean = mm_nasa.clean


# support list files routine
# use the default CDAWeb method
fname1 = ''.join(['mvn_ngi_l2_csn-abund-?????_{year:04d}{month:02d}',
Expand Down Expand Up @@ -114,13 +126,3 @@ def load(fnames, tag=None, inst_id=None):
meta = pysat.Meta()

return data, meta


def init(self):
"""Initialize."""

return


# Use default clean
clean = mm_nasa.clean
5 changes: 5 additions & 0 deletions pysatNASA/instruments/methods/maven.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
' The Mars Atmosphere and Volatile Evolution',
'(MAVEN) Mission. Space Sci Rev 195, 3–48 (2015).',
' https://doi.org/10.1007/s11214-015-0139-x')),
'ngims': ''.join(('Mahaffy, P.R., Benna, M., King, T. et al. The',
'Neutral Gas and Ion Mass Spectrometer on the Mars',
'Atmosphere and Volatile Evolution Mission. Space',
'Sci Rev 195, 49–73 (2015).',
'https://doi.org/10.1007/s11214-014-0091-1')),
'sep': ''.join(('Larson, D.E., Lillis, R.J., Lee, C.O. et al.',
'The MAVEN Solar Energetic Particle Investigation.',
' Space Sci Rev 195, 153–172 (2015).',
Expand Down

0 comments on commit 59d70e5

Please sign in to comment.