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.
TAPPY Project Page on Sourceforge
tappy-0.9.0.tar.gz (downloads.sourceforge.net)
There are three ways to install TAPPy. I have included an example for each method, but please read through the example to make sure it does what you want.
1. Standard Python distutils install:
# If you have wget..
wget http://downloads.sourceforge.net/tappy/tappy-0.9.0.tar.gz
# Or download [[tappy-0.9.0.tar.gz](http://downloads.sourceforge.net/tappy/tappy-0.9.0.tar.gz?download)]
cp tappy-0.9.0.tar.gz myworkdir
cd myworkdir
gzip -cd tappy-0.9.0.tar.gz | tar xvf -
cd tappy-0.9.0
# At this point you can try TAPPY out without installing.
cd example
../tappy.py mayport_florida_8720220_data.txt
# OR on Unix/Linux
./example.sh
cd ..
# To install...
python setup.py build
python setup.py install #possibly as root
2. With easy_install available from PEAK. This looks like it might be the easiest, but I have had problems with easy_install before and for several reasons don't really like it. I changed TAPPy to accommodate, but use at your own discretion.
easy_install tappy
OR you could use 'pip' if you prefer.
pip install tappy
3. If you use the Gentoo Linux Distribution you could also sign up for the science overlay and then:
emerge tappy
There is example data for two COOPS tide stations in Florida in the 'example' sub-directory.
The required orbital parameters are calculated from Astrolabe. Thanks to Bill McClain for putting the Astrolabe package together.
Data is read into TAPPY using tools from pyparsing by Paul McGuire and filelike by Ryan Kelly.
Astrolabe, pyparsing, and filelike are packaged with TAPPY. If installed separately, the TAPPY versions are still used by TAPPY.
http://meetingorganizer.copernicus.org/EGU2009/EGU2009-5154.pdf
Please forward any citation of TAPPY to tim at cerazone.net.
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.
Wiki: CompareTidalFilters
Wiki: FillMissing
Wiki: TappyDoc
Wiki: TidalAnalysisInPython