Skip to main content

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

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.9.3.tar.gz (33.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: tappy-0.9.3.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

Hashes for tappy-0.9.3.tar.gz
Algorithm Hash digest
SHA256 8677dfc8456391939388b31127355899752ce1a82f92249efe6e2f6fb04a5417
MD5 04c0ce2c93d2a87ceaca0c758ec74d1d
BLAKE2b-256 43277ff4cd38c58616da27381af556034f8fa727306ae80c5be94cf9031a1034

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