Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RC 0.0.6 #234

Merged
merged 346 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
346 commits
Select commit Hold shift + click to select a range
1148c1e
BUG: fixed init metadata
aburrell Oct 5, 2023
4044864
DOC: updated changelog
aburrell Oct 5, 2023
4afe2e6
Merge pull request #206 from pysat/inst/reach
jklenzing Oct 5, 2023
2b03daa
Merge branch 'develop' into maven_mgs
jklenzing Oct 5, 2023
807d60d
Merge pull request #210 from pysat/improved_init
aburrell Oct 5, 2023
8945d9d
Merge pull request #200 from pysat/maven_mgs
jklenzing Oct 5, 2023
ca4a609
Merge branch 'develop' into enh/103_104_zip
jklenzing Oct 6, 2023
fa6ab02
DOC: update changelog
jklenzing Oct 6, 2023
bdfd148
BUG: always return empty objects if no data
jklenzing Oct 18, 2023
168a574
DOC: update changelog
jklenzing Oct 18, 2023
cedd92c
BUG: update test
jklenzing Oct 18, 2023
37096e3
ENH: add test data
jklenzing Oct 23, 2023
2913b28
STY: use year for dir
jklenzing Oct 23, 2023
ebe4d53
Remove test data
jklenzing Oct 30, 2023
e2ad89f
STY: remove gzip
jklenzing Oct 30, 2023
8c9ff67
DOC: update changelog
jklenzing Oct 30, 2023
6825a0d
DOC: add comment
jklenzing Oct 31, 2023
058ab05
TST: add warning test
jklenzing Oct 31, 2023
756b952
STY: pep8
jklenzing Oct 31, 2023
939d26d
Merge pull request #209 from pysat/enh/103_104_zip
jklenzing Oct 31, 2023
af404d0
MAINT: update clean routine
jklenzing Nov 21, 2023
fb9c9ff
DOC: update changelog
jklenzing Nov 21, 2023
b1ed7ef
MAINT: allow old clean routine if needed
jklenzing Nov 21, 2023
e0f82fa
STY: improve style
jklenzing Nov 21, 2023
6489d85
MAINT: github token
jklenzing Nov 21, 2023
3439255
MAINT: github run id
jklenzing Nov 21, 2023
1d37214
BUG: github job
jklenzing Nov 21, 2023
cacc39c
BUG: new de2 load
jklenzing Nov 21, 2023
d893317
Merge pull request #214 from pysat/maint/cnofs_vefi
jklenzing Nov 22, 2023
f0c356e
Update CHANGELOG.md
jklenzing Nov 22, 2023
a6ee48b
Merge branch 'develop' into bug/cdf_load
jklenzing Nov 22, 2023
4143b40
BUG: coveralls
jklenzing Nov 24, 2023
3a824a1
MAINT: remove coveralls cap
jklenzing Nov 24, 2023
6105bb0
TST: use coveralls app
jklenzing Nov 24, 2023
8a37ed6
MAINT: add finished to coveralls
jklenzing Nov 27, 2023
c032ba8
MAINT: use command line coveralls
jklenzing Nov 27, 2023
ad961db
BUG: adjust env
jklenzing Nov 27, 2023
a067124
STY: update workflow syntax
jklenzing Nov 27, 2023
197e7b6
BUG: name
jklenzing Nov 27, 2023
4395ba7
BUG: empty meta in xarray
jklenzing Nov 27, 2023
e3d417e
TST: expand test options
jklenzing Nov 27, 2023
04bf86b
TST: add test for bad files
jklenzing Nov 27, 2023
16a7d93
Merge pull request #212 from pysat/bug/cdf_load
jklenzing Nov 27, 2023
ed72423
Merge branch 'develop' into bug/de2_vefi
jklenzing Nov 27, 2023
8fbf112
BUG: drop use_cdflib
jklenzing Nov 28, 2023
dbb166f
BUG: version cap for sphinx rtd
jklenzing Nov 28, 2023
c934515
BUG: pop not drop
jklenzing Nov 28, 2023
3550d61
DOC: add saber ref
jklenzing Nov 28, 2023
cc4cef5
DOC: update changelog
jklenzing Nov 28, 2023
ab5f867
MAINT: sphinx rtd theme cap
jklenzing Nov 28, 2023
095ba3c
DOC: add saber ref
jklenzing Nov 28, 2023
f9ac0cf
DOC: update changelog
jklenzing Nov 28, 2023
61cbf7a
BUG: drop extra dimension for de2_vefi
jklenzing Nov 29, 2023
4f3a24a
DEP: deprecate support for '' tag for vefi
jklenzing Nov 29, 2023
aa601b1
ENH: add vefimagb instrument
jklenzing Nov 29, 2023
415fc32
DOC: update changelog
jklenzing Nov 29, 2023
cd7dfaf
Merge pull request #216 from pysat/doc/saber
jklenzing Nov 29, 2023
350d3da
Merge branch 'develop' into bug/de2_vefi
jklenzing Nov 29, 2023
35bee75
Apply suggestions from code review
jklenzing Nov 29, 2023
33be2d9
STY: remove kwargs
jklenzing Nov 29, 2023
d69edf4
BUG: add additional skip check
jklenzing Nov 29, 2023
e82f331
BUG: update tests
jklenzing Nov 29, 2023
992b281
DOC: add comments
jklenzing Nov 29, 2023
35f1bb3
BUG: set de2 vefimagb to clean warn
jklenzing Nov 29, 2023
3c8386a
BUG: kwargs
jklenzing Nov 29, 2023
8a91717
Merge branch 'develop' into guvi_imaging_fix
jklenzing Nov 30, 2023
499fe07
MAINT: update rc tests
jklenzing Nov 30, 2023
45aa8af
Merge pull request #217 from pysat/bug/de2_vefi
jklenzing Nov 30, 2023
4f0df46
Merge pull request #219 from pysat/maint/rc_tests
jklenzing Nov 30, 2023
f169391
Update pysatNASA/tests/test_instruments.py
jklenzing Dec 5, 2023
c3638e7
Merge pull request #220 from pysat/develop
jklenzing Dec 5, 2023
3a32586
BUG: cdaweb download
jklenzing Dec 20, 2023
0c602f7
MAINT: tests for icon ivm b
jklenzing Dec 20, 2023
db54bed
DOC: update changelog
jklenzing Dec 20, 2023
e31230b
STY: use new test flags
jklenzing Dec 20, 2023
eeca527
STY: pep8
jklenzing Dec 20, 2023
4460d36
STY: turn off verbose on pytest
jklenzing Dec 20, 2023
78504c6
MAINT: update new tests flag
jklenzing Jan 17, 2024
968b8a4
STY: PEP8
jklenzing Jan 18, 2024
0a8c8d3
BUG: fix rc action
jklenzing Jan 18, 2024
53c09ab
ENH: add SDR disk tags to DMSP SSUSI
aburrell Feb 27, 2024
959481e
BUG: fix JHUAPL time
aburrell Feb 27, 2024
7c80f0d
STY: removed type equality
aburrell Feb 27, 2024
566244e
TST: added an ignore list for links
aburrell Feb 27, 2024
d175a35
BUG: fixed inners assignment
aburrell Mar 4, 2024
eaaef3b
TST: update GUVI test dates
aburrell Mar 4, 2024
f97fae7
Update pysatNASA/instruments/methods/cdaweb.py
jklenzing Mar 5, 2024
0fc050b
DOC: move link to comments
jklenzing Mar 5, 2024
95b0326
Merge branch 'bug/cdaweb_clean' of https://github.com/pysat/pysatNASA…
jklenzing Mar 5, 2024
4b84fcd
REV: move link back
jklenzing Mar 5, 2024
0b7d9b9
Merge pull request #223 from pysat/bug/cdaweb_clean
jklenzing Mar 5, 2024
236cb98
Merge branch 'develop' into guvi_imaging_fix
jklenzing Mar 5, 2024
33ed75f
MAINT: remove new test flag from timed_guvi
jklenzing Mar 5, 2024
a6a61fb
Update pysatNASA/instruments/timed_guvi.py
jklenzing Mar 6, 2024
483c8e1
MAINT: only skip high res data
jklenzing Mar 7, 2024
2d33371
Merge pull request #198 from pysat/guvi_imaging_fix
aburrell Mar 7, 2024
f82023e
Merge pull request #224 from pysat/develop
aburrell Mar 13, 2024
cdd841c
DOC: updated index depth
aburrell Mar 13, 2024
7490528
DOC: updated changelog
aburrell Mar 13, 2024
26ecb55
ENH: updated jhuapl methods
aburrell Mar 13, 2024
30b02f8
ENH: updated SSUSI clean and load
aburrell Mar 13, 2024
6942c0d
ENH: updated GUVI cleaning
aburrell Mar 13, 2024
7d767b9
STY: replaced tabs
aburrell Mar 13, 2024
1e5ef9c
BUG: fixed inputs
aburrell Mar 13, 2024
8f42f99
BUG: fixed errors in DMSP SSUSI
aburrell Mar 13, 2024
3ddf776
TST: created unit tests for JHUAPL methods
aburrell Mar 13, 2024
a874185
BUG: fixed test bugs
aburrell Mar 14, 2024
3883dee
STY: fixed hanging indent
aburrell Mar 14, 2024
948aa4f
BUG: fixed if condition
aburrell Mar 15, 2024
e0650a3
BUG: fixed `nCross` identification
aburrell Mar 15, 2024
b87fb4f
BUG: normalize auroral time name
aburrell Mar 15, 2024
eb57198
STY: fixed hanging indent
aburrell Mar 15, 2024
19ef369
Merge pull request #225 from pysat/dmsp_ssusi_sdr_disk
aburrell Mar 27, 2024
8b5e541
DOC: added acknowledgements
aburrell Mar 28, 2024
3f9f8bc
DOC: added pub release to docs
aburrell Mar 28, 2024
ce0d57e
DOC: top level pub release
aburrell Mar 28, 2024
c8bfc98
DOC: constellation pub release
aburrell Mar 28, 2024
6d6086f
DOC: updated instrument with pub release
aburrell Mar 28, 2024
17176b0
DOC: updated instrument methods headers
aburrell Mar 28, 2024
b58fc22
DOC: updated CDAWeb template
aburrell Mar 28, 2024
28d800a
DOC: updated test headers
aburrell Mar 28, 2024
195d859
MAINT: updated .gitignore
aburrell Mar 28, 2024
9c63b67
DOC: updated linked text
aburrell Mar 28, 2024
7b8ffcb
MAINT: updated conf.py
aburrell Mar 28, 2024
b2add3e
BUG: fixed typo
aburrell Mar 28, 2024
2ea44f5
BUG: fixed supported Instrument formatting
aburrell Mar 28, 2024
8b377f2
DOC: udpate zenodo
jklenzing Mar 28, 2024
0793fa5
MAINT: NEP29 apr 2024
jklenzing Mar 28, 2024
a7d3d35
DOC: update supported versions
jklenzing Mar 28, 2024
e968fec
DOC: update changelog
jklenzing Mar 28, 2024
b3ce91f
BUG: no new tests for ssusi
jklenzing Apr 9, 2024
379c4e3
BUG: comment out buggy tests
jklenzing Apr 11, 2024
8ed391b
BUG: turn off new tests for ICON FUV
jklenzing Apr 15, 2024
6fb8dfa
BUG: remove icon clean tests
jklenzing May 2, 2024
bb65a0b
BUG: manual install of git
jklenzing May 6, 2024
458f426
BUG: git branch
jklenzing May 6, 2024
b7b404c
BUG: spelling
jklenzing May 6, 2024
b198dea
BUG: use python setup
jklenzing May 6, 2024
9c5032e
BUG: hdf
jklenzing May 6, 2024
58af874
BUG: develop
jklenzing May 6, 2024
b36757b
STY: generalized `concat_data` method
aburrell Jun 6, 2024
73bf6ba
STY: use JHU APL concat
aburrell Jun 6, 2024
672b625
BUG: add custom `concat_data` method
aburrell Jun 6, 2024
9c33f07
DOC: udpated changelog
aburrell Jun 6, 2024
db5559c
BUG: update DMSP SSUSI test flags
aburrell Jun 7, 2024
c05d594
TST: expand test skipping
aburrell Jun 7, 2024
0d4ca86
Merge branch 'maint/nep29_apr24' into ssusi_bug
aburrell Jun 14, 2024
adae8e9
Update main.yml
jklenzing Jun 14, 2024
27cb538
Update main.yml
jklenzing Jun 14, 2024
d4bfcc2
BUG: always run finish
jklenzing Jun 14, 2024
ea02b89
BUG: GA syntax
jklenzing Jun 14, 2024
c49a879
BUG: turn off new tests for maven sep
jklenzing Jun 14, 2024
a53a469
Try coveralls app
jklenzing Jun 17, 2024
e1be3b6
BUG: switch to coveralls app
aburrell Jun 20, 2024
8c29804
BUG: fix yaml syntax
aburrell Jun 20, 2024
519f267
BUG: more yaml fixes
aburrell Jun 20, 2024
2012f63
BUG: re-added steps
aburrell Jun 20, 2024
4604d60
BUG: added if to yaml
aburrell Jun 20, 2024
5bdc4b5
BUG: fixed secret name
aburrell Jun 20, 2024
b0f6baf
BUG: specify coverage file
aburrell Jun 20, 2024
ed9ddd7
BUG: added debug line
aburrell Jun 20, 2024
86981a6
BUG: use coveralls repo token
aburrell Jun 20, 2024
8277eba
BUG: specify format
aburrell Jun 21, 2024
e35b977
BUG: remove "extra" options
aburrell Jun 21, 2024
a1a6baa
Revert "BUG: remove "extra" options"
aburrell Jun 21, 2024
ca2fe8a
BUG: add verbose mode
aburrell Jun 21, 2024
8220845
BUG: specify xml output
aburrell Jun 21, 2024
0abe87c
BUG: remove tabs from yaml
aburrell Jun 21, 2024
1d4c87b
BUG: update xml
aburrell Jun 21, 2024
090e4e1
BUG: made coveralls update
aburrell Jul 1, 2024
4086f8b
BUG: added debug
aburrell Jul 1, 2024
b8fc91f
BUG: fixed large hours
aburrell Jul 3, 2024
aa05825
NEP29 for June 2024
jklenzing Jul 8, 2024
5005613
Merge pull request #227 from pysat/maint/nep29_apr24
jklenzing Jul 8, 2024
fee8338
Merge branch 'develop' into nrl_pub_release
jklenzing Jul 10, 2024
1654369
Merge branch 'develop' into ssusi_bug
jklenzing Jul 10, 2024
22de06c
Merge pull request #231 from pysat/ssusi_bug
aburrell Jul 12, 2024
135d3a9
DOC: fixed acknowledgements
aburrell Jul 12, 2024
fea0036
DOC: Update ACKNOWLEDGEMENTS.md
aburrell Jul 12, 2024
0972945
Merge pull request #228 from pysat/nrl_pub_release
aburrell Jul 12, 2024
2265427
MAINT: update version
jklenzing Jul 16, 2024
888eec6
MAINT: add tentative release date
jklenzing Jul 16, 2024
b30b0b5
MAINT: add new pytest marker
jklenzing Jul 16, 2024
8009750
MAINT: logger.warning
jklenzing Jul 16, 2024
af3fba5
MAINT: pandas freq
jklenzing Jul 16, 2024
4008745
MAINT: ffill and bfill
jklenzing Jul 16, 2024
53178d4
MAINT: iloc
jklenzing Jul 16, 2024
50f1953
MAINT: pysat headers
jklenzing Jul 16, 2024
6d379d4
DOC: update changelog
jklenzing Jul 16, 2024
50a717f
MAINT: update GA versions
jklenzing Jul 16, 2024
8cbc2a9
DOC: update changelog
jklenzing Jul 16, 2024
00b0d52
MAINT: usage of dims
jklenzing Jul 16, 2024
c9d6fde
Merge pull request #235 from pysat/maint/future_warn_2024
jklenzing Jul 17, 2024
f2d3f0f
Try coveralls pip installation
Aadarsh-Govada Jul 22, 2024
93df6df
Use verbose and showlocals pytest versions
Aadarsh-Govada Jul 22, 2024
ca77acf
Cap cdasws version at 1.8.2
Aadarsh-Govada Jul 29, 2024
9c77cab
Restore MacOS brew coveralls installation
Aadarsh-Govada Jul 30, 2024
d4af585
Remove --quiet from coveralls installation on MacOS
Aadarsh-Govada Jul 30, 2024
ec99d15
Revert to rcfile coveralls publishing for MacOS
Aadarsh-Govada Jul 30, 2024
47b0694
DOC: Update zenodo.json
Aadarsh-Govada Jul 30, 2024
573830a
Update CHANGELOG.md
Aadarsh-Govada Jul 30, 2024
763b105
MAINT: Remove cdasws version cap
Aadarsh-Govada Jul 31, 2024
a0cbeee
BUG: test returned output
aburrell Jul 31, 2024
39d4d63
DOC: update changelog
aburrell Jul 31, 2024
8dc0ced
MAINT: fix broken link
jklenzing Aug 1, 2024
251831a
DOC: update changelog
jklenzing Aug 1, 2024
2f29a88
Merge pull request #238 from pysat/no_remote_files
aburrell Aug 1, 2024
c20ab63
Merge branch 'rc_0_0_6' into cover
jklenzing Aug 1, 2024
93924dd
Apply suggestions from code review
jklenzing Aug 1, 2024
52e4bae
DOC: updated GOLD docstring
aburrell Aug 5, 2024
2ffeeab
ENH: added SSUSI file format function
aburrell Aug 5, 2024
1f48f00
BUG: fix file format
aburrell Aug 5, 2024
31e4327
DOC: update changelog
aburrell Aug 5, 2024
be1bbe3
TST: update instrument tests
aburrell Aug 5, 2024
4d627af
STY: fix blank lines
aburrell Aug 5, 2024
e866196
Merge branch 'rc_0_0_6' into no_remote_files
aburrell Aug 5, 2024
fbf4676
Merge pull request #237 from pysat/cover
jklenzing Aug 5, 2024
5d54dd9
Merge pull request #240 from pysat/no_remote_files
aburrell Aug 9, 2024
0c552cd
BUG: fix broken link
jklenzing Aug 9, 2024
c4dd40a
BUG: link
jklenzing Aug 9, 2024
39f2125
STY: whitespace
jklenzing Aug 12, 2024
c32c10b
MAINT: use coveralls app
jklenzing Aug 13, 2024
5d779d0
BUG: whitespace
jklenzing Aug 13, 2024
0a4db1c
MAINT: use coveralls app in rc test
jklenzing Aug 13, 2024
e827fe6
DOC: update changelog
jklenzing Aug 13, 2024
47f7c3c
Update CHANGELOG.md
jklenzing Aug 14, 2024
ae06ffa
Merge pull request #241 from pysat/maint/coveralls
jklenzing Aug 14, 2024
cd12048
MAINT: ensure backward compat with pandas
jklenzing Aug 20, 2024
1c8fae8
STY: cleanup testlines in GA ops
jklenzing Aug 22, 2024
27385a5
Apply suggestions from code review
jklenzing Aug 23, 2024
0d08a48
Merge pull request #243 from pysat/maint/pandas_freq
jklenzing Aug 24, 2024
563b5f1
Apply suggestions from code review
jklenzing Aug 26, 2024
3a4cc1d
DOC: formosat note
jklenzing Aug 26, 2024
c35cb48
DOC: vefimag warning info
jklenzing Aug 26, 2024
d56ec0b
Update docs/archival.rst
jklenzing Aug 27, 2024
53a3b7a
Apply suggestions from code review
jklenzing Aug 29, 2024
2f27873
BUG: error if temp_dir unset
jklenzing Aug 29, 2024
c29d81d
TST: test _get_file
jklenzing Aug 29, 2024
97d4e96
Update pysatNASA/instruments/methods/cdaweb.py
jklenzing Aug 29, 2024
fa3e01f
Merge pull request #244 from pysat/bug/get_file
jklenzing Aug 29, 2024
8dba3ee
Update pysatNASA/instruments/templates/template_cdaweb_instrument.py
jklenzing Aug 29, 2024
b1f002d
STY: fix 80 char line length
jklenzing Aug 31, 2024
9de4cd8
MAINT: cycle ops env test to 3.9
jklenzing Sep 18, 2024
9f9a27a
DOC: update changelog
jklenzing Sep 18, 2024
6e1ef04
BUG: apt get
jklenzing Sep 18, 2024
27dead3
Merge pull request #246 from pysat/maint/ops_39
jklenzing Sep 19, 2024
4847f53
Update pysatNASA/instruments/templates/template_cdaweb_instrument.py
jklenzing Oct 2, 2024
97067ce
Apply suggestions from code review
jklenzing Oct 2, 2024
cb7d953
Update pysatNASA/instruments/templates/template_cdaweb_instrument.py
jklenzing Oct 2, 2024
f306c96
MAINT: update release, authors
jklenzing Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:

