Skip to main content

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.

Project description

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

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
uptide-0.1.tar.gz (17.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page