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

Release Candidate 0.3.4 #113

Merged
merged 123 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from 121 commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
1263aab
STY: author name
jklenzing Sep 6, 2022
56599a8
STY: use pyproject.toml
jklenzing Oct 26, 2022
55c6282
STY: one source of version
jklenzing Oct 26, 2022
1f4b4ac
DOC: update changelog
jklenzing Oct 26, 2022
eef1dfc
DOC: update install instructions
jklenzing Oct 26, 2022
ebd7ff0
STY: update conf.py to use pyproject
jklenzing Oct 26, 2022
1b7016d
STY: whitespace
jklenzing Oct 26, 2022
07a4a99
TST: update workflows
jklenzing Oct 26, 2022
3d15725
BUG: workflow
jklenzing Oct 26, 2022
6323da1
TST: NEP29
jklenzing Oct 26, 2022
1b6bc4d
STY: either or in workflow
jklenzing Oct 26, 2022
5199fbc
STY: pyproject-parser
jklenzing Oct 26, 2022
9253e8b
BUG: add to conf reqs
jklenzing Oct 26, 2022
b9876aa
STY: pytest syntax
jklenzing Nov 2, 2022
5c3e3a4
DOC: update changelog
jklenzing Nov 2, 2022
fd3de78
Merge pull request #100 from pysat/tst/syntax
jklenzing Nov 3, 2022
20665e2
STY: use setup.cfg
jklenzing Nov 9, 2022
f17afd4
STY: backwards compat
jklenzing Nov 9, 2022
e16e4b5
STY: update actions
jklenzing Nov 9, 2022
915596c
Merge branch 'develop' into sty/pyproject
jklenzing Nov 10, 2022
f3815d9
DOC: update changelog
jklenzing Nov 10, 2022
35f3db5
TST: add workflow for pysatRC
jklenzing Nov 10, 2022
12f228a
TST: set rc workflow to manual
jklenzing Nov 10, 2022
2badf50
Update CHANGELOG.md
jklenzing Nov 10, 2022
c8a178c
Merge pull request #101 from pysat/tst/rc
jklenzing Nov 10, 2022
44a1804
TST: add rc for external packages
jklenzing Feb 1, 2023
15c0f15
BUG: no binary
jklenzing Feb 1, 2023
6f9398a
BUG: no deps
jklenzing Feb 1, 2023
894307e
BUG: no binary
jklenzing Feb 1, 2023
6ec5750
BUG: fixes
jklenzing Feb 1, 2023
7119fce
BUG: no deps
jklenzing Feb 1, 2023
abd18e7
BUG: setuptools
jklenzing Feb 1, 2023
e482a9d
STY: pipe
jklenzing Feb 1, 2023
ece85b2
BUG: wheel
jklenzing Feb 1, 2023
5130452
TST: revert no-binary
jklenzing Feb 1, 2023
cf922fc
BUG: extra index
jklenzing Feb 1, 2023
63f7a90
STY: set workflow dispatch
jklenzing Feb 1, 2023
d9811fe
DOC: update changelog
jklenzing Feb 1, 2023
0e008af
BUG: fix docs requirements
jklenzing Feb 1, 2023
ead7b1b
MAINT: update GA versions
jklenzing Feb 1, 2023
725f777
DOC: update changelog
jklenzing Feb 1, 2023
6c2c6d3
TST: add NEP29 tests
jklenzing Feb 1, 2023
749adbc
DOC: update changelog
jklenzing Feb 1, 2023
fdc4572
BUG: pipe needed
jklenzing Feb 1, 2023
3f98bf4
TST: echo
jklenzing Feb 1, 2023
6acd738
Merge pull request #105 from pysat/tst/external_rc
jklenzing Feb 1, 2023
617bc60
STY: use constraints
jklenzing Feb 2, 2023
158ee88
BUG: constraints
jklenzing Feb 2, 2023
2170623
BUG: typo
jklenzing Feb 2, 2023
5264669
STY: cleanup debug statements
jklenzing Feb 2, 2023
a3c92af
TST: no binary
jklenzing Feb 2, 2023
7e6f7de
BUG: remove apexpy for nep29
jklenzing Feb 2, 2023
c0abff6
ENH: add skyfield
jklenzing Feb 16, 2023
301b9e0
MAINT: update ellipsoid
jklenzing Feb 16, 2023
3d8cb8d
STY: use geod labels
jklenzing Feb 16, 2023
7c36353
MAINT: add requirement
jklenzing Feb 16, 2023
677e70b
ENH: add ecef
jklenzing Feb 16, 2023
abdf7a0
STY: clean up comments
jklenzing Feb 17, 2023
46ce48e
TST: add test options
jklenzing Feb 17, 2023
01f6b3f
DOC: refs
jklenzing Feb 17, 2023
5d1dc95
DOC: instruments
jklenzing Feb 17, 2023
910420a
DOC: update changelog
jklenzing Feb 17, 2023
10ad9ea
DOC: update metadata
jklenzing Feb 17, 2023
2738688
Update .github/workflows/main.yml
jklenzing Feb 17, 2023
5675c8b
Merge pull request #107 from pysat/tst/nep29
jklenzing Feb 27, 2023
cc933fd
TST: add mac tests
jklenzing Feb 27, 2023
62a9803
DOC: update changelog
jklenzing Feb 27, 2023
27b4470
BUG: reinstall fortran on mac
jklenzing Feb 27, 2023
81a8cfc
REV: return sgp4 to WGS72
jklenzing Feb 27, 2023
d0b2b7a
DOC: clean up comments and meta
jklenzing Feb 27, 2023
d6723e3
Merge pull request #108 from pysat/tst/mac_tests
jklenzing Feb 27, 2023
f8ac407
TST: add tests for projections
jklenzing Feb 27, 2023
80d02af
DEP: deprecate calculate ecef
jklenzing Feb 27, 2023
8654cf0
DOC: update changelog
jklenzing Feb 27, 2023
62ffc91
Merge branch 'develop' into tst/64_projections
jklenzing Feb 27, 2023
739d0ec
Merge pull request #110 from pysat/tst/64_projections
jklenzing Mar 1, 2023
a8a9cac
MAINT: update standards
jklenzing Apr 26, 2023
6a2c701
TST: add manual test for tes rc install
jklenzing Apr 26, 2023
086dd6d
DOC: update changelog
jklenzing Apr 26, 2023
61bafbb
BUG: update doc errors / warnings
jklenzing Apr 26, 2023
b44194a
TST: set to workflow_dispatch
jklenzing Apr 26, 2023
131b092
TST: set pysat rc to push
jklenzing Apr 26, 2023
5a083ae
TST: add mac tests
jklenzing Apr 26, 2023
4af3758
TST: set pysat RC to workflow_dispatch
jklenzing Apr 26, 2023
27fbbd8
Apply suggestions from code review
jklenzing May 18, 2023
19006df
Merge pull request #111 from pysat/tst/ga_standards
jklenzing May 24, 2023
89004b7
Merge branch 'develop' into sty/pyproject
jklenzing May 30, 2023
05a4b04
STY: backward compat
jklenzing May 30, 2023
7c40c6d
STY: maintain old lists for backwards compat
jklenzing May 30, 2023
827a75b
MAINT: remove nep constraints
jklenzing May 30, 2023
22ffe28
STY: backwards compat
jklenzing May 30, 2023
a7e9bef
BUG: fix coverage
jklenzing May 30, 2023
bf54959
BUG: NEP29
jklenzing May 30, 2023
afbddfe
BUG: apexpy in nep29 tests
jklenzing May 30, 2023
e819c3a
Merge branch 'develop' into enh/skyfield
jklenzing May 31, 2023
70644ea
TST: add operational tests
jklenzing May 31, 2023
4b4923d
DOC: update changelog
jklenzing May 31, 2023
fe27c96
Apply suggestions from code review
jklenzing May 31, 2023
d6d3e58
TST: netcdf cap
jklenzing May 31, 2023
2a12ca3
Update .github/workflows/main.yml
jklenzing May 31, 2023
9c8bf34
Merge branch 'sty/pyproject' of https://github.com/pysat/pysatMission…
jklenzing May 31, 2023
181e3d2
Merge branch 'sty/pyproject' of https://github.com/pysat/pysatMission…
jklenzing May 31, 2023
7968b25
remove operational tests
jklenzing May 31, 2023
7d49ef5
BUG: var name
jklenzing May 31, 2023
6f124a9
Merge pull request #99 from pysat/sty/pyproject
jklenzing Jun 2, 2023
fcb7392
Merge branch 'develop' into enh/skyfield
jklenzing Jun 7, 2023
76ed032
DOC: update reqs
jklenzing Jun 8, 2023
fc07d52
BUG: add req to pyproject
jklenzing Jun 8, 2023
5497ba8
STY: update workflows
jklenzing Jun 8, 2023
3d89988
DOC: update docs
jklenzing Jun 8, 2023
5e53694
DOC: update changelog
jklenzing Jun 8, 2023
d2a94b7
Merge pull request #106 from pysat/enh/skyfield
jklenzing Jun 8, 2023
ca7e7a0
Apply suggestions from code review
jklenzing Jun 10, 2023
4859e5c
Merge pull request #112 from pysat/sty/docs
jklenzing Jun 12, 2023
d13a715
DOC: update changelog
jklenzing Jun 13, 2023
a762b06
DOC: update affiliations
jklenzing Jun 13, 2023
7072353
Apply suggestions from code review
jklenzing Jun 14, 2023
f5a693a
Update pysatMissions/instruments/missions_skyfield.py
jklenzing Jun 15, 2023
900261a
Update pysatMissions/instruments/missions_skyfield.py
jklenzing Jun 15, 2023
36eaa15
TST: set pip test to push
jklenzing Jun 15, 2023
a0959c4
TST: restore pip test to workflow_dispatch
jklenzing Jun 15, 2023
9cfa806
MAINT: remove setup.py
jklenzing Jun 16, 2023
ffaf150
MAINT: update min setuptools
jklenzing Jun 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
labels: bug
title: "BUG: "

