Tidal Analysis Program - Python
Project description
TAPPY is a tidal analysis package. It breaks down a record of water levels into the component sine waves. It is written in Python and uses the least squares optimization and other functions in SciPy. The focus is to make the most accurate analysis possible. TAPPY only determines the constituents that are calculatable according to the length of the time series.
Features
Outputs a ‘International Hydrographic Organization - Tidal and Water Level Working Group’ standard XML constituent file.
Uses the IHO standard XML constituent file to make a predicted time series. By far the most frequent request that I get.
Calculates the node factor at each water elevation measurement. Very important for long time-series (greater than a year).
Very accurate ephemeris calculations thanks to the Astrolabe library.
Able to read in different input data sets without changing TAPPY or the input data set. All you have to do is create a file that defines the input data set. Thanks to Pyparsing.
Added the capability to read compressed files and Internet data streams (actually any URL) directly into TAPPY by using filelike.
The time-series does not need to have equal intervals. In fact any length of missing data is allowed (though too much missing will cause a poor analysis).
Can adjust the Rayleigh factor that nearby constituents are compared against to determine what constituents can be differentiated.
TAPPY chooses the main constituents based upon the length of the time series and infers additional constituents that are known to be specifically related to the main constituents.
Can filter the tidal energy out of the input signal using transform (FFT), usgs (PL33), doodson, and boxcar methods. | [CompareTidalFilters]
Can use the tidal filters to zero the time-series before determination of tidal constituents.
Can pad the usgs, doodson, and boxcar filters with predicted data to minimize edge effects of the filters.
Convenience function to fill missing values with the time series
Requirements
Install
# To install... pip install tappy
TAPPY Citations
http://meetingorganizer.copernicus.org/EGU2009/EGU2009-5154.pdf
Please forward any citation of TAPPY to tim at cerazone.net.
Contributions
Development
Any help is appreciated. If you want you could send a patch file to me, or if you would like to make a bunch of changes I can assign you developer privileges to the source code repository. Just contact me at tim at cerazone.net.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tappy-0.9.4.tar.gz
.
File metadata
- Download URL: tappy-0.9.4.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec9df65c84f973611e605cb25aa0b76bf39d7618769277cd66f86cae962e21a |
|
MD5 | a5d3bf7807664e1590e94ee1912e5e5a |
|
BLAKE2b-256 | 94c555fbd98dfd37a2dc12e211f03d5706160541c1529d31d5634d7f691bfb44 |