skip to navigation
skip to content

uptide 0.1

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.

Latest Version: 0.4

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,

Prerequisites

  • python 2.6 or 2.7 (not tested for python 3)
  • numpy
  • 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).

Functionality

  • 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][1] and [OTPSnc][2] global and regional tidal data bases. [1]:ftp://ftp.legos.obs-mip.fr/pub/soa/maree/tide_model/global_solution/fes2004/ [2]:http://volkov.oce.orst.edu/tides/otps.html
 
File Type Py Version Uploaded on Size
uptide-0.1.tar.gz (md5) Source 2014-10-05 16KB