python发布的matlab包utide。
UTide的Python项目详细描述
实用程序
python重新实现的matlab包utide。
仍在大发展中-一切都会改变!
注:用户界面与Matlab版本不同,因此 请参阅python函数docstrings以了解如何指定 参数。Matlab版本的一些功能是 尚未提供。有关详细信息,请参见:
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
安装
pip install utide
如果您正在使用Conda,
conda install utide -c conda-forge
可以使用
fromutideimportsolve,reconstruct
示例调用将是
fromutideimportsolvecoef=solve(time,time_series_u,time_series_v,lat=30,nodal=False,trend=False,method='ols',conf_int='linear',Rayleigh_min=0.95,)
有关更多示例,请参见 notebooks 文件夹。