name: Documentation tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
40 changes: 25 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10", "3.11"]
python-version: ["3.11", "3.12"]
numpy_ver: ["latest"]
test_config: ["latest"]
include:
- python-version: "3.9"
numpy_ver: "1.21"
- python-version: "3.10"
numpy_ver: "1.24"
os: ubuntu-latest
test_config: "NEP29"
- python-version: "3.6.8"
numpy_ver: "1.19.5"
- python-version: "3.9"
numpy_ver: "1.23.5"
os: "ubuntu-20.04"
test_config: "Ops"

name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with numpy ${{ matrix.numpy_ver }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -41,10 +41,7 @@ jobs:
if: ${{ matrix.test_config == 'Ops'}}
run: |
pip install --no-cache-dir numpy==${{ matrix.numpy_ver }}
pip install "cdflib<1.0"
pip install -r requirements.txt
pip install -r test_requirements.txt
pip install .
pip install --upgrade-strategy only-if-needed .[test]

- name: Install NEP29 dependencies
if: ${{ matrix.test_config == 'NEP29'}}
Expand All @@ -71,7 +68,20 @@ jobs:
- name: Test with pytest
run: pytest

- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=pyproject.toml --service=github
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true

finish:
name: Finish Coverage Analysis
needs: build
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true

4 changes: 2 additions & 2 deletions .github/workflows/pip_rc_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
33 changes: 22 additions & 11 deletions .github/workflows/pysat_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -31,20 +31,31 @@ jobs:
- name: Install pysat RC
run: pip install --no-deps --pre -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ pysat

- name: Install standard dependencies
run: |
pip install -r requirements.txt
pip install -r test_requirements.txt
- name: Install with standard dependencies
run: pip install .[test]

- name: Set up pysat
run: |
mkdir pysatData
python -c "import pysat; pysat.params['data_dirs'] = 'pysatData'"

- name: Test with pytest
run: pytest -vs --cov=pysatNASA/
run: pytest

- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true

finish:
name: Finish Coverage Analysis
needs: build
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true

- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=setup.cfg --service=github
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ coverage.xml

# Sphinx documentation
docs/_build/
docs/.build/

# PyBuilder
target/
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- doc
28 changes: 26 additions & 2 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
{
"keywords": [
"pysat",
"ionosphere",
"atmosphere",
"thermosphere",
"magnetosphere",
jklenzing marked this conversation as resolved.
Show resolved Hide resolved
"mars",
"heliosphere",
"observations",
"models",
"space",
"satellites",
"analysis"
],
"creators": [
{
"affiliation": "Goddard Space Flight Center",
"name": "Klenzing, Jeff",
"orcid": "0000-0001-8321-6074"
},
{
"affiliation": "The University of Texas at Dallas",
"affiliation": "Cosmic Studio",
"name": "Stoneback, Russell",
"orcid": "0000-0001-7216-4336"
},
Expand All @@ -21,17 +35,27 @@
"orcid": "0000-0002-8191-4765"
},
{
"affilitation":"University of Colorado at Boulder",
"affiliation":"University of Colorado at Boulder",
"name": "Navarro, Luis",
"orcid": "0000-0002-6362-6575"
},
{
"affiliation": "NASA Postdoctoral Program, Goddard Space Flight Center",
"name": "Esman, Teresa",
"orcid": "0000-0003-0382-6281"
},
{
"affiliation": "Predictive Science",
"name": "Pembroke, Asher"
},
{
"name": "Spence, Carey",
"orcid": "0000-0001-8340-5625"
},
{
"affiliation": "Universities Space Research Association, Goddard Space Flight Center",
"name": "Govada, Aadarsh",
"orcid": "0009-0004-7873-5899"
}
]
}
30 changes: 30 additions & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Funding
=======
The following institutions, missions, and programs have provided funding
for pysatNASA development.

