eo-tides 0.7.1.dev1__tar.gz → 0.7.1.dev2__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.
Files changed (78) hide show
  1. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.github/actions/setup-python-env/action.yml +1 -1
  2. eo_tides-0.7.1.dev1/.github/workflows/on-release-main.yml → eo_tides-0.7.1.dev2/.github/workflows/publish.yml +9 -5
  3. eo_tides-0.7.1.dev1/.github/workflows/main.yml → eo_tides-0.7.1.dev2/.github/workflows/tests.yml +1 -16
  4. eo_tides-0.7.1.dev2/.github/workflows/update-version.yml +49 -0
  5. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/PKG-INFO +2 -2
  6. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/README.md +1 -1
  7. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/pyproject.toml +1 -1
  8. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.editorconfig +0 -0
  9. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  10. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  11. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.github/dependabot.yml +0 -0
  12. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.github/workflows/check-links.yml +0 -0
  13. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.github/workflows/paper.yml +0 -0
  14. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.gitignore +0 -0
  15. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/.pre-commit-config.yaml +0 -0
  16. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/CITATION.cff +0 -0
  17. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/CONTRIBUTING.md +0 -0
  18. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/Dockerfile +0 -0
  19. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/LICENSE +0 -0
  20. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/Makefile +0 -0
  21. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/codecov.yaml +0 -0
  22. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/api.md +0 -0
  23. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/dtu23_download.jpg +0 -0
  24. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/eo-tides-abstract.gif +0 -0
  25. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/eo-tides-logo-128.png +0 -0
  26. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/eo-tides-logo-256.png +0 -0
  27. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/eo-tides-logo.gif +0 -0
  28. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/eo-tides-logo.png +0 -0
  29. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/eot20_download.jpg +0 -0
  30. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/fes_ftp.jpg +0 -0
  31. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/fes_myproducts.jpg +0 -0
  32. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/fes_productselection.jpg +0 -0
  33. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/fes_subscriptions.jpg +0 -0
  34. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/got_download.jpg +0 -0
  35. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/tide_models_clipped.jpg +0 -0
  36. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/assets/tpxo_download.jpg +0 -0
  37. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/changelog.md +0 -0
  38. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/credits.md +0 -0
  39. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/index.md +0 -0
  40. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/install.md +0 -0
  41. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/migration.md +0 -0
  42. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/notebooks/Case_study_intertidal.ipynb +0 -0
  43. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/notebooks/Model_tides.ipynb +0 -0
  44. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/notebooks/Satellite_data.ipynb +0 -0
  45. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/notebooks/Tide_statistics.ipynb +0 -0
  46. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/notebooks/Validating_tides.ipynb +0 -0
  47. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/setup.md +0 -0
  48. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/docs/stylesheets/extra.css +0 -0
  49. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/eo_tides/__init__.py +0 -0
  50. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/eo_tides/eo.py +0 -0
  51. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/eo_tides/model.py +0 -0
  52. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/eo_tides/stats.py +0 -0
  53. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/eo_tides/utils.py +0 -0
  54. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/eo_tides/validation.py +0 -0
  55. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/mkdocs.yml +0 -0
  56. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/benchmarking.ipynb +0 -0
  57. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/figures/joss_abstract.png +0 -0
  58. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/figures/joss_fig_gesla.png +0 -0
  59. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/figures/joss_fig_list.png +0 -0
  60. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/figures/joss_fig_pixel.png +0 -0
  61. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/figures/joss_fig_stats.png +0 -0
  62. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/paper.bib +0 -0
  63. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/paper.md +0 -0
  64. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/paper/paper.pdf +0 -0
  65. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/conftest.py +0 -0
  66. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/data/GESLA3_ALL 2.csv +0 -0
  67. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/data/IDO71013_2020.csv +0 -0
  68. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/data/broome-62650-aus-bom +0 -0
  69. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/data/san_diego_ca-569a-usa-uhslc +0 -0
  70. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/data/sydney_fort_denison-60370-aus-bom +0 -0
  71. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/data/tide_models.tar.gz +0 -0
  72. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/test_eo.py +0 -0
  73. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/test_model.py +0 -0
  74. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/test_stats.py +0 -0
  75. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/test_utils.py +0 -0
  76. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/test_validation.py +0 -0
  77. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/tests/testing.ipynb +0 -0
  78. {eo_tides-0.7.1.dev1 → eo_tides-0.7.1.dev2}/uv.lock +0 -0
@@ -13,7 +13,7 @@ inputs:
13
13
  uv-version:
14
14
  description: "uv version to use"
15
15
  required: true
16
- default: "0.6.2"
16
+ default: "0.7.0"
17
17
 
18
18
  runs:
19
19
  using: "composite"
@@ -1,4 +1,4 @@
1
- name: release-main
1
+ name: Build docs and publish main
2
2
 
3
3
  on:
4
4
  release:
@@ -7,29 +7,32 @@ on:
7
7
  branches: [main]
8
8
 
9
9
  jobs:
10
+
11
+ # Create a relevant package version for releases and dev changes
10
12
  set-version:
11
- runs-on: ubuntu-24.04
13
+ runs-on: ubuntu-latest
12
14
  steps:
