Skip to content

Commit

Permalink
Merge pull request #59 from aburrell/rc_v1.1.0
Browse files Browse the repository at this point in the history
Release Candidate v1.1.0
  • Loading branch information
aburrell authored Mar 5, 2021
2 parents a2e919f + 48ee3e6 commit ba9c592
Show file tree
Hide file tree
Showing 51 changed files with 2,267 additions and 2,303 deletions.
11 changes: 0 additions & 11 deletions .bumpversion.cfg

This file was deleted.

34 changes: 0 additions & 34 deletions .cookiecutterrc

This file was deleted.

12 changes: 0 additions & 12 deletions .coveragerc

This file was deleted.

9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
title: 'BUG: '
labels: 'bug'
assignees: ''

---
Expand All @@ -25,8 +25,9 @@ If applicable, add screenshots to help explain your problem.

**Computer (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]
- Python version [e.g. 3.6]
- Python version [e.g. 3.6]
- Compiler with version [e.g., gfortran 47]
- Apexpy version/branch [e.g., 1.1.0]

**Additional context**
Add any other context about the problem here.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'ENH: '
labels: 'enhancement'
assignees: ''
---

**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 [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen. Keep the scope as
narrow as possible, to make it easier to implement

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

**Additional context**
Add any other context or screenshots about the feature request here. For context, the apexpy version/branch you're working on, your system detail, your python version, and your compiler (with version) may or may not be relevant.

**Reminders**
This is a volunteer-driven project. Code contributions are welcome, as is help
testing new code.
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Question
about: Ask a question (and help us improve our documentation)
title: ''
labels: ''
title: 'Question: '
labels: 'question'
assignees: ''

---
Expand All @@ -25,8 +25,9 @@ If applicable, add screenshots to help explain your question.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]
- Python version [e.g. 3.6]
- Compiler with version [e.g., gfortran 22]
- Apexpy version/branch [e.g., 1.1.0]

**Additional context**
Add any other context about the problem here.
47 changes: 47 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Description

Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context. List any dependencies that are required
for this change. Please see ``CONTRIBUTING.rst`` for more guidelines.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality
to not work as expected)
- This change requires a documentation update
- Release candidate

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details for
your test configuration

- Test A
- Test B

**Test Configuration**:
* Operating system: (e.g., Hal)
* Python version number: (e.g., 3.7)
* Compiler with version number: (e.g. gfortran 9.0)
* Any details about your local setup that are relevant (e.g., apexpy version/branch)

# Checklist:

- [ ] Make sure you are merging into the ``develop`` (not ``main``) branch
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] 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.rst``, summarising the changes
- [ ] Add yourself to ``AUTHORS.rst`` and ``.zenodo.json``
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,8 @@ docs/_build
*.exe
*.out
*.app

# Local f2py wrappers
src/fortranapex/fortranapex-f2pywrappers.f*
src/fortranapex/fortranapex-f2pywrappers2.f*
src/fortranapex/fortranapexmodule.c
7 changes: 0 additions & 7 deletions .landscape.yaml

This file was deleted.

28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
language: python

python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- "2.7"
- "3.6"
- "3.7"
- "3.8"
- "3.9"

sudo: false

Expand All @@ -22,22 +23,21 @@ before_install:
- python --version
- uname -a
- lsb_release -a
- pip install numpy
- pip install numpy coveralls pytest-cov tox-travis

install:
- pip install coveralls pytest-cov coverage codecov
- python setup.py clean --all build_ext --force --inplace
- python setup.py develop
- pip install tox-travis
- python setup.py install

script:
- tox
- |
if [ $TRAVIS_PYTHON_VERSION == "3.7" ]; then
tox -e docs
fi
- tox -e $TRAVIS_PYTHON_VERSION

after_success:
- coverage combine
- coverage report
- coveralls --merge=extension-coveralls.json []
- coveralls
- codecov
- coveralls --rcfile=setup.cfg

notifications:
email:
Expand Down
51 changes: 51 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"license": {
"id": "MIT"
},
"notes": "When referencing this package, please cite both the package DOI and the Apex Coordinates journal article: Emmert, J. T., A. D. Richmond, and D. P. Drob (2010), A computationally compact representation of Magnetic-Apex and Quasi-Dipole coordinates with smooth base vectors, J. Geophys. Res., 115(A8), A08322, doi:10.1029/2010JA015326.",
"references": [
"Emmert, J. T., A. D. Richmond, and D. P. Drob (2010), A computationally compact representation of Magnetic-Apex and Quasi-Dipole coordinates with smooth base vectors, J. Geophys. Res., 115(A8), A08322, doi:10.1029/2010JA015326.",
"Richmond, A. D. (1995), Ionospheric Electrodynamics Using Magnetic Apex Coordinates, Journal of geomagnetism and geoelectricity, 47(2), 191–212, doi:10.5636/jgg.47.191."
],
"keywords": [
"Magnetic Apex Coordinates",
"Quasi Dipole Coordinates",
"MLT",
"Magnetic Local Time",
"Conversion",
"Coordinate Conversion",
"Converting",
"Ionosphere",
"Magnetic Field",
"Space Physics",
"Heliophysics"
],
"creators": [
{
"orcid": "0000-0002-8043-0953",
"name": "Christer van der Meeren"
},
{
"orcid": "0000-0001-5028-4943",
"name": "Karl M. Laundal"
},
{
"orcid": "0000-0001-8875-9326",
"affiliation": "Naval Research Laboratory",
"name": "Angeline G. Burrell"
},
{
"orcid": "0000-0002-3487-3630",
"name": "Gregory Starr"
},
{
"orcid": "0000-0002-4621-3453",
"name": "Ashton S. Reimer"
},
{
"orcid": "0000-0001-7955-4441",
"affiliation": "GFZ German Research Centre for Geosciences",
"name": "Achim Morschhauser"
}
]
}
2 changes: 2 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ This python wrapper is made by:
* Karl M. Laundal
* Christer van der Meeren
* Angeline G. Burrell (maintainer)
* Gregory Starr
* Ashton Reimer
* Achim Morschhauser

Fortran code by Emmert et al. [2010] [1]_. Quasi-dipole and modified
apex coordinates are defined by Richmond [1995] [2]_. The code uses
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
Changelog
=========

1.1.0 (2021-03-05)
------------------
* Adapted Fortran to read IRGF coefficients from a file (updated to IGRF-13)
* Improved the subsol routine to allow array input
* Improved PEP8 compliance
* Added some missing docstrings to unit tests
* Fixed AppVeyor test environment
* Updated python test versions
* Updated community and package documentation
* Fixed bug where NaNs caused array input to crash
* Fixed bug in quasi-dipole to apex conversion at equator
* Removed duplicate CI services

1.0.4 (2019-04-05)
----------------------------------------
* Updated installation instructions
Expand Down
Loading

0 comments on commit ba9c592

Please sign in to comment.