eo-tides 0.7.1.dev1__tar.gz → 0.7.1.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.github/actions/setup-python-env/action.yml +1 -1
- eo_tides-0.7.1.dev1/.github/workflows/on-release-main.yml → eo_tides-0.7.1.dev3/.github/workflows/publish.yml +8 -5
- eo_tides-0.7.1.dev1/.github/workflows/main.yml → eo_tides-0.7.1.dev3/.github/workflows/tests.yml +1 -16
- eo_tides-0.7.1.dev3/.github/workflows/update-version.yml +49 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/PKG-INFO +2 -2
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/README.md +1 -1
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/pyproject.toml +1 -1
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.editorconfig +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.github/dependabot.yml +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.github/workflows/check-links.yml +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.github/workflows/paper.yml +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.gitignore +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/.pre-commit-config.yaml +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/CITATION.cff +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/CONTRIBUTING.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/Dockerfile +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/LICENSE +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/Makefile +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/codecov.yaml +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/api.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/dtu23_download.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/eo-tides-abstract.gif +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/eo-tides-logo-128.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/eo-tides-logo-256.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/eo-tides-logo.gif +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/eo-tides-logo.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/eot20_download.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/fes_ftp.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/fes_myproducts.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/fes_productselection.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/fes_subscriptions.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/got_download.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/tide_models_clipped.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/assets/tpxo_download.jpg +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/changelog.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/credits.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/index.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/install.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/migration.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/notebooks/Case_study_intertidal.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/notebooks/Model_tides.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/notebooks/Satellite_data.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/notebooks/Tide_statistics.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/notebooks/Validating_tides.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/setup.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/docs/stylesheets/extra.css +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/eo_tides/__init__.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/eo_tides/eo.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/eo_tides/model.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/eo_tides/stats.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/eo_tides/utils.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/eo_tides/validation.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/mkdocs.yml +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/benchmarking.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/figures/joss_abstract.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/figures/joss_fig_gesla.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/figures/joss_fig_list.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/figures/joss_fig_pixel.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/figures/joss_fig_stats.png +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/paper.bib +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/paper.md +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/paper/paper.pdf +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/conftest.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/data/GESLA3_ALL 2.csv +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/data/IDO71013_2020.csv +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/data/broome-62650-aus-bom +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/data/san_diego_ca-569a-usa-uhslc +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/data/sydney_fort_denison-60370-aus-bom +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/data/tide_models.tar.gz +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/test_eo.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/test_model.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/test_stats.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/test_utils.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/test_validation.py +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/tests/testing.ipynb +0 -0
- {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev3}/uv.lock +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
name:
|
1
|
+
name: Build docs and publish main
|
2
2
|
|
3
3
|
on:
|
4
4
|
release:
|
@@ -7,29 +7,31 @@ on:
|
|
7
7
|
branches: [main]
|
8
8
|
|
9
9
|
jobs:
|
10
|
+
# Create a relevant package version for releases and dev changes
|
10
11
|
set-version:
|
11
|
-
runs-on: ubuntu-
|
12
|
+
runs-on: ubuntu-latest
|
12
13
|
steps:
|
13
14
|
- uses: actions/checkout@v4
|
14
15
|
with:
|
15
16
|
fetch-depth: 0 # Need full history for tags
|
16
17
|
|
17
18
|
- name: Export tag
|
19
|
+
if: ${{ github.event_name == 'release' }}
|
18
20
|
id: vars
|
19
21
|
run: echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
|
20
|
-
if: ${{ github.event_name == 'release' }}
|
21
22
|
|
22
23
|
# For full releases, use tag for version name
|
23
24
|
- name: Set release version
|
25
|
+
if: ${{ github.event_name == 'release' }}
|
24
26
|
run: |
|
25
27
|
sed -i "s/^version = \".*\"/version = \"$RELEASE_VERSION\"/" pyproject.toml
|
26
28
|
env:
|
27
29
|
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
|
28
|
-
if: ${{ github.event_name == 'release' }}
|
29
30
|
|
30
31
|
# For merges to main, incremement patch version by one
|
31
32
|
# and use ".devN" suffix based on commits since tag
|
32
33
|
- name: Set dev version
|
34
|
+
if: ${{ github.event_name == 'push' }}
|
33
35
|
run: |
|
34
36
|
LATEST_TAG=$(git describe --tags --abbrev=0)
|
35
37
|
IFS='.' read -r MAJOR MINOR PATCH <<< "$LATEST_TAG"
|
@@ -37,7 +39,6 @@ jobs:
|
|
37
39
|
DEV_NUM=$(git rev-list $LATEST_TAG..HEAD --count)
|
38
40
|
DEV_VERSION="$MAJOR.$MINOR.$PATCH.dev$DEV_NUM"
|
39
41
|
sed -i "s/^version = \".*\"/version = \"$DEV_VERSION\"/" pyproject.toml
|
40
|
-
if: ${{ github.event_name == 'push' }}
|
41
42
|
|
42
43
|
- name: Upload updated pyproject.toml
|
43
44
|
uses: actions/upload-artifact@v4
|
@@ -45,6 +46,7 @@ jobs:
|
|
45
46
|
name: pyproject-toml
|
46
47
|
path: pyproject.toml
|
47
48
|
|
49
|
+
# Publish package to PyPI
|
48
50
|
publish:
|
49
51
|
runs-on: ubuntu-latest
|
50
52
|
needs: [set-version]
|
@@ -68,6 +70,7 @@ jobs:
|
|
68
70
|
env:
|
69
71
|
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
70
72
|
|
73
|
+
# Deploy documentation to public-facing site
|
71
74
|
deploy-docs:
|
72
75
|
needs: publish
|
73
76
|
runs-on: ubuntu-latest
|
eo_tides-0.7.1.dev1/.github/workflows/main.yml → eo_tides-0.7.1.dev3/.github/workflows/tests.yml
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
name:
|
1
|
+
name: Run tests and checks
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
@@ -96,18 +96,3 @@ jobs:
|
|
96
96
|
|
97
97
|
- name: Check if documentation can be built
|
98
98
|
run: uv run mkdocs build -s
|
99
|
-
|
100
|
-
# Only deploy docs if on push and if all tests pass
|
101
|
-
deploy-docs:
|
102
|
-
if: github.event_name == 'push'
|
103
|
-
needs: [quality, check-docs, run-tests]
|
104
|
-
runs-on: ubuntu-latest
|
105
|
-
steps:
|
106
|
-
- name: Check out
|
107
|
-
uses: actions/checkout@v4
|
108
|
-
|
109
|
-
- name: Set up the environment
|
110
|
-
uses: ./.github/actions/setup-python-env
|
111
|
-
|
112
|
-
- name: Deploy documentation
|
113
|
-
run: uv run mkdocs gh-deploy --force
|
@@ -0,0 +1,49 @@
|
|
1
|
+
name: Upgrade package version
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
inputs:
|
6
|
+
bump_type:
|
7
|
+
description: "Version bump type (patch by default)"
|
8
|
+
required: false
|
9
|
+
default: "patch"
|
10
|
+
type: choice
|
11
|
+
options:
|
12
|
+
- major
|
13
|
+
- minor
|
14
|
+
- patch
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
update-version:
|
18
|
+
runs-on: ubuntu-latest
|
19
|
+
|
20
|
+
steps:
|
21
|
+
- name: Checkout repository
|
22
|
+
uses: actions/checkout@v4
|
23
|
+
with:
|
24
|
+
fetch-depth: 0
|
25
|
+
|
26
|
+
- name: Set up the environment
|
27
|
+
uses: ./.github/actions/setup-python-env
|
28
|
+
|
29
|
+
- name: Bump version
|
30
|
+
run: |
|
31
|
+
uv version --bump ${{ inputs.bump_type || 'patch' }}
|
32
|
+
uv sync --all-extras
|
33
|
+
NEW_VERSION=$(grep -m 1 "version = " pyproject.toml | cut -d '"' -f 2)
|
34
|
+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
|
35
|
+
|
36
|
+
- name: Commit changes
|
37
|
+
uses: stefanzweifel/git-auto-commit-action@v5
|
38
|
+
with:
|
39
|
+
commit_message: "Bump version to ${{ env.NEW_VERSION }} [skip ci]"
|
40
|
+
file_pattern: "pyproject.toml uv.lock"
|
41
|
+
|
42
|
+
- name: Create Release
|
43
|
+
if: success()
|
44
|
+
uses: softprops/action-gh-release@v1
|
45
|
+
with:
|
46
|
+
name: ${{ env.NEW_VERSION }}
|
47
|
+
tag_name: ${{ env.NEW_VERSION }}
|
48
|
+
generate_release_notes: true
|
49
|
+
token: ${{ secrets.PAT }}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: eo-tides
|
3
|
-
Version: 0.7.1.
|
3
|
+
Version: 0.7.1.dev3
|
4
4
|
Summary: Tide modelling tools for large-scale satellite earth observation analysis
|
5
5
|
Project-URL: Homepage, https://GeoscienceAustralia.github.io/eo-tides/
|
6
6
|
Project-URL: Repository, https://github.com/GeoscienceAustralia/eo-tides
|
@@ -52,7 +52,7 @@ Description-Content-Type: text/markdown
|
|
52
52
|
<img align="right" width="200" src="https://github.com/GeoscienceAustralia/eo-tides/blob/main/docs/assets/eo-tides-logo.gif?raw=true" alt="eo-tides logo" style="margin-right: 40px;">
|
53
53
|
|
54
54
|
[](https://pypi.org/project/eo-tides/)
|
55
|
-
[](https://github.com/GeoscienceAustralia/eo-tides/actions/workflows/tests.yml?query=branch%3Amain)
|
56
56
|
[](https://github.com/GeoscienceAustralia/eo-tides/blob/main/pyproject.toml)
|
57
57
|
[](https://codecov.io/gh/GeoscienceAustralia/eo-tides)
|
58
58
|
[](https://img.shields.io/github/license/GeoscienceAustralia/eo-tides)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<img align="right" width="200" src="https://github.com/GeoscienceAustralia/eo-tides/blob/main/docs/assets/eo-tides-logo.gif?raw=true" alt="eo-tides logo" style="margin-right: 40px;">
|
4
4
|
|
5
5
|
[](https://pypi.org/project/eo-tides/)
|
6
|
-
[](https://github.com/GeoscienceAustralia/eo-tides/actions/workflows/tests.yml?query=branch%3Amain)
|
7
7
|
[](https://github.com/GeoscienceAustralia/eo-tides/blob/main/pyproject.toml)
|
8
8
|
[](https://codecov.io/gh/GeoscienceAustralia/eo-tides)
|
9
9
|
[](https://img.shields.io/github/license/GeoscienceAustralia/eo-tides)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|