eo-tides 0.7.2.dev1__tar.gz → 0.7.3.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.
Files changed (80) hide show
  1. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/actions/setup-python-env/action.yml +1 -1
  2. eo_tides-0.7.3.dev3/.github/workflows/publish.yml +48 -0
  3. eo_tides-0.7.3.dev3/.github/workflows/update-changelog.yml +41 -0
  4. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.pre-commit-config.yaml +6 -0
  5. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/PKG-INFO +1 -1
  6. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/changelog.md +24 -13
  7. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/pyproject.toml +7 -4
  8. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/uv.lock +447 -392
  9. eo_tides-0.7.2.dev1/.github/workflows/publish.yml +0 -85
  10. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.editorconfig +0 -0
  11. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  12. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  13. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/dependabot.yml +0 -0
  14. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/workflows/check-links.yml +0 -0
  15. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/workflows/paper.yml +0 -0
  16. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/workflows/tests.yml +0 -0
  17. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.github/workflows/update-version.yml +0 -0
  18. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/.gitignore +0 -0
  19. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/CITATION.cff +0 -0
  20. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/CONTRIBUTING.md +0 -0
  21. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/Dockerfile +0 -0
  22. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/LICENSE +0 -0
  23. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/Makefile +0 -0
  24. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/README.md +0 -0
  25. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/codecov.yaml +0 -0
  26. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/api.md +0 -0
  27. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/dtu23_download.jpg +0 -0
  28. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/eo-tides-abstract.gif +0 -0
  29. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/eo-tides-logo-128.png +0 -0
  30. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/eo-tides-logo-256.png +0 -0
  31. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/eo-tides-logo.gif +0 -0
  32. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/eo-tides-logo.png +0 -0
  33. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/eot20_download.jpg +0 -0
  34. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/fes_ftp.jpg +0 -0
  35. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/fes_myproducts.jpg +0 -0
  36. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/fes_productselection.jpg +0 -0
  37. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/fes_subscriptions.jpg +0 -0
  38. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/got_download.jpg +0 -0
  39. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/tide_models_clipped.jpg +0 -0
  40. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/assets/tpxo_download.jpg +0 -0
  41. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/credits.md +0 -0
  42. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/index.md +0 -0
  43. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/install.md +0 -0
  44. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/migration.md +0 -0
  45. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/notebooks/Case_study_intertidal.ipynb +0 -0
  46. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/notebooks/Model_tides.ipynb +0 -0
  47. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/notebooks/Satellite_data.ipynb +0 -0
  48. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/notebooks/Tide_statistics.ipynb +0 -0
  49. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/notebooks/Validating_tides.ipynb +0 -0
  50. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/setup.md +0 -0
  51. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/docs/stylesheets/extra.css +0 -0
  52. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/eo_tides/__init__.py +0 -0
  53. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/eo_tides/eo.py +0 -0
  54. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/eo_tides/model.py +0 -0
  55. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/eo_tides/stats.py +0 -0
  56. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/eo_tides/utils.py +0 -0
  57. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/eo_tides/validation.py +0 -0
  58. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/mkdocs.yml +0 -0
  59. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/benchmarking.ipynb +0 -0
  60. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/figures/joss_abstract.png +0 -0
  61. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/figures/joss_fig_gesla.png +0 -0
  62. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/figures/joss_fig_list.png +0 -0
  63. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/figures/joss_fig_pixel.png +0 -0
  64. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/figures/joss_fig_stats.png +0 -0
  65. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/paper.bib +0 -0
  66. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/paper.md +0 -0
  67. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/paper/paper.pdf +0 -0
  68. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/conftest.py +0 -0
  69. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/data/GESLA3.0_ALL/broome-62650-aus-bom +0 -0
  70. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/data/GESLA3.0_ALL/san_diego_ca-569a-usa-uhslc +0 -0
  71. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/data/GESLA3.0_ALL/sydney_fort_denison-60370-aus-bom +0 -0
  72. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/data/GESLA3_ALL 2.csv +0 -0
  73. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/data/IDO71013_2020.csv +0 -0
  74. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/data/tide_models.tar.gz +0 -0
  75. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/test_eo.py +0 -0
  76. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/test_model.py +0 -0
  77. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/test_stats.py +0 -0
  78. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/test_utils.py +0 -0
  79. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/test_validation.py +0 -0
  80. {eo_tides-0.7.2.dev1 → eo_tides-0.7.3.dev3}/tests/testing.ipynb +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.7.0"
16
+ default: "0.7.5"
17
17
 
18
18
  runs:
19
19
  using: "composite"
@@ -0,0 +1,48 @@
1
+ name: Build and publish package and docs
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ push:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ # Publish package to PyPI
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ # Check out Git repository with full history
15
+ # Required for `hatchling-vcs` to get correct version
16
+ - name: Check out
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+
21
+ # Set up environment using `uv`
22
+ - name: Set up the environment
23
+ uses: ./.github/actions/setup-python-env
24
+
25
+ # Package will be built using version automatically
26
+ # generated from Git by `hatchling-vcs`
27
+ - name: Build package
28
+ run: uv build
29
+
30
+ # Publish to PyPI
31
+ - name: Publish package
32
+ run: uv publish
33
+ env:
34
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
35
+
36
+ # Deploy documentation to public-facing site
37
+ deploy-docs:
38
+ needs: publish
39
+ runs-on: ubuntu-latest
40
+ steps:
41
+ - name: Check out
42
+ uses: actions/checkout@v4
43
+
44
+ - name: Set up the environment
45
+ uses: ./.github/actions/setup-python-env
46
+
47
+ - name: Deploy documentation
48
+ run: uv run mkdocs gh-deploy --force
@@ -0,0 +1,41 @@
1
+ name: Update changelog
2
+
3
+ on:
4
+ release:
5
+ types: [released]
6
+
7
+ jobs:
8
+ update:
9
+ runs-on: ubuntu-latest
10
+
11
+ permissions:
12
+ contents: write
13
+ pull-requests: write
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+ with:
19
+ ref: ${{ github.event.release.target_commitish }}
20
+ fetch-depth: 0 # Needed so create-pull-request can diff
21
+
22
+ - name: Update changelog
23
+ uses: stefanzweifel/changelog-updater-action@v1
24
+ with:
25
+ latest-version: ${{ github.event.release.tag_name }}
26
+ release-notes: ${{ github.event.release.body }}
27
+ path-to-changelog: docs/changelog.md
28
+
29
+ - name: Create pull request
30
+ uses: peter-evans/create-pull-request@v5
31
+ with:
32
+ title: "Update changelog for ${{ github.event.release.tag_name }}"
33
+ body: |
34
+ This PR updates the changelog with details from the release [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}).
35
+ commit-message: "Update changelog for ${{ github.event.release.tag_name }} ["
36
+ branch: update-changelog-${{ github.event.release.tag_name }}
37
+ base: ${{ github.event.release.target_commitish }}
38
+ add-paths: |
39
+ docs/changelog.md
40
+ uv.lock
41
+ delete-branch: true
@@ -25,3 +25,9 @@ repos:
25
25
  rev: "v3.0.3"
26
26
  hooks:
27
27
  - id: prettier
28
+
29
+ - repo: https://github.com/astral-sh/uv-pre-commit
30
+ # uv version.
31
+ rev: 0.7.5
32
+ hooks:
33
+ - id: uv-lock
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eo-tides
3
- Version: 0.7.2.dev1
3
+ Version: 0.7.3.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
@@ -1,19 +1,30 @@
1
1
  # Changelog
2
2
 
3
- ## v0.7.0
3
+ ## 0.7.2 - 2025-05-19
4
+
5
+ ### New features
6
+
7
+ - Minor updates to improve documentation around accessing GESLA 3.0 tide gauge data,
8
+ - Made validation functions more re-usable by removing hard-coded paths and adding helpful error messages.
9
+
10
+ ## 0.7.1 - 2025-05-19
11
+
12
+ Minor update to package dependencies
13
+
14
+ ## 0.7.0 - 2025-05-14
4
15
 
5
16
  ### New features
6
17
 
7
18
  - This version corresponds to the code archived as part of [Journal of Open Source Software publication](https://joss.theoj.org/papers/b5680c39bf831c1159c41a2eb7ec9c5e).
8
19
  No new features introduced.
9
20
 
10
- ## v0.6.5
21
+ ## 0.6.5 - 2025-05-08
11
22
 
12
23
  ### New features
13
24
 
14
25
  - Support for `pyTMD` versions 2.2.3 and 2.2.4
15
26
 
16
- ## v0.6.4
27
+ ## 0.6.4 - 2025-02-31
17
28
 
18
29
  ### New features
19
30
 
@@ -23,7 +34,7 @@
23
34
 
24
35
  - Temporarily pinned Dask to avoid `odc-geo` and `odc-stac` errors
25
36
 
26
- ## v0.6.3
37
+ ## 0.6.3 - 2025-03-20
27
38
 
28
39
  ### New features
29
40
 
@@ -34,7 +45,7 @@
34
45
  - Fixed bug where ensemble tide modelling used excessive memory, by ensuring dtype of ensemble modelled tides matches dtype of input modelled tides ([#70](https://github.com/GeoscienceAustralia/eo-tides/pull/70))
35
46
  - Added missing `dask` dependency to requirements ([#68](https://github.com/GeoscienceAustralia/eo-tides/pull/68))
36
47
 
37
- ## v0.6.2
48
+ ## 0.6.2 - 2025-02-25
38
49
 
39
50
  ### New features
40
51
 
@@ -44,13 +55,13 @@
44
55
 
45
56
  - Further fixes for bug causing tide model clipping with `clip_tides` to fail for bounding boxes completely west of the prime meridian ([#50](https://github.com/GeoscienceAustralia/eo-tides/issues/50)); default value for `crop` param is now `"auto"` instead of `True`.
46
57
 
47
- ## v0.6.1
58
+ ## 0.6.1 - 2025-02-20
48
59
 
49
60
  ### Bug fixes
50
61
 
51
62
  - Fixed bug causing tide model clipping with `clip_tides` to fail for bounding boxes completely west of the prime meridian ([#50](https://github.com/GeoscienceAustralia/eo-tides/issues/50))
52
63
 
53
- ## v0.6.0
64
+ ## 0.6.0 - 2025-02-11
54
65
 
55
66
  ### New features
56
67
 
@@ -58,7 +69,7 @@
58
69
  - Added support for [Technical University of Denmark tide models](https://doi.org/10.11583/DTU.23828874) (DTU23)
59
70
  - Minor docs improvements, updates for new FES2022 data format
60
71
 
61
- ## v0.5.0
72
+ ## 0.5.0 - 2025-01-17
62
73
 
63
74
  ### New features
64
75
 
@@ -74,7 +85,7 @@
74
85
  - Removed Python 3.9 support
75
86
  - Added Python 3.13 support
76
87
 
77
- ## v0.4.0
88
+ ## 0.4.0 - 2025-12-21
78
89
 
79
90
  ### New features
80
91
 
@@ -100,7 +111,7 @@
100
111
 
101
112
  - The `plot_col` parameter from `tide_stats` has been renamed to `plot_var`
102
113
 
103
- ## v0.3.1 (2024-11-15)
114
+ ## 0.3.1 - 2024-11-15
104
115
 
105
116
  ### New features
106
117
 
@@ -110,7 +121,7 @@
110
121
 
111
122
  - Fix bug where GOT5.6 was not detected as a valid model because it contains files in multiple directories (e.g. both "GOT5.6" and "GOT5.5"). This also affected clipping GOT5.6 data using the `eo_tides.utils.clip_models` function.
112
123
 
113
- ## v0.3.0 (2024-11-11)
124
+ ## 0.3.0 - 2024-11-11
114
125
 
115
126
  ### New features
116
127
 
@@ -128,7 +139,7 @@
128
139
 
129
140
  - The `list_models` function has been relocated to `eo_tides.utils` (from `eo_tides.model`)
130
141
 
131
- ## v0.2.0 (2024-10-30)
142
+ ## 0.2.0 - 2024-10-30
132
143
 
133
144
  ### New features
134
145
 
@@ -142,7 +153,7 @@
142
153
 
143
154
  - The `ds` param in all satellite data functions (`tag_tides`, `pixel_tides`, `tide_stats`, `pixel_tides`) has been renamed to a more generic name `data` (to account for now accepting either `xarray.Dataset`, `xarray.DataArray` or a `odc.geo.geobox.GeoBox` inputs).
144
155
 
145
- ## v0.1.0 (2024-10-18)
156
+ ## 0.1.0 - 2024-10-18
146
157
 
147
158
  ### New features
148
159
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "eo-tides"
3
- version = "0.7.2.dev1"
3
+ dynamic = ["version"]
4
4
  description = "Tide modelling tools for large-scale satellite earth observation analysis"
5
5
  authors = [
6
6
  { name = "Robbi Bishop-Taylor" },
@@ -88,11 +88,14 @@ dev = [
88
88
  ]
89
89
 
90
90
  [build-system]
91
- requires = ["hatchling"]
91
+ requires = ["hatchling", "hatch-vcs"]
92
92
  build-backend = "hatchling.build"
93
93
 
94
- [tool.setuptools]
95
- packages = ["eo_tides"]
94
+ [tool.hatch.version]
95
+ source = "vcs"
96
+
97
+ [tool.hatch.version.raw-options]
98
+ local_scheme = "no-local-version"
96
99
 
97
100
  [tool.mypy]
98
101
  files = ["eo_tides"]