Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 3 additions & 5 deletions .github/workflows/python-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@ jobs:
- name: Test with pytest
run: |
# install the package in editable mode
pip install --no-deps --editable .
pixi run --environment dev pytest -n 0 --cov=./ --cov-report=xml \
--username=${{ secrets.EARTHDATA_USERNAME }} \
--password=${{ secrets.EARTHDATA_PASSWORD }}
pixi run coverage "--username=${{ secrets.EARTHDATA_USERNAME }} --password=${{ secrets.EARTHDATA_PASSWORD }}"
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage-report-${{ matrix.os }}
path: ./coverage.xml
path: coverage.xml

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ wheels/
.installed.cfg
*.egg
.pytest_cache
pytest.xml
.coverage
coverage.xml
pythonenv*/
venv/
*build-commands.txt
Expand Down
2 changes: 1 addition & 1 deletion gravity_toolkit/sea_level_equation.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def sea_level_equation(loadClm, loadSlm, glon, glat, land_function, LMAX=0,
LOVE=None, BODY_TIDE_LOVE=0, FLUID_LOVE=0, DENSITY=1.0, POLAR=True,
ITERATIONS=6, PLM=None, FILL_VALUE=0, ASTYPE=np.longdouble, SCALE=1e-280,
**kwargs):
"""
r"""
Solves the sea level equation with the option of including
polar motion feedback :cite:p:`Farrell:1976hm,Kendall:2005ds,Mitrovica:2003cq`

Expand Down
Loading