uptide is a python package for tidal calculations. It computes the tidalfree surface height or velocities from the amplitudes and phases of the tidalconstituents. These amplitudes and phases can be read from global tidalsolutions such as OSU/OTIS or FES2012. Somelimited functionality for tidal harmonic analysis is also available.
uptide is a python package for tidal calculations. It computes the tidal free surface height or velocities from the amplitudes and phases of the tidal constituents. These amplitudes and phases can be read from global tidal solutions such as OSU/OTIS or FES2012. They can be read directly from the netCDF files provided by these sources. Some limited functionality for tidal harmonic analysis is also available,
- python 2.6 or 2.7 (not tested for python 3)
- to read from netCDF sources: python netCDF support. This can be either: netCDF4, or Scientific.IO.NetCDF, or scipy.io.netcdf. netCDF4 is the recommended package and is required for FES2012 that comes in netcdf4 format. To install:
sudo CC=mpicc pip install netcdf4
For Ubuntu Precise, see this bug. So there, either use Scientific (sudo apt-get install python-scientific), or install a newer version of netcdf4 (>=4.1.2).
- Given the phase and amplitudes of the harmonic constituents (M2, S2, etc.) reconstruct the tidal signal at an arbitrary date and time (including nodal corrections).
- Read the phases and amplitudes on a regular Cartesian grid from a netCDF file and interpolate the tidal signal at any arbitrary point in the domain, for any date and time. Phases and amplitudes can be read directly from netCDF files as provided by the [FES2004] and [OTPSnc] global and regional tidal data bases. :ftp://ftp.legos.obs-mip.fr/pub/soa/maree/tide_model/global_solution/fes2004/ :http://volkov.oce.orst.edu/tides/otps.html
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size uptide-0.1.tar.gz (17.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|