---

**Describe the bug**
A clear and concise description of what the bug is.
# Description
A clear and concise description of what the bug is, including a description
of what you expected the outcome to be.

**To Reproduce**
# To Reproduce this bug:
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.
Consider including images or test files to help others reproduce the bug and
solve the problem.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]
## Test configuration
- OS: [e.g. Hal]
- Version: [e.g. Python 3.47]
- Other details about your setup that could be relevant

**Additional context**
Add any other context about the problem here.
# Additional context
Add any other context about the problem here, including expected behaviour.
24 changes: 17 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
---
name: Feature request
about: Suggest an idea for this project
title: "ENH: "
labels: enhancement

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
# Description
A clear and concise description of the new feature or behaviour you would like.

**Describe the solution you'd like**
## Potential impact

- Is the feature related to an existing problem?
- How critical is this feature to your workflow?
- How wide of an impact to you anticipate this enhancement having?
- Would this break any existing functionality?

## Potential solution(s)
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
# Alternatives
A clear description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
# Additional context
Add any other context or screenshots about the feature request here, potentially
including your operational configuration.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Question
about: A question about this project
title: "QUEST: "
labels: question

---

# Description
A clear and concise summary of your query

## Example code (optional)
If relevant, include sample code, images, or files so that others can understand
the full context of your question.

