pyTMD 2.2.6__tar.gz → 2.2.8__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.
- {pytmd-2.2.6 → pytmd-2.2.8}/MANIFEST.in +1 -0
- pytmd-2.2.8/PKG-INFO +224 -0
- pytmd-2.2.8/README.md +130 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/__init__.py +1 -1
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/arguments.py +258 -68
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/astro.py +124 -81
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/compute.py +236 -50
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/crs.py +52 -24
- pytmd-2.2.8/pyTMD/data/ct1971_tab6.txt +31 -0
- pytmd-2.2.8/pyTMD/data/cte1973_tab.txt +485 -0
- pytmd-2.2.8/pyTMD/data/d1921_tab.txt +21 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/data/database.json +61 -0
- pytmd-2.2.8/pyTMD/data/hw1995_tab.txt +12584 -0
- pytmd-2.2.8/pyTMD/data/t1987_tab.txt +1201 -0
- pytmd-2.2.8/pyTMD/data/w1990_tab.txt +487 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/ellipse.py +8 -9
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/interpolate.py +280 -136
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/ATLAS.py +12 -4
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/FES.py +12 -4
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/GOT.py +11 -3
- pytmd-2.2.8/pyTMD/io/NOAA.py +215 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/OTIS.py +11 -3
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/__init__.py +7 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/constituents.py +99 -3
- pytmd-2.2.8/pyTMD/io/dataset.py +67 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/model.py +58 -4
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/math.py +98 -27
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/predict.py +428 -137
- {pytmd-2.2.6 → pytmd-2.2.8/pyTMD}/scripts/arcticdata_tides.py +4 -2
- {pytmd-2.2.6 → pytmd-2.2.8/pyTMD}/scripts/aviso_fes_tides.py +3 -1
- {pytmd-2.2.6 → pytmd-2.2.8/pyTMD}/scripts/gsfc_got_tides.py +4 -2
- {pytmd-2.2.6 → pytmd-2.2.8/pyTMD}/scripts/reduce_OTIS_files.py +5 -3
- {pytmd-2.2.6 → pytmd-2.2.8/pyTMD}/scripts/verify_box_tpxo.py +4 -2
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/solve/constants.py +4 -3
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/spatial.py +50 -54
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/tools.py +33 -103
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/utilities.py +20 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/version.py +1 -1
- pytmd-2.2.8/pyTMD.egg-info/PKG-INFO +224 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD.egg-info/SOURCES.txt +15 -24
- pytmd-2.2.8/pyTMD.egg-info/entry_points.txt +6 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD.egg-info/requires.txt +11 -3
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD.egg-info/top_level.txt +0 -1
- pytmd-2.2.8/pyproject.toml +180 -0
- pytmd-2.2.6/.gitignore +0 -96
- pytmd-2.2.6/CITATION.cff +0 -47
- pytmd-2.2.6/CODE_OF_CONDUCT.rst +0 -136
- pytmd-2.2.6/CONTRIBUTORS.rst +0 -7
- pytmd-2.2.6/PKG-INFO +0 -219
- pytmd-2.2.6/README.rst +0 -132
- pytmd-2.2.6/providers/AVISO.json +0 -404
- pytmd-2.2.6/providers/ESR.json +0 -360
- pytmd-2.2.6/providers/GSFC.json +0 -344
- pytmd-2.2.6/providers/README.rst +0 -11
- pytmd-2.2.6/providers/TPXO.json +0 -898
- pytmd-2.2.6/providers/_model_to_database.py +0 -88
- pytmd-2.2.6/providers/_providers_to_database.py +0 -57
- pytmd-2.2.6/providers/_update_providers.py +0 -159
- pytmd-2.2.6/providers/providers.json +0 -182
- pytmd-2.2.6/pyTMD/data/ce1973_tab1.txt +0 -385
- pytmd-2.2.6/pyTMD/data/ct1971_tab5.txt +0 -99
- pytmd-2.2.6/pyTMD/data/d1921_tab.txt +0 -21
- pytmd-2.2.6/pyTMD.egg-info/PKG-INFO +0 -219
- pytmd-2.2.6/pyproject.toml +0 -101
- pytmd-2.2.6/setup.py +0 -24
- pytmd-2.2.6/version.txt +0 -1
- {pytmd-2.2.6 → pytmd-2.2.8}/LICENSE +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/compute_tide_corrections.py +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/data/doodson.json +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/data/opoleloadcoefcmcor.txt.gz +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/data/tab5.2e.txt +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/data/tab5.3a.txt +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/data/tab5.3b.txt +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/io/IERS.py +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD/solve/__init__.py +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/pyTMD.egg-info/dependency_links.txt +0 -0
- {pytmd-2.2.6 → pytmd-2.2.8}/setup.cfg +0 -0
pytmd-2.2.8/PKG-INFO
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyTMD
|
|
3
|
+
Version: 2.2.8
|
|
4
|
+
Summary: Python-based tidal prediction software for estimating ocean, load, solid Earth and pole tides
|
|
5
|
+
Author: Tyler Sutterley
|
|
6
|
+
Author-email: tsutterl@uw.edu
|
|
7
|
+
Maintainer: pyTMD contributors
|
|
8
|
+
License: MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2017 Tyler C Sutterley
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
|
+
|
|
30
|
+
Project-URL: Homepage, https://pytmd.readthedocs.io
|
|
31
|
+
Project-URL: Documentation, https://pytmd.readthedocs.io
|
|
32
|
+
Project-URL: Repository, https://github.com/pyTMD/pyTMD
|
|
33
|
+
Project-URL: Issues, https://github.com/pyTMD/pyTMD/issues
|
|
34
|
+
Keywords: Ocean Tides,Load Tides,Pole Tides,Solid Earth Tides,Tidal Prediction
|
|
35
|
+
Classifier: Development Status :: 3 - Alpha
|
|
36
|
+
Classifier: Intended Audience :: Science/Research
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: Operating System :: OS Independent
|
|
39
|
+
Classifier: Programming Language :: Python :: 3
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
46
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
47
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
48
|
+
Classifier: Topic :: Scientific/Engineering :: Oceanography
|
|
49
|
+
Requires-Python: ~=3.6
|
|
50
|
+
Description-Content-Type: text/markdown
|
|
51
|
+
License-File: LICENSE
|
|
52
|
+
Requires-Dist: lxml
|
|
53
|
+
Requires-Dist: netCDF4
|
|
54
|
+
Requires-Dist: numpy
|
|
55
|
+
Requires-Dist: pyproj
|
|
56
|
+
Requires-Dist: python-dateutil
|
|
57
|
+
Requires-Dist: scipy>=1.10.1
|
|
58
|
+
Requires-Dist: timescale>=0.0.8
|
|
59
|
+
Provides-Extra: doc
|
|
60
|
+
Requires-Dist: docutils; extra == "doc"
|
|
61
|
+
Requires-Dist: graphviz; extra == "doc"
|
|
62
|
+
Requires-Dist: myst-nb; extra == "doc"
|
|
63
|
+
Requires-Dist: numpydoc; extra == "doc"
|
|
64
|
+
Requires-Dist: sphinx; extra == "doc"
|
|
65
|
+
Requires-Dist: sphinx-argparse>=0.4; extra == "doc"
|
|
66
|
+
Requires-Dist: sphinxcontrib-bibtex; extra == "doc"
|
|
67
|
+
Requires-Dist: sphinx-design; extra == "doc"
|
|
68
|
+
Requires-Dist: sphinx_rtd_theme; extra == "doc"
|
|
69
|
+
Provides-Extra: all
|
|
70
|
+
Requires-Dist: cartopy; extra == "all"
|
|
71
|
+
Requires-Dist: ipyleaflet; extra == "all"
|
|
72
|
+
Requires-Dist: ipywidgets; extra == "all"
|
|
73
|
+
Requires-Dist: jplephem; extra == "all"
|
|
74
|
+
Requires-Dist: matplotlib; extra == "all"
|
|
75
|
+
Requires-Dist: notebook; extra == "all"
|
|
76
|
+
Requires-Dist: pandas; extra == "all"
|
|
77
|
+
Provides-Extra: aws
|
|
78
|
+
Requires-Dist: xarray; extra == "aws"
|
|
79
|
+
Requires-Dist: dask; extra == "aws"
|
|
80
|
+
Requires-Dist: zarr>=3; extra == "aws"
|
|
81
|
+
Requires-Dist: h5netcdf; extra == "aws"
|
|
82
|
+
Requires-Dist: geopandas; extra == "aws"
|
|
83
|
+
Requires-Dist: pyarrow; extra == "aws"
|
|
84
|
+
Requires-Dist: obstore; extra == "aws"
|
|
85
|
+
Requires-Dist: s3fs; extra == "aws"
|
|
86
|
+
Provides-Extra: dev
|
|
87
|
+
Requires-Dist: flake8; extra == "dev"
|
|
88
|
+
Requires-Dist: pytest>=4.6; extra == "dev"
|
|
89
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
90
|
+
Requires-Dist: pytest-xdist; extra == "dev"
|
|
91
|
+
Requires-Dist: oct2py; extra == "dev"
|
|
92
|
+
Requires-Dist: boto3; extra == "dev"
|
|
93
|
+
Dynamic: license-file
|
|
94
|
+
|
|
95
|
+
# pyTMD
|
|
96
|
+
|
|
97
|
+
[](https://github.com/pyTMD/pyTMD/blob/main/LICENSE)
|
|
98
|
+
[](https://pytmd.readthedocs.io/en/latest/?badge=latest)
|
|
99
|
+
[](https://pypi.python.org/pypi/pyTMD/)
|
|
100
|
+
[](https://anaconda.org/conda-forge/pytmd)
|
|
101
|
+
[](https://github.com/pyTMD/pyTMD/releases/latest)
|
|
102
|
+
[](https://doi.org/10.5281/zenodo.5555395)
|
|
103
|
+
|
|
104
|
+
Python-based tidal prediction software for estimating ocean, load, solid Earth and pole tides
|
|
105
|
+
|
|
106
|
+
For more information: see the documentation at [pytmd.readthedocs.io](https://pytmd.readthedocs.io/)
|
|
107
|
+
|
|
108
|
+
## Installation
|
|
109
|
+
|
|
110
|
+
From PyPI:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
python3 -m pip install pyTMD
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
To include all optional dependencies:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
python3 -m pip install pyTMD[all]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Using `conda` or `mamba` from conda-forge:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
conda install -c conda-forge pytmd
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
mamba install -c conda-forge pytmd
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Development version from GitHub:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
python3 -m pip install git+https://github.com/pyTMD/pyTMD.git
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Running with Pixi
|
|
139
|
+
|
|
140
|
+
Alternatively, you can use [Pixi](https://pixi.sh/) for a streamlined workspace environment:
|
|
141
|
+
|
|
142
|
+
1. Install Pixi following the [installation instructions](https://pixi.sh/latest/#installation)
|
|
143
|
+
2. Clone the project repository:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
git clone https://github.com/pyTMD/pyTMD.git
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
3. Move into the `pyTMD` directory
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
cd pyTMD
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
4. Install dependencies and start JupyterLab:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
pixi run start
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
This will automatically create the environment, install all dependencies, and launch JupyterLab in the [notebooks](./doc/source/notebooks/) directory.
|
|
162
|
+
|
|
163
|
+
## Dependencies
|
|
164
|
+
|
|
165
|
+
- [dateutil: powerful extensions to datetime](https://dateutil.readthedocs.io/en/stable/)
|
|
166
|
+
- [lxml: processing XML and HTML in Python](https://pypi.python.org/pypi/lxml)
|
|
167
|
+
- [netCDF4: Python interface to the netCDF C library](https://unidata.github.io/netcdf4-python/)
|
|
168
|
+
- [numpy: Scientific Computing Tools For Python](https://www.numpy.org)
|
|
169
|
+
- [pyproj: Python interface to PROJ library](https://pypi.org/project/pyproj/)
|
|
170
|
+
- [scipy: Scientific Tools for Python](https://www.scipy.org/)
|
|
171
|
+
- [timescale: Python tools for time and astronomical calculations](https://pypi.org/project/timescale/)
|
|
172
|
+
|
|
173
|
+
## References
|
|
174
|
+
|
|
175
|
+
> T. C. Sutterley, T. Markus, T. A. Neumann, M. R. van den Broeke, J. M. van Wessem, and S. R. M. Ligtenberg,
|
|
176
|
+
> "Antarctic ice shelf thickness change from multimission lidar mapping", *The Cryosphere*,
|
|
177
|
+
> 13, 1801-1817, (2019). [doi: 10.5194/tc-13-1801-2019](https://doi.org/10.5194/tc-13-1801-2019)
|
|
178
|
+
>
|
|
179
|
+
> L. Padman, M. R. Siegfried, H. A. Fricker,
|
|
180
|
+
> "Ocean Tide Influences on the Antarctic and Greenland Ice Sheets", *Reviews of Geophysics*,
|
|
181
|
+
> 56, 142-184, (2018). [doi: 10.1002/2016RG000546](https://doi.org/10.1002/2016RG000546)
|
|
182
|
+
|
|
183
|
+
## Download
|
|
184
|
+
|
|
185
|
+
The program homepage is:
|
|
186
|
+
<https://github.com/pyTMD/pyTMD>
|
|
187
|
+
|
|
188
|
+
A zip archive of the latest version is available directly at:
|
|
189
|
+
<https://github.com/pyTMD/pyTMD/archive/main.zip>
|
|
190
|
+
|
|
191
|
+
## Alternative Software
|
|
192
|
+
|
|
193
|
+
perth5 from NASA Goddard Space Flight Center:
|
|
194
|
+
<https://codeberg.org/rray/perth5>
|
|
195
|
+
|
|
196
|
+
Matlab Tide Model Driver from Earth & Space Research:
|
|
197
|
+
<https://github.com/EarthAndSpaceResearch/TMD_Matlab_Toolbox_v2.5>
|
|
198
|
+
|
|
199
|
+
Fortran OSU Tidal Prediction Software:
|
|
200
|
+
<https://www.tpxo.net/otps>
|
|
201
|
+
|
|
202
|
+
## Disclaimer
|
|
203
|
+
|
|
204
|
+
This package includes software developed at NASA Goddard Space Flight Center (GSFC) and the University of Washington Applied Physics Laboratory (UW-APL).
|
|
205
|
+
It is not sponsored or maintained by the Universities Space Research Association (USRA), AVISO or NASA.
|
|
206
|
+
The software is provided here for your convenience but *with no guarantees whatsoever*.
|
|
207
|
+
It should not be used for coastal navigation or any application that may risk life or property.
|
|
208
|
+
|
|
209
|
+
## Contributing
|
|
210
|
+
|
|
211
|
+
This project contains work and contributions from the [scientific community](./CONTRIBUTORS.rst).
|
|
212
|
+
If you would like to contribute to the project, please have a look at the [contribution guidelines](./doc/source/getting_started/Contributing.rst), [open issues](https://github.com/pyTMD/pyTMD/issues) and [discussions board](https://github.com/pyTMD/pyTMD/discussions).
|
|
213
|
+
|
|
214
|
+
## Credits
|
|
215
|
+
|
|
216
|
+
The Tidal Model Driver ([TMD](https://github.com/EarthAndSpaceResearch/TMD_Matlab_Toolbox_v2.5)) Matlab Toolbox was developed by Laurie Padman, Lana Erofeeva and Susan Howard.
|
|
217
|
+
An updated version of the TMD Matlab Toolbox ([TMD3](https://github.com/chadagreene/Tide-Model-Driver)) was developed by Chad Greene.
|
|
218
|
+
The OSU Tidal Inversion Software (OTIS) and OSU Tidal Prediction Software ([OTPS](https://www.tpxo.net/otps)) were developed by Lana Erofeeva and Gary Egbert ([copyright OSU](https://www.tpxo.net/tpxo-products-and-registration), licensed for non-commercial use).
|
|
219
|
+
The NASA Goddard Space Flight Center (GSFC) PREdict Tidal Heights (PERTH3) software was developed by Richard Ray and Remko Scharroo.
|
|
220
|
+
An updated and more versatile version of the NASA GSFC tidal prediction software ([PERTH5](https://codeberg.org/rray/perth5)) was developed by Richard Ray.
|
|
221
|
+
|
|
222
|
+
## License
|
|
223
|
+
|
|
224
|
+
The content of this project is licensed under the [Creative Commons Attribution 4.0 Attribution license](https://creativecommons.org/licenses/by/4.0/) and the source code is licensed under the [MIT license](LICENSE).
|
pytmd-2.2.8/README.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# pyTMD
|
|
2
|
+
|
|
3
|
+
[](https://github.com/pyTMD/pyTMD/blob/main/LICENSE)
|
|
4
|
+
[](https://pytmd.readthedocs.io/en/latest/?badge=latest)
|
|
5
|
+
[](https://pypi.python.org/pypi/pyTMD/)
|
|
6
|
+
[](https://anaconda.org/conda-forge/pytmd)
|
|
7
|
+
[](https://github.com/pyTMD/pyTMD/releases/latest)
|
|
8
|
+
[](https://doi.org/10.5281/zenodo.5555395)
|
|
9
|
+
|
|
10
|
+
Python-based tidal prediction software for estimating ocean, load, solid Earth and pole tides
|
|
11
|
+
|
|
12
|
+
For more information: see the documentation at [pytmd.readthedocs.io](https://pytmd.readthedocs.io/)
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
From PyPI:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
python3 -m pip install pyTMD
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
To include all optional dependencies:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python3 -m pip install pyTMD[all]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Using `conda` or `mamba` from conda-forge:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
conda install -c conda-forge pytmd
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
mamba install -c conda-forge pytmd
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Development version from GitHub:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
python3 -m pip install git+https://github.com/pyTMD/pyTMD.git
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Running with Pixi
|
|
45
|
+
|
|
46
|
+
Alternatively, you can use [Pixi](https://pixi.sh/) for a streamlined workspace environment:
|
|
47
|
+
|
|
48
|
+
1. Install Pixi following the [installation instructions](https://pixi.sh/latest/#installation)
|
|
49
|
+
2. Clone the project repository:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
git clone https://github.com/pyTMD/pyTMD.git
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
3. Move into the `pyTMD` directory
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
cd pyTMD
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
4. Install dependencies and start JupyterLab:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pixi run start
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
This will automatically create the environment, install all dependencies, and launch JupyterLab in the [notebooks](./doc/source/notebooks/) directory.
|
|
68
|
+
|
|
69
|
+
## Dependencies
|
|
70
|
+
|
|
71
|
+
- [dateutil: powerful extensions to datetime](https://dateutil.readthedocs.io/en/stable/)
|
|
72
|
+
- [lxml: processing XML and HTML in Python](https://pypi.python.org/pypi/lxml)
|
|
73
|
+
- [netCDF4: Python interface to the netCDF C library](https://unidata.github.io/netcdf4-python/)
|
|
74
|
+
- [numpy: Scientific Computing Tools For Python](https://www.numpy.org)
|
|
75
|
+
- [pyproj: Python interface to PROJ library](https://pypi.org/project/pyproj/)
|
|
76
|
+
- [scipy: Scientific Tools for Python](https://www.scipy.org/)
|
|
77
|
+
- [timescale: Python tools for time and astronomical calculations](https://pypi.org/project/timescale/)
|
|
78
|
+
|
|
79
|
+
## References
|
|
80
|
+
|
|
81
|
+
> T. C. Sutterley, T. Markus, T. A. Neumann, M. R. van den Broeke, J. M. van Wessem, and S. R. M. Ligtenberg,
|
|
82
|
+
> "Antarctic ice shelf thickness change from multimission lidar mapping", *The Cryosphere*,
|
|
83
|
+
> 13, 1801-1817, (2019). [doi: 10.5194/tc-13-1801-2019](https://doi.org/10.5194/tc-13-1801-2019)
|
|
84
|
+
>
|
|
85
|
+
> L. Padman, M. R. Siegfried, H. A. Fricker,
|
|
86
|
+
> "Ocean Tide Influences on the Antarctic and Greenland Ice Sheets", *Reviews of Geophysics*,
|
|
87
|
+
> 56, 142-184, (2018). [doi: 10.1002/2016RG000546](https://doi.org/10.1002/2016RG000546)
|
|
88
|
+
|
|
89
|
+
## Download
|
|
90
|
+
|
|
91
|
+
The program homepage is:
|
|
92
|
+
<https://github.com/pyTMD/pyTMD>
|
|
93
|
+
|
|
94
|
+
A zip archive of the latest version is available directly at:
|
|
95
|
+
<https://github.com/pyTMD/pyTMD/archive/main.zip>
|
|
96
|
+
|
|
97
|
+
## Alternative Software
|
|
98
|
+
|
|
99
|
+
perth5 from NASA Goddard Space Flight Center:
|
|
100
|
+
<https://codeberg.org/rray/perth5>
|
|
101
|
+
|
|
102
|
+
Matlab Tide Model Driver from Earth & Space Research:
|
|
103
|
+
<https://github.com/EarthAndSpaceResearch/TMD_Matlab_Toolbox_v2.5>
|
|
104
|
+
|
|
105
|
+
Fortran OSU Tidal Prediction Software:
|
|
106
|
+
<https://www.tpxo.net/otps>
|
|
107
|
+
|
|
108
|
+
## Disclaimer
|
|
109
|
+
|
|
110
|
+
This package includes software developed at NASA Goddard Space Flight Center (GSFC) and the University of Washington Applied Physics Laboratory (UW-APL).
|
|
111
|
+
It is not sponsored or maintained by the Universities Space Research Association (USRA), AVISO or NASA.
|
|
112
|
+
The software is provided here for your convenience but *with no guarantees whatsoever*.
|
|
113
|
+
It should not be used for coastal navigation or any application that may risk life or property.
|
|
114
|
+
|
|
115
|
+
## Contributing
|
|
116
|
+
|
|
117
|
+
This project contains work and contributions from the [scientific community](./CONTRIBUTORS.rst).
|
|
118
|
+
If you would like to contribute to the project, please have a look at the [contribution guidelines](./doc/source/getting_started/Contributing.rst), [open issues](https://github.com/pyTMD/pyTMD/issues) and [discussions board](https://github.com/pyTMD/pyTMD/discussions).
|
|
119
|
+
|
|
120
|
+
## Credits
|
|
121
|
+
|
|
122
|
+
The Tidal Model Driver ([TMD](https://github.com/EarthAndSpaceResearch/TMD_Matlab_Toolbox_v2.5)) Matlab Toolbox was developed by Laurie Padman, Lana Erofeeva and Susan Howard.
|
|
123
|
+
An updated version of the TMD Matlab Toolbox ([TMD3](https://github.com/chadagreene/Tide-Model-Driver)) was developed by Chad Greene.
|
|
124
|
+
The OSU Tidal Inversion Software (OTIS) and OSU Tidal Prediction Software ([OTPS](https://www.tpxo.net/otps)) were developed by Lana Erofeeva and Gary Egbert ([copyright OSU](https://www.tpxo.net/tpxo-products-and-registration), licensed for non-commercial use).
|
|
125
|
+
The NASA Goddard Space Flight Center (GSFC) PREdict Tidal Heights (PERTH3) software was developed by Richard Ray and Remko Scharroo.
|
|
126
|
+
An updated and more versatile version of the NASA GSFC tidal prediction software ([PERTH5](https://codeberg.org/rray/perth5)) was developed by Richard Ray.
|
|
127
|
+
|
|
128
|
+
## License
|
|
129
|
+
|
|
130
|
+
The content of this project is licensed under the [Creative Commons Attribution 4.0 Attribution license](https://creativecommons.org/licenses/by/4.0/) and the source code is licensed under the [MIT license](LICENSE).
|