Institutions
-----------
- The Catholic University of America (CUA)
- Cosmic Studio
- Defense Advanced Research Projects Agency (DARPA) Defense Sciences Office
- National Aeronautics and Space Administration (NASA)
- National Oceanic and Atmospheric Administration (NOAA)
- National Science Foundation (NSF)
- Office of Naval Research (ONR)

Missions
--------
- NASA Ionospheric Connections Explorer (ICON)
- NASA Scintillation Observations and Response of the Ionosphere to
Electrodynamics (SORTIE)
- NASA Scintillation Prediction Observations Research Task (SPORT)
- NOAA Constellation Observing System for Meteorology Ionosphere and Climate (COSMIC-2)

jklenzing marked this conversation as resolved.
Show resolved Hide resolved
jklenzing marked this conversation as resolved.
Show resolved Hide resolved
Disclaimers
===========
Any opinions or actions taken by the listed funding institutions are those of
the institutions and do not necessarily reflect the views of the pysat
development team or individual authors. Any opinions, findings, and conclusions
or recommendations expressed in this material are those of the author(s) and do
not necessarily reflect the views of the funding agencies.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,51 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [0.0.6] - 2024-08-26
jklenzing marked this conversation as resolved.
Show resolved Hide resolved
* New Instruments
* DE2 VEFIMAGB - electric and magnetic field on the same cadence
* MAVEN MAG
* MAVEN SEP
* MAVEN in situ key parameters
* REACH Dosimeter
* DMSP SSUSI SDR-disk and SDR2-disk data
* New Features
* Allow files to be unzipped after download
* Added custom `concat_data` method to JHUAPL methods, for TIMED-GUVI and
DMSP-SSUSI data
* Added time-dependent, file format function for DMSP SSUSI to DMSP methods
* Added cleaning to TIMED-GUVI SDR imaging data
* Bug Fixes
* Fix general clean routine to skip transformation matrices
* New window needs to be integer for calculate_imf_steadiness
* Fixed version import
* Fixed a bug when data fails to load for CDF pandas objects
* Allow graceful failure with no files in jhuapl load functions
* New window needs to be integer for calculate_imf_steadiness
* Fixed a bug where cdas_download may drop the requested end date file
* Reverted the coveralls integration to the GitHub service for MacOS runs
* Fixed a bug where cdas_list_remote_files errored without remote data
* Documentation
* Added example of how to export data for archival
* Updated documentation refs
* Add keywords to zenodo
* Fixed broken links
* Deprecations
* Deprecated '' tag for de2_vefi module, support moved to de2_vefimagb
* Maintenance
* Implemented unit tests for cleaning warnings
* Use pip install for readthedocs
* Moved references and acknowledgements to methods files
* Added tests for OMNI HRO routines
* Use standard clean routine for C/NOFS VEFI mag data
* Added version cap for sphinx_rtd_theme
* Include standard tests for ICON IVM-B
* Update NEP29 standards for Jun 2024
* Updated standards for pandas, numpy, and pysat
* Updated versions in GitHub Actions
* Implement coveralls app in GitHub Actions
* Cycled Operational Environment testing

