From 59d70e5782ed0077bf5db071baf4807565eb353c Mon Sep 17 00:00:00 2001 From: Jeff Klenzing Date: Mon, 2 Oct 2023 11:54:02 -0400 Subject: [PATCH] STY: add ackn and ref --- pysatNASA/instruments/maven_ngims.py | 22 ++++++++++++---------- pysatNASA/instruments/methods/maven.py | 5 +++++ 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/pysatNASA/instruments/maven_ngims.py b/pysatNASA/instruments/maven_ngims.py index cd1d4414..95252414 100644 --- a/pysatNASA/instruments/maven_ngims.py +++ b/pysatNASA/instruments/maven_ngims.py @@ -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' @@ -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}', @@ -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 diff --git a/pysatNASA/instruments/methods/maven.py b/pysatNASA/instruments/methods/maven.py index 69cec2ae..299b12b1 100644 --- a/pysatNASA/instruments/methods/maven.py +++ b/pysatNASA/instruments/methods/maven.py @@ -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).',