## Configuration
- OS: [e.g. Hal]
- Version: [e.g. Python 3.47]
- Other details about your setup that could be relevant
11 changes: 8 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ your test configuration
- Test A
- Test B

**Test Configuration**:
* Operating system
* Version number
## Test Configuration
* Operating system: Hal
* Version number: Python 3.X
* Any details about your local setup that are relevant

# Checklist:
Expand All @@ -42,3 +42,8 @@ your test configuration
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] Add a note to ``CHANGELOG.md``, summarizing the changes
- [ ] Update zenodo.json file for new code contributors

If this is a release PR, replace the first item of the above checklist with the
release checklist on the pysat wiki:
https://github.com/pysat/pysat/wiki/Checklist-for-Release
15 changes: 6 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,22 @@ on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest
runs-on: ["ubuntu-latest"]
strategy:
fail-fast: false
matrix:
python-version: [3.9]
python-version: ["3.11"]

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test_requirements.txt
- name: Install with dependencies
run: pip install .[doc]

- name: Check documentation build
run: sphinx-build -E -b html docs dist/docs
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/external_rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test with latest optional package RC

on: [workflow_dispatch]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10"]
rc-package: ["aacgmv2", "apexpy", "OMMBV"]

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

- name: Install standard dependencies
run: |
pip install -r requirements.txt
pip install -r test_requirements.txt

