Skip to content

Commit e866196

Browse files
authored
Merge branch 'rc_0_0_6' into no_remote_files
2 parents 4d627af + 93924dd commit e866196

21 files changed

+68
-68
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616

1717
name: Documentation tests
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with numpy ${{ matrix.numpy_ver }}
2828
runs-on: ${{ matrix.os }}
2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535

.github/workflows/pip_rc_install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
1818
runs-on: ${{ matrix.os }}
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

.github/workflows/pysat_rc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
1919
runs-on: ${{ matrix.os }}
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5-
## [0.0.6] - 2024-XX-XX
5+
## [0.0.6] - 2024-07-31
66
* New Instruments
77
* DE2 VEFIMAGB - electric and magnetic field on the same cadence
8-
* MAVEN mag
8+
* MAVEN MAG
99
* MAVEN SEP
1010
* MAVEN in situ key parameters
1111
* REACH Dosimeter
@@ -40,6 +40,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
4040
* Added version cap for sphinx_rtd_theme
4141
* Include standard tests for ICON IVM-B
4242
* Update NEP29 standards for Jun 2024
43+
* Updated standards for pandas, numpy, and pysat
44+
* Updated versions in GitHub Actions
4345

4446
## [0.0.5] - 2023-06-27
4547
* New Instruments

docs/supported_instruments.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ JPL GPS
188188

189189
.. _maven_insitu_kp:
190190

191-
MAVEN INSITU KP
192-
---------------
191+
MAVEN IN SITU KP
192+
----------------
193193

194194
.. automodule:: pysatNASA.instruments.maven_insitu_kp
195195
:members:

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pysatNASA"
7-
version = "0.0.5"
7+
version = "0.0.6"
88
description = "pysat support for NASA Instruments"
99
readme = "README.md"
1010
requires-python = ">=3.6"
@@ -44,7 +44,7 @@ dependencies = [
4444
"netCDF4",
4545
"numpy",
4646
"pandas",
47-
"pysat >= 3.1",
47+
"pysat >= 3.2",
4848
"requests",
4949
"scipy >= 1.4",
5050
"xarray"
@@ -84,6 +84,7 @@ markers = [
8484
"download",
8585
"no_download",
8686
"load_options",
87+
"new_tests",
8788
"first",
8889
"second"
8990
]

pysatNASA/instruments/de2_vefi.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
tag
4444
'', 'dca', 'ac'
4545
inst_id
46-
none supported
46+
None supported
4747
4848
4949
Warnings
@@ -133,7 +133,9 @@ def load(fnames, tag='', inst_id='', **kwargs):
133133
inst_id : str
134134
Instrument ID used to identify particular data set to be loaded.
135135
This input is nominally provided by pysat itself. (default='')
136-
136+
**kwargs : unpacked dict
137+
Optional kwargs that will be passed to the
138+
`pysatNASA.instruments.methods.cdaweb.load_xarray` function
137139
Returns
138140
-------
139141
data : pds.DataFrame
@@ -146,12 +148,16 @@ def load(fnames, tag='', inst_id='', **kwargs):
146148
Several variables relating to time stored in different formats are dropped.
147149
These are redundant and complicate the load procedure.
148150
151+
See Also
152+
--------
153+
pysatNASA.instruments.methods.cdaweb.load_xarray
154+
149155
"""
150156

151157
if tag == '':
152158
# Warn user that e-field data is dropped.
153159
estr = 'E-field data dropped'
154-
pysat.logger.warn(estr)
160+
pysat.logger.warning(estr)
155161

156162
# Drop E-field data
157163
if 'use_cdflib' in kwargs.keys():

pysatNASA/instruments/de2_vefimagb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111

112112
# Set the load routine
113113
def load(fnames, tag='', inst_id='', **kwargs):
114-
"""Load DE2 VEFI data.
114+
"""Load DE2 VEFI MAG B-field data.
115115
116116
This routine is called as needed by pysat. It is not intended
117117
for direct user interaction.

pysatNASA/instruments/dmsp_ssusi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ def clean(self):
131131

132132

133133
def concat_data(self, new_data, combine_times=False, **kwargs):
134-
"""Concatonate data to self.data for DMSP SSUSI data.
134+
"""Concatenate data to self.data for DMSP SSUSI data.
135135
136136
Parameters
137137
----------
138138
new_data : xarray.Dataset or list of such objects
139-
New data objects to be concatonated
139+
New data objects to be concatenated
140140
combine_times : bool
141141
For SDR data, optionally combine the different datetime coordinates
142142
into a single time coordinate (default=False)
@@ -155,7 +155,7 @@ def concat_data(self, new_data, combine_times=False, **kwargs):
155155
if self.tag in ['sdr-disk', 'sdr2-dist']:
156156
time_dims.append('time_auroral')
157157

158-
# Concatonate using the appropriate method for the number of time
158+
# Concatenate using the appropriate method for the number of time
159159
# dimensions
160160
jhuapl.concat_data(self, time_dims, new_data, combine_times=combine_times,
161161
**kwargs)

0 commit comments

Comments
 (0)