S_Tide使用总结(1)函数及数据

1、使用增强调和分析(EHA)计算实测潮位的调和常数,不考虑交点改正。

% s_tide.m       - computes the tidal analysis of the real tidal 
%                  time series using Enhanced Harmonic Analysis (EHA) without nodal corrections.

月球升交点的黄经N存在的18.61年循环(会调制太阴分潮的振幅和迟角。

南北交点是月亮绕地球的轨道穿过地球绕太阳轨道(也即黄道)的两个交点,因此也称月亮交点。 北交点被天文学家称为上升交点,为月亮向上穿过黄道纬度0度时的交点;南交点被称为下降交点,为月亮向下穿过黄道纬度0度时的交点。

2、计算交点改正参数
% s_nodal_correction.m   -nodally correct the amplitues and phases.
%

交点因子,交点订正角,初相角和升交点的黄经

3、T_Tide的保留函数

T_Tide计算交点的函数
% t_vuf.m        - computes nodal corrections (from T_TIDE package). 

T_Tide计算天文潮参数
% t_astron.m     - computes astronomical arguments (from T_TIDE package). 
%

T_Tide构造分潮
% t_getconsts.m     - Gets constituent data structures (from T_TIDE package).
%

4、S_TIDE提供了三种插值方法来连接独立点:线性插值(linear)、三次样条插值(cubic spline)和正弦插值(sinc)

% s_calculate_coefficient  -computes the spline interpolation weights
%
% l_calculate_coefficient  -computes the linear interpolation weights
%
% sinc_calculate_coefficient  -computes the sinc interpolation weights

5、S_Tide调和分析

% s_tide_m1.m                 - a modified version of s_tide.m
%前n1个分潮使用独立点方案,其余分潮使用经典调和分析
% s_tide_m2.m                 - a modified version of s_tide.m
%前n1个分潮使用IDP2个独立点方案,其余分潮使用IDP3个独立点
% s_tide_m3.m                 - a modified version of s_tide.m (for satellite data)
%在潮汐调和分析模型里考虑了交点因子和订正角f和u
% s_tide_m4.m                 - a modified version of s_tide.m (for satellite data)
%前n1个分潮使用IDP2个独立点方案,其余分潮使用IDP3个独立点,考虑了交点因子和订正角f和u
% s_tide_m5.m                 - a modified version of s_tide_m2.m (for uneven data)
%前n1个分潮使用IDP2个独立点方案,其余分潮使用IDP3个独立点,考虑了交点因子和订正角f和u

%St   time-varying sub-tidal oscillations         分潮波动 
%Ht   time-varying amplitudes (contain nodal variations)
%Gt   time-varying phases (contain nodal variations)
% s_tide_m55.m                - a modified version of s_tide_m5.m (adding weights)
%前n1个分潮使用IDP2个独立点方案,其余分潮使用IDP3个独立点考虑了交点因子和订正角f和u
% s_tide_m6.m                 - a modified version of s_tide_m4.m (for uneven satellite data)
%s_tide_m4修改版本,处理采样间隔变化的卫星数据
% s_tide_m66.m                 - a modified version of s_tide_m6.m (adding weights)
%s_tide_m6.m程序的修改版本(添加权重)
% s_tide_m7.m                 - a modified version of s_tide.m which is designed specifically for estimating linear trends of tidal amplitudes and phases
%考虑了交点因子和订正角f和u,振幅和相位线性变化
% s_tide_m8.m                 - a modified version of s_tide_m3.m (only uses nodal factor and angle at central time for nodal correction)

s_tide_m3.m的修改版本,取中间时间的交点银子和订正角,加快预报短期(一年内)的速度。

6、绘制潮流椭圆

% s_plot_tidal_ellipse.m      - plot tidal ellipse
%
% s_plot_tidal_ellipse2.m      - plot tidal ellipse at full depth
%
% s_estimate_tidal_ellipse.m  - calculate the parameters of tidal ellipse

7、潮汐预报

% s_construct.m               - construct water levels by given tidal information without nodal factor/angle,不考虑交点改正的潮汐预报
%
% s_nodal_cal.m               - calculate the nodal factor and angle for given tides
%计算交点改正参数
% s_construct2.m               - construct water levels by given tidal information and nodal factor/angle (at middle time)考虑中间时交点改正的潮汐预报
%
% s_construct3.m               - construct water levels by given tidal information and nodal factor/angle (at each time)考虑交点改正的潮汐预报

8、工具函数

% s_tidalcharacter.m           - calculate the basic tidal characters (such as skewness, hight and low tides) from given water levels计算高低潮和不对称性偏度


%
% s_alias.m                    - calculate the alias period caused by long-period satellite sampling
%计算长周期卫星采样引起的混叠周期
% s_minimumLOR.m               - calculate the minimum length of records to resolve given constituents
%计算特定采样间隔下分辨指定分潮需要的最短数据长度
% s_quasi_HA.m                 - quasi harmonic analysis (for observations more than 24 hours but less than 13 days)准调和分析
%
% s_quasi_HA2.m                 - quasi harmonic analysis for uneven observations
%不规则间隔观测值的准调和分析
% s_eot.m                      - function to read EOT20 tide models
%查询潮汐模型中某点的调和常数

 % s_equilibrium_tide.m         - calculate equilibrium tidal levels
%预报任意时刻瞬时平衡潮的潮位(建议不要预报超过1年的水位),只考虑八大主要分潮,格林威治时间
%s_estimate_max_tidalcurrent.m  - calculate the maximum possible tidal current speed with given N constituents
%计算输入的N个分潮下潮流的最大可能流速 
% s_tdd.m                      - calculate the theoretical depth datum with given N constituents
%计算输入的N个分潮下的理论上可能出现的最低水位 (理论深度基准面)
% s_rotation_spectra.m         - calculate the rotation spectrum of currents
%旋转谱函数
% s_rtl.m                      - calculate the riding high/low tide levels from given water levels
%计算乘高/低潮水位
% s_rtl2.m                     - a modified version of s_rtl.m
%计算乘高/低潮水位
% s_modaldecomposition.m       - dynamical modal decomposition for internal tides

内河潮汐的动力模态分解

% STIDE.mlapp                  - the code which can generate S_TIDE GUI
%S_TIDE的图形化界面
% s_earthtide.m                - function to calculate theoretical earth tides/ocean tides potential
%海洋潮汐/固体潮引潮势理论值计算函数(
% s_draw_tidalchart            - function to draw co-tidal charts using EOT20 ocean tidal model
%EOT20 模型潮汐图
% s_inertial                   - function to calculate the latitude which can generate near interial oscillations whose frequencies are same as given tidal constituents
%计算给定分潮与内河波动频率相同的纬度
% s_highlowtides               - function to perform harmonic analysis for high and low tides

高低潮水位观测的潮汐调和分析。由于种种原因,部分验潮站的水位观测并不是逐时的,而是只有高低潮数据。

9、数据

% s_demo.m       - a short example using the Kushiro elevation data.//日本钏路
% S_TIDE toolbox tutorial/S_TIDE工具包中文教程
% S_TIDE GUI.zip - a GUI exe file for realizing S_TIDE
% mytide.m    mytide2.m  mytide3.m   -short codes to realize classic tidal harmonic analysis for demonstration and teaching

% Various data files are also included:
%
% t_constituents.mat - constituent data structures.
%分潮数据结构
% h572a.nc  -hourly water levels at Astoria from UHSLC 
%俄勒冈州阿斯托里亚逐时水位
% kushiro.mat  -  hourly elevation data set used as an 
%                  example (obtained from PSMSL), data start from 1993/01/01 //日本钏路
% imf.mat - the modes obtained by Empirical Mode Decomposition (EMD) of the
%           kushiro elevation data.//经验模式分解
% K1_amp_hilo.mat - monthly K1 tidal amplitudes at Hilo //夏威夷大学希
% N2_amp_astoria.mat  - monthly N2 tidal amplitudes at Astoria //俄勒冈州阿斯托里亚
% wt_SIO.mat - daily water temperature at Sion //耶路撒冷
% satellite.mat - sea levels at 14.1633N,113.6244E obtained from satellite(T/P,J1,J2)
%//T/P卫星测高数据
% tidalcurrents.mat  - the observed tidal current speed (u and v) in the South China Sea (SCS)
% //南海潮流速度
% Qingdao.mat  - one-month water levels at Qingdao.//青岛一个月的水位
% M2_ocean_eot20.mat - EOT20 tide models for M2 tide //EOT20潮汐模型
% S2_ocean_eot20.mat - EOT20 tide models for S2 tide //EOT20潮汐模型
% K1_ocean_eot20.mat - EOT20 tide models for K1 tide //EOT20潮汐模型
% O1_ocean_eot20.mat - EOT20 tide models for O1 tide //EOT20潮汐模型
% data.mat - depth,density and current data of one site in the SCS//南海某站的深度、密度和流速

参考文献

[MATLAB][转载]MATLAB2018b的VS2017编译器配置_matlab2018b编译器_FL1623863129的博客-CSDN博客Matlab代码转C并编译为dll - 知乎

Support - System Requirements and Supported Compilers Previous Releases - MATLAB & Simulink

matlab coder:.m转成c语言,并实现VS里实例运行,二维数组传递_matlab的m文件转c语言_三眼二郎的博客-CSDN博客

利用 MATLAB Coder 将M代码生成C/C++代码 - 知乎

https://zhuanlan.zhihu.com/p/604283307

https://www.cnblogs.com/zzzsj/p/14630559.html

https://www.cnblogs.com/zzzsj/p/14636235.html

https://www.cnblogs.com/zzzsj/p/14626552.html

https://www.cnblogs.com/zzzsj/p/14631016.html

潮位调和分析工具学习(1)——T_tide_HHU_HuLihan的博客-CSDN博客

http://qdhys.ijournal.cn/html/hykx/2021/11/20211114.html#outline_anchor_19

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

xiaokcehui

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值