13
15
  - uses: actions/checkout@v4
14
16
  with:
15
17
  fetch-depth: 0 # Need full history for tags
16
18
 
17
19
  - name: Export tag
20
+ if: ${{ github.event_name == 'release' }}
18
21
  id: vars
19
22
  run: echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
20
- if: ${{ github.event_name == 'release' }}
21
23
 
22
24
  # For full releases, use tag for version name
23
25
  - name: Set release version
26
+ if: ${{ github.event_name == 'release' }}
24
27
  run: |
25
28
  sed -i "s/^version = \".*\"/version = \"$RELEASE_VERSION\"/" pyproject.toml
26
29
  env:
27
30
  RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
28
- if: ${{ github.event_name == 'release' }}
29
31
 
30
32
  # For merges to main, incremement patch version by one
31
33
  # and use ".devN" suffix based on commits since tag
32
34
  - name: Set dev version
35
+ if: ${{ github.event_name == 'push' }}
33
36
  run: |
34
37
  LATEST_TAG=$(git describe --tags --abbrev=0)
35
38
  IFS='.' read -r MAJOR MINOR PATCH <<< "$LATEST_TAG"
@@ -37,7 +40,6 @@ jobs:
37
40
  DEV_NUM=$(git rev-list $LATEST_TAG..HEAD --count)
38
41
  DEV_VERSION="$MAJOR.$MINOR.$PATCH.dev$DEV_NUM"
39
42
  sed -i "s/^version = \".*\"/version = \"$DEV_VERSION\"/" pyproject.toml
40
- if: ${{ github.event_name == 'push' }}
41
43
 
42
44
  - name: Upload updated pyproject.toml
43
45
  uses: actions/upload-artifact@v4
@@ -45,6 +47,7 @@ jobs:
45
47
  name: pyproject-toml
46
48
  path: pyproject.toml
47
49
 
50
+ # Publish package to PyPI
48
51
  publish:
49
52
  runs-on: ubuntu-latest
50
53
  needs: [set-version]
@@ -68,6 +71,7 @@ jobs:
68
71
  env:
69
72
  UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
70
73
 
74
+ # Deploy documentation to public-facing site
71
75
  deploy-docs:
72
76
  needs: publish
73
77
  runs-on: ubuntu-latest
@@ -1,4 +1,4 @@
1
- name: Main
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.dev1
3
+ Version: 0.7.1.dev2
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
  [![Release](https://img.shields.io/github/v/release/GeoscienceAustralia/eo-tides)](https://pypi.org/project/eo-tides/)
55
- [![Build status](https://img.shields.io/github/actions/workflow/status/GeoscienceAustralia/eo-tides/main.yml?branch=main)](https://github.com/GeoscienceAustralia/eo-tides/actions/workflows/main.yml?query=branch%3Amain)
55
+ [![Build status](https://img.shields.io/github/actions/workflow/status/GeoscienceAustralia/eo-tides/tests.yml?branch=main)](https://github.com/GeoscienceAustralia/eo-tides/actions/workflows/tests.yml?query=branch%3Amain)
56
56
  [![Python Version from PEP 621 TOML](https://img.shields.io/pypi/pyversions/eo-tides)](https://github.com/GeoscienceAustralia/eo-tides/blob/main/pyproject.toml)
57
57
  [![codecov](https://codecov.io/gh/GeoscienceAustralia/eo-tides/branch/main/graph/badge.svg)](https://codecov.io/gh/GeoscienceAustralia/eo-tides)
58
58
  [![License](https://img.shields.io/github/license/GeoscienceAustralia/eo-tides)](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
  [![Release](https://img.shields.io/github/v/release/GeoscienceAustralia/eo-tides)](https://pypi.org/project/eo-tides/)
6
- [![Build status](https://img.shields.io/github/actions/workflow/status/GeoscienceAustralia/eo-tides/main.yml?branch=main)](https://github.com/GeoscienceAustralia/eo-tides/actions/workflows/main.yml?query=branch%3Amain)
6
+ [![Build status](https://img.shields.io/github/actions/workflow/status/GeoscienceAustralia/eo-tides/tests.yml?branch=main)](https://github.com/GeoscienceAustralia/eo-tides/actions/workflows/tests.yml?query=branch%3Amain)
7
7
  [![Python Version from PEP 621 TOML](https://img.shields.io/pypi/pyversions/eo-tides)](https://github.com/GeoscienceAustralia/eo-tides/blob/main/pyproject.toml)
8
8
  [![codecov](https://codecov.io/gh/GeoscienceAustralia/eo-tides/branch/main/graph/badge.svg)](https://codecov.io/gh/GeoscienceAustralia/eo-tides)
9
9
  [![License](https://img.shields.io/github/license/GeoscienceAustralia/eo-tides)](https://img.shields.io/github/license/GeoscienceAustralia/eo-tides)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "eo-tides"
3
- version = "0.7.1.dev1"
3
+ version = "0.7.1.dev2"
4
4
  description = "Tide modelling tools for large-scale satellite earth observation analysis"
5
5
  authors = [
6
6
  { name = "Robbi Bishop-Taylor" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes