-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more documentation standardization (#47)
simplify GOT and FES inputs to be similar to OTIS output constituent IDs from GOT read program
- Loading branch information
1 parent
2e46286
commit 00cdcf9
Showing
45 changed files
with
306 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
read_GOT_model.py | ||
================= | ||
|
||
- Reads files for Richard Ray's Global Ocean Tide (GOT) models | ||
- Spatially interpolates tidal constituents to input coordinates | ||
- Reads files for Richard Ray's Global Ocean Tide (GOT) models | ||
- Spatially interpolates tidal constituents to input coordinates | ||
|
||
#### Calling Sequence | ||
```python | ||
from pyTMD.read_GOT_model import read_GOT_model | ||
amp,ph = read_GOT_model(ilon,ilat,directory,model_files,METHOD='spline') | ||
amp,ph,c = read_GOT_model(ilon,ilat,model_files,METHOD='spline') | ||
``` | ||
[Source code](https://github.com/tsutterley/pyTMD/blob/main/pyTMD/read_GOT_model.py) | ||
|
||
#### Inputs | ||
#### Arguments | ||
1. `ilon`: longitude to interpolate | ||
2. `ilat`: latitude to interpolate | ||
3. `directory`: data directory for tide data files | ||
4. `model_files`: list of model files for each constituent | ||
3. `model_files`: list of model files for each constituent | ||
|
||
#### Options | ||
#### Keyword arguments | ||
- `METHOD`: interpolation method | ||
* `'bilinear'`: quick bilinear interpolation | ||
* `'spline'`: scipy bivariate spline interpolation | ||
* `'linear'`, `'nearest'`: scipy regular grid interpolations | ||
- `GZIP`: input files are compressed | ||
- `SCALE`: scaling factor for converting to output units | ||
|
||
#### Outputs | ||
#### Returns | ||
- `amplitude`: amplitudes of tidal constituents | ||
- `phase`: phases of tidal constituents | ||
- `constituents`: list of model constituents |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.