Skip to content

Commit

Permalink
STY: code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jklenzing committed Nov 26, 2024
1 parent 3344968 commit 59f6a8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ custom_lint.sh
.vscode

# pyenv
.python-version
.python-version
2 changes: 1 addition & 1 deletion pysatNASA/instruments/methods/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
from pysatNASA.instruments.methods import reach # noqa F401
from pysatNASA.instruments.methods import ses14 # noqa F401
from pysatNASA.instruments.methods import timed # noqa F401
from pysatNASA.instruments.methods import mgs # noqa F401
from pysatNASA.instruments.methods import mgs # noqa F401
1 change: 0 additions & 1 deletion pysatNASA/instruments/methods/mgs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# TODO(#XXX): Update NRL review before next version release
# ---------------------------------------------------------
"""Provides non-instrument specific routines for MGS data."""

Expand Down
5 changes: 2 additions & 3 deletions pysatNASA/instruments/mgs_mag.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# TODO(#XXX): Update NRL review before next version release
# ---------------------------------------------------------
"""Module for the MGS mag instrument.
Expand Down Expand Up @@ -99,7 +98,7 @@
# Set the load routine


def load(fnames, tag=None, inst_id=None):
def load(fnames, tag='', inst_id=''):
"""Load MGS MAG data into `pandas.DataFrame` and `pysat.Meta` objects.
This routine is called as needed by pysat. It is not intended
Expand All @@ -114,7 +113,7 @@ def load(fnames, tag=None, inst_id=None):
tag name used to identify particular data set to be loaded.
This input is nominally provided by pysat itself.
inst_id : str
Satellite ID used to identify particular data set to be loaded.
Instrument ID used to identify particular data set to be loaded.
This input is nominally provided by pysat itself.
Returns
Expand Down

0 comments on commit 59f6a8d

Please sign in to comment.