Skip to content
Stephan Kramer edited this page Oct 15, 2013 · 5 revisions

About uptide

uptide is a python package for tidal calculations. It computes tidal free surface heights and/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,

Usage

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).

Clone this wiki locally