Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python distribution of the MatLab package UTide

License

NotificationsYou must be signed in to change notification settings

efiring/UTide

 
 

Repository files navigation

UTide

https://travis-ci.org/wesleybowman/UTide.svg?branch=master

Python re-implementation of the Matlab package UTide.

Still in heavy development--everything is subject to change!

Note: the user interface differs from the Matlab version, soconsult the Python function docstrings to see how to specifyparameters. Some functionality from the Matlab version isnot yet available.

% For more information see:% Codiga, D.L., 2011. Unified Tidal Analysis and Prediction Using the% UTide Matlab Functions. Technical Report 2011-01. Graduate School% of Oceanography, University of Rhode Island, Narragansett, RI.% 59pp. ftp://www.po.gso.uri.edu/pub/downloads/codiga/pubs/% 2011Codiga-UTide-Report.pdf%% UTide v1p0 9/2011 d.codiga@gso.uri.edu% http://www.po.gso.uri.edu/~codiga/utide/utide.htm

Installation

Download the zip file and unzip it; or, much better,clone the git repository. In either case, changeyour directory to the newly-createdutide distributiondirectory.

python setup.py install

or

python setup.py install --user

if you don't want a system-wide installation.

If you want to work on developing the package, then

python setup.py develop

will allow you to test without reinstalling after makinga modification.

Another option is to use

pip install.

If you are using conda and will not be developing the code,you can install from the IOOS channel. Seehttps://github.com/ioos/conda-recipes/wiki.

The public functions can be imported using

fromutideimportsolve,reconstruct

To test and make sure that the package has been installedand imported correctly, run:

fromutide.tests.test_solveimporttest_roundtriptest_roundtrip()

If you have the pytest package installed, you can executepython setup.py testfrom within the source directory to run all tests.

A sample call would be

fromutideimportsolvecoef=solve(time,time_series_u,time_series_v,lat=30,nodal=False,trend=False,method='ols',conf_int='linear',Rayleigh_min=0.95,)

For more examples see thenotebooksfolder.

About

Python distribution of the MatLab package UTide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook75.2%
  • Python24.8%

[8]ページ先頭

©2009-2025 Movatter.jp