eo-tides 0.6.3.dev3__tar.gz → 0.6.3.dev4__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.6.3.dev3 → eo_tides-0.6.3.dev4}/PKG-INFO +1 -1
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/setup.md +73 -20
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/eo_tides/model.py +5 -1
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/mkdocs.yml +2 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/pyproject.toml +1 -1
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.editorconfig +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/actions/setup-python-env/action.yml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/workflows/check-links.yml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/workflows/main.yml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/workflows/on-release-main.yml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.github/workflows/paper.yml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.gitignore +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/.pre-commit-config.yaml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/CITATION.cff +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/CONTRIBUTING.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/Dockerfile +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/LICENSE +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/Makefile +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/README.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/codecov.yaml +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/api.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/dtu23_download.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/eo-tides-abstract.gif +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/eo-tides-logo-128.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/eo-tides-logo-256.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/eo-tides-logo.gif +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/eo-tides-logo.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/eot20_download.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/fes_ftp.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/fes_myproducts.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/fes_productselection.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/fes_subscriptions.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/got_download.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/tide_models_clipped.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/assets/tpxo_download.jpg +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/changelog.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/credits.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/index.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/install.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/migration.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/notebooks/Case_study_intertidal.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/notebooks/Model_tides.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/notebooks/Satellite_data.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/notebooks/Tide_statistics.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/notebooks/Validating_tides.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/docs/stylesheets/extra.css +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/eo_tides/__init__.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/eo_tides/eo.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/eo_tides/stats.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/eo_tides/utils.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/eo_tides/validation.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/benchmarking.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/figures/joss_abstract.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/figures/joss_fig_gesla.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/figures/joss_fig_list.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/figures/joss_fig_pixel.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/figures/joss_fig_stats.png +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/paper.bib +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/paper.md +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/paper/paper.pdf +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/conftest.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/data/GESLA3_ALL 2.csv +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/data/IDO71013_2020.csv +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/data/broome-62650-aus-bom +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/data/san_diego_ca-569a-usa-uhslc +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/data/sydney_fort_denison-60370-aus-bom +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/data/tide_models.tar.gz +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/test_eo.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/test_model.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/test_stats.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/test_utils.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/test_validation.py +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/tests/testing.ipynb +0 -0
- {eo_tides-0.6.3.dev3 → eo_tides-0.6.3.dev4}/uv.lock +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: eo-tides
|
3
|
-
Version: 0.6.3.
|
3
|
+
Version: 0.6.3.dev4
|
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
|
@@ -27,9 +27,17 @@ As a first step, we need to create a directory that will contain our tide model
|
|
27
27
|
This directory will be accessed by all `eo-tides` functions.
|
28
28
|
For example, we might want to store our tide model data in a directory called `tide_models/`:
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
=== "Relative path"
|
31
|
+
|
32
|
+
<pre><code>tide_models/</code></pre>
|
33
|
+
|
34
|
+
=== "Full path (Windows)"
|
35
|
+
|
36
|
+
<pre><code><span style="color: #bbb;">D:/projects/</span>tide_models/</code></pre>
|
37
|
+
|
38
|
+
=== "Full path (Linux)"
|
39
|
+
|
40
|
+
<pre><code><span style="color: #bbb;">/home/user/projects/</span>tide_models/</code></pre>
|
33
41
|
|
34
42
|
!!! tip
|
35
43
|
|
@@ -270,29 +278,71 @@ Follow the guides below for some of the most commonly used global ocean tide mod
|
|
270
278
|
|
271
279
|
### 1. Using the `directory` function parameter
|
272
280
|
|
273
|
-
All tide modelling functions from `eo-tides` provide a `directory` parameter that can be used to specify the
|
281
|
+
All tide modelling functions from `eo-tides` provide a `directory` parameter that can be used to specify **either the relative or full/absolute path** to your tide model directory.
|
282
|
+
|
274
283
|
For example, using the [`eo_tides.model.model_tides`](api.md#eo_tides.model.model_tides) function:
|
275
284
|
|
276
|
-
|
277
|
-
import pandas as pd
|
278
|
-
from eo_tides.model import model_tides
|
285
|
+
=== "Relative path"
|
279
286
|
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
+
```py hl_lines="8"
|
288
|
+
import pandas as pd
|
289
|
+
from eo_tides.model import model_tides
|
290
|
+
|
291
|
+
model_tides(
|
292
|
+
x=155,
|
293
|
+
y=-35,
|
294
|
+
time=pd.date_range("2022-01-01", "2022-01-04", freq="1D"),
|
295
|
+
directory="tide_models/" # relative path to `tide_models` directory
|
296
|
+
)
|
297
|
+
```
|
298
|
+
|
299
|
+
=== "Full path (Windows)"
|
300
|
+
|
301
|
+
```py hl_lines="8"
|
302
|
+
import pandas as pd
|
303
|
+
from eo_tides.model import model_tides
|
304
|
+
|
305
|
+
model_tides(
|
306
|
+
x=155,
|
307
|
+
y=-35,
|
308
|
+
time=pd.date_range("2022-01-01", "2022-01-04", freq="1D"),
|
309
|
+
directory="D:/projects/tide_models/" # full path to `tide_models`
|
310
|
+
)
|
311
|
+
```
|
312
|
+
|
313
|
+
=== "Full path (Linux)"
|
314
|
+
|
315
|
+
```py hl_lines="8"
|
316
|
+
import pandas as pd
|
317
|
+
from eo_tides.model import model_tides
|
318
|
+
|
319
|
+
model_tides(
|
320
|
+
x=155,
|
321
|
+
y=-35,
|
322
|
+
time=pd.date_range("2022-01-01", "2022-01-04", freq="1D"),
|
323
|
+
directory="/home/user/projects/tide_models/" # full path to `tide_models`
|
324
|
+
)
|
325
|
+
```
|
287
326
|
|
288
327
|
### 2. (Advanced) Setting the `EO_TIDES_TIDE_MODELS` environmental variable
|
289
328
|
|
290
|
-
For more advanced usage, you can set the path to your [tide model directory](#setting-up-a-tide-model-directory) by setting the `EO_TIDES_TIDE_MODELS` environment variable
|
329
|
+
For more advanced usage, you can set the path to your [tide model directory](#setting-up-a-tide-model-directory) by setting the `EO_TIDES_TIDE_MODELS` environment variable.
|
291
330
|
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
331
|
+
This should be set to **a full/absolute path** to ensure it can be accessed from anywhere you run `eo-tides` code:
|
332
|
+
|
333
|
+
=== "Full path (Windows)"
|
334
|
+
|
335
|
+
```py hl_lines="2"
|
336
|
+
import os
|
337
|
+
os.environ["EO_TIDES_TIDE_MODELS"] = "D:/projects/tide_models/"
|
338
|
+
```
|
339
|
+
|
340
|
+
=== "Full path (Linux)"
|
341
|
+
|
342
|
+
```py hl_lines="2"
|
343
|
+
import os
|
344
|
+
os.environ["EO_TIDES_TIDE_MODELS"] = "/home/user/projects/tide_models/"
|
345
|
+
```
|
296
346
|
|
297
347
|
All tide modelling functions from `eo-tides` will check for the presence of the `EO_TIDES_TIDE_MODELS` environment variable, and use it as the default `directory` path if available (the `EO_TIDES_TIDE_MODELS` environment variable will be overuled by the `directory` parameter if provided).
|
298
348
|
|
@@ -369,7 +419,10 @@ Outputs exported to tide_models_clipped/
|
|
369
419
|
|
370
420
|
You can now pass this new clipped tide model directory to all future `eo_tides` function calls for improved tide modelling performance, e.g.:
|
371
421
|
|
372
|
-
```py hl_lines="
|
422
|
+
```py hl_lines="8"
|
423
|
+
import pandas as pd
|
424
|
+
from eo_tides.model import model_tides
|
425
|
+
|
373
426
|
model_tides(
|
374
427
|
x=155,
|
375
428
|
y=-35,
|
@@ -124,7 +124,11 @@ def _model_tides(
|
|
124
124
|
if crop == "auto":
|
125
125
|
warnings.warn(
|
126
126
|
"On-the-fly cropping is not compatible with the provided "
|
127
|
-
"
|
127
|
+
"model files; running with `crop=False`. This will not "
|
128
|
+
"affect your results but may lead to a minor slowdown. "
|
129
|
+
"This can occur when analysing clipped model files restricted "
|
130
|
+
"to the western hemisphere. To suppress this warning, manually "
|
131
|
+
"set `crop=False`."
|
128
132
|
)
|
129
133
|
|
130
134
|
# Read tidal constants and interpolate to grid points
|
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
|