Skip to main content

Command line script and Python library to analyze tidal constituents.

Project description

https://github.com/timcera/tappy/actions/workflows/python-package.yml/badge.svg https://coveralls.io/repos/timcera/tappy/badge.png?branch=master Latest release BSD-3 clause license tappy downloads

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

Python version 3.7.1 or later

SciPy

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tappy-0.10.0.tar.gz (597.6 kB view details)

Uploaded Source

File details

Details for the file tappy-0.10.0.tar.gz.

File metadata

  • Download URL: tappy-0.10.0.tar.gz
  • Upload date:
  • Size: 597.6 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

Hashes for tappy-0.10.0.tar.gz
Algorithm Hash digest
SHA256 2029b6764737d9e22e9952796e5c038ded1b9ed8bc0cd096eeab851dde0157ad
MD5 41c99fd62279077bb900089c2b5ba42f
BLAKE2b-256 d9e65ec7b109a897b1cee236496b35ae8a0d1cf72bf84e1706680d481a6ebd78

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page