- name: Install RC dependency
run: pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ ${{ matrix.rc-package }}

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

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

- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=setup.cfg --service=github
54 changes: 38 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,53 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
os: ["ubuntu-latest", "windows-latest"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10", "3.11"]
numpy_ver: ["latest"]
include:
- python-version: "3.9"
numpy_ver: "1.21"
os: "ubuntu-latest"

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

- name: Install requirements for testing setup
run: |
python -m pip install --upgrade pip
pip install -r test_requirements.txt
- name: Reinstall fortran on MacOS
if: ${{ matrix.os == 'macos-latest' }}
run: brew reinstall gcc

- name: Install dependencies
- name: Install NEP29 dependencies
if: ${{ matrix.numpy_ver != 'latest'}}
run: |
pip install -r requirements.txt
pip install aacgmv2 --no-binary==aacgmv2
pip install apexpy --no-binary==apexpy
pip install OMMBV --no-binary==OMMBV
pip install numpy==${{ matrix.numpy_ver }}
pip install --upgrade-strategy only-if-needed .[test]

- name: Install standard dependencies
if: ${{ matrix.numpy_ver == 'latest'}}
run: pip install .[test]

- name: Install aacgmv2
# Optional package, continue with tests if install fails
continue-on-error: true
run: pip install aacgmv2 --no-binary==aacgmv2

- name: Install apexpy
# Skip apexpy for nep29 tests
if: ${{ matrix.numpy_ver == 'latest'}}
# Optional package, continue with tests if install fails
continue-on-error: true
run: pip install apexpy --no-binary==apexpy

- name: Install OMMBV
# Optional package, continue with tests if install fails
continue-on-error: true
run: pip install OMMBV --no-binary==OMMBV

- name: Set up pysat
run: |
Expand All @@ -48,10 +71,9 @@ jobs:
run: flake8 . --count --exit-zero --max-complexity=10 --statistics

- name: Test with pytest
run: |
pytest --cov=pysatMissions/
run: pytest

- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=setup.cfg --service=github
run: coveralls --rcfile=pyproject.toml --service=github
39 changes: 39 additions & 0 deletions .github/workflows/pip_rc_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will install Python dependencies and the latest RC of pysatNASA from test pypi.
# This test should be manually run before a pysatNASA RC is officially approved and versioned.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test install of latest RC from pip

on: [workflow_dispatch]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.11"] # Keep this version at the highest supported Python version

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

- name: Install standard dependencies
run: pip install -r requirements.txt

- name: Install pysatMissions RC
run: pip install --no-deps --pre -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ pysatMissions

- name: Set up pysat
run: |
mkdir pysatData
python -c "import pysat; pysat.params['data_dirs'] = 'pysatData'"
- name: Check that install imports correctly
run: |
cd ..
python -c "import pysatMissions; print(pysatMissions.__version__)"
44 changes: 44 additions & 0 deletions .github/workflows/pysat_rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test with latest pysat RC

on: [workflow_dispatch]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
python-version: ["3.10"]

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

- 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: Set up pysat
run: |
mkdir pysatData
python -c "import pysat; pysat.params['data_dirs'] = 'pysatData'"

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

- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=setup.cfg --service=github
3 changes: 2 additions & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"creators": [
{
"affiliation": "Goddard Space Flight Center",
"name": "Klenzing, Jeffrey",
"name": "Klenzing, Jeff",
"orcid": "0000-0001-8321-6074"
},
{
Expand Down Expand Up @@ -30,6 +30,7 @@
"orcid": "0000-0002-8191-4765"
},
{
"affiliation": "Universities Space Research Association, Goddard Space Flight Center",
"name": "Bhaneja, Preeti",
"orcid": "0000-0003-4900-2747"
}
Expand Down