-
Notifications
You must be signed in to change notification settings - Fork 8
Home
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,
- [Use uptide to reconstruct a tidal signal](wiki/tidal signal reconstruction) from amplitudes and phases. For instance those given for a tidal gauge.
- Use uptide to supply boundary forcing to Fluidity.
-
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).