## [0.0.5] - 2023-06-27
* New Instruments
* ACE EPAM
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Python 3.6+.
| numpy | | |
| pandas | | |
| requests | | |
| scipy>=1.4.0 | | |
| xarray | | |

## PyPi Installation
Expand Down
1 change: 1 addition & 0 deletions docs/acknowledgements.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. mdinclude:: ../ACKNOWLEDGEMENTS.md
74 changes: 74 additions & 0 deletions docs/archival.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
Building data files for archival at NASA SPDF
=============================================

The codes and routines at :py:mod:`pysatNASA` are designed for end-users of
NASA data products. However, pysat in general has also been used to build
operational instruments for generating archival data to be uploaded to the
Space Physics Data Facility (SPDF) at NASA.

In general, such instruments should include separate naming conventions. An
example of this is the REACH data, where netCDF4 files are generated for
archival purposes as part of the :py:mod:`ops_reach` package, but can be
accessed by the end user through :py:mod:`pysatNASA`.

In general, a :py:class:`pysat.Instrument` object can be constructed for any
dataset. Full instructions and conventions can be found
`at ReadTheDocs <https://pysat.readthedocs.io/en/latest/new_instrument.html>`_.
In the case of the REACH data, the operational code reads in a series of CSV
files and updates the metadata according to user specifications. Once the file
is loaded, it can be exported to a netCDF4 file via pysat. In the simplest case,
this is:

::

reach = pysat.Instrument(inst_module=aero_reach, tag='l1b', inst_id=inst_id)
pysat.utils.io.inst_to_netcdf(reach, 'output_file.nc', epoch_name='Epoch')


However, there are additional options when translating pysat metadata to SPDF
preferred formats. An example of this is:

::

# Use meta translation table to include SPDF preferred format.
# Note that multiple names are output for compliance with pysat.
# Using the most generalized form for labels for future compatibility.
meta_dict = {reach.meta.labels.min_val: ['VALIDMIN'],
reach.meta.labels.max_val: ['VALIDMAX'],
reach.meta.labels.units: ['UNITS'],
reach.meta.labels.name: ['CATDESC', 'LABLAXIS', 'FIELDNAM'],
reach.meta.labels.notes: ['VAR_NOTES'],
reach.meta.labels.fill_val: ['_FillValue'],
'Depend_0': ['DEPEND_0'],
'Format': ['FORMAT'],
'Monoton': ['MONOTON'],
'Var_Type': ['VAR_TYPE']}

pysat.utils.io.inst_to_netcdf(reach, 'output_file.nc', epoch_name='Epoch',
meta_translation=meta_dict,
export_pysat_info=False)


In this case, note that the pysat 'name' label is output to three different
rstoneback marked this conversation as resolved.
Show resolved Hide resolved
metadata values required by the ITSP standards. Additionally, the
:py:attr:`export_pysat_info` option is set to false here. This drops several
internal :py:mod:`pysat` metadata values before writing to file. Note that
this includes the default acknowledgements and references objects. These
are set manually to avoid conflicts between the original dataset and the
rstoneback marked this conversation as resolved.
Show resolved Hide resolved
new dataset, as well as keeping in line with requirements with potentially
different data servers. An example can be found in the [REACH Operational Software](https://github.com/jklenzing/ops_reach/blob/main/ops_reach/instruments/methods/reach.py).

A full guide to SPDF metadata standards can be found
`at SPDF <https://spdf.gsfc.nasa.gov/istp_guide/istp_guide.html>`_.

Other best practices for archival include adding the operational software
version to the metadata header before writing. The pysat version will be
automatically written to the metadata.

::

reach.meta.header.Software_version = ops_reach.__version__


A full example script to generate output files can be found at
https://github.com/jklenzing/ops_reach/blob/main/scripts/netcdf_gen.py
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,7 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {'<name>': ('https://docs.python.org/', None)}

# Links to ignore, as they require human interaction
linkcheck_ignore = [r'https://saber.gats-inc.com/temp_errors.php']
Loading
Loading