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

news2025/4/9 0:04:06

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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/765489.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Web 3.0时代,重塑教育与学习方式的可能性

随着科技的快速发展和互联网的普及,教育领域也面临着巨大的机遇和挑战。Web 3.0时代的到来为教育与学习方式带来了全新的可能性。在这个数字化时代,我们可以探索和利用Web 3.0技术,重塑教育的方式,提供更个性化、互动性和灵活性的…

数控机床编程与操作

一、数控机床 的产生 常见数控机床: 数控车床 数控铣床 加工中心 多轴数控机床 柔性制造单元 数控线切割机床 二、数控机床的发展历程 第一代 1952年-1959年 电 子管的硬件数控系统 第二代1959年-1965年 晶体管电路为主的硬件数控系统 第三代1965年开始 小、中规模集成电路…

HIVE SQL 根据主键去重并实现其余字段分组聚合

相同个人id下所有字段按时间顺序补位,取首个不为空值 --数据建表 drop table if exists db.tb_name; create table if not exists db.tb_name ( id string,name string,tele string,email string,date string ) ; insert overwrite table db.tb_name values (&qu…

Redis实战案例18-Redisson的锁重试和watchdog机制

1. 锁重试 首先要理解为什么要进行锁重试,之前我们在获取锁时,只要一次获取失败就直接返回false,这样的机制需要进行修改; 尝试获取锁的底层逻辑是 返回锁的有效期(null或者其他值); 为null然后…

大数据第一步-Mac安装Hadoop3

1.安装工作 1.1 准备工作 前提是把jJDK8安装好,hadoop3.x最低需要jdk8。 然后打开共享把远程登陆打开,不打开说是后面会报错, 到终端输入命令:ssh localhost 生成新的keygen否则后面会报错 Permission denied 命令:…

SAP/ABAP(二)

一、循环结构 *&---------------------------------------------------------------------* *& Report ZDEMO_LIMING01 *&---------------------------------------------------------------------* *&作者:黎明 *&--------------------------…

DBISAM Client-Server Crack

您是否需要经过验证且可靠的 BDE(Borland 数据库引擎)替代品? DBISAM是Delphi或CBuilder应用中替代BDE的标准。它已被部署到全球数千个地点,并且可以打上品牌,以至于没有人知道正在使用DBISAM。它是按开发人员许可的&a…

创建型模式 - 工厂模式

概述 需求:设计一个咖啡店点餐系统。 设计一个咖啡类(Coffee),并定义其两个子类(美式咖啡【AmericanCoffee】和拿铁咖啡【LatteCoffee】);再设计一个咖啡店类(CoffeeStore&#xf…

Sa-Token + SpringBoot 实现登录鉴权

1. 技术选型 今天最近在做登录、授权的功能,一开始考虑到的是spring boot + spring security,但spring security太重,而我们是轻量级的项目,所以,spring security不适合我们。 而后考虑spring boot + shiro,但shiro自带的aop会影响spring boot的aop,所以,shiro也不适…

等保测评包过是真的吗?安全吗?

最近有小伙伴在问,等保测评包过是真的吗?安全吗?哪位大哥来解答一下? 等保测评包过是真的吗?安全吗? 【回答】:等级保护采用备案与测评机制,而非认证机制,因此不存在“包…

uni-app:常见组件view、text、icon

根据html:可知div是块级标签,span是行级标签 这里view类似于div,text类似于span,即 块级标签:view 行级标签:text、icon 类似效果 两个icon图标,置于第一排 两个view,分别位于第…

四维轻云地理空间数据在线协作管理平台为测绘行业用户解决了这些难题

测绘作为一个基础性行业,从大比例的地形图到铁路网、公路网的分布,再到互联网地图,测绘的身影随处可见。随着科技的不断发展与进步,无人机也成为测绘行业的一部分。通过无人机测绘技术能够获取高精度的影像数据并生成三维模型和点…

华菱电子冲刺创业板上市:计划募资6.5亿元,总经理为日本国籍

7月17日,深圳证券交易所披露的信息显示,已对山东华菱电子股份有限公司(下称“华菱电子”)发出第1轮审核问询函。目前,华菱电子在深圳证券交易所的审核状态已经变更为“已问询”。 根据公开信息,华菱电子于2…

WooCommerce适合企业电子商务吗?

目录 成功开展电子商务业务变得比以往任何时候都容易。市场上有几个现成的平台,完全有可能将一个初步的想法快速转变为在线贸易业务,并源源不断地收到订单。 什么是 WooCommerce? 为什么您应该考虑使用 WooCommerce 很灵活 重量轻且功…

一文读懂 MySQL 中的索引

文章目录 1. 索引概述1.1 索引概述1.2 优点1.3 缺点1.6 常见索引概念1.6.1 聚簇索引1.6.2 二级索引(辅助索引、非聚簇索引)1.6.3 联合索引 1.8 MyISAM索引的原理1.9 MyISAM 与 InnoDB对比1.10 索引的代价 2. 索引的创建与设计原则2.1 索引的声明与使用2.…

算法训练营第四十二天||● 01背包问题,你该了解这些! ● 01背包问题,你该了解这些! 滚动数组 ● 416. 分割等和子集

● 01背包问题,你该了解这些! 二维dp数组 ● 01背包问题,你该了解这些! 滚动数组 一维dp数组 dp[j] max(dp[j], dp[j - weight[i]] value[i]); ● 416. 分割等和子集 本题属于01背包问题的应用, 这道题目是要…

【EasyExcel】在SpringBoot+VUE项目中引入EasyExcel实现对数据的导出(封装工具类)

在SpringBootVUE项目中引入EasyExcel实现导入导出 一、引入EasyExcel 通过maven引入&#xff0c;坐标如下&#xff1a; <dependency><groupId>com.alibaba</groupId><artifactId>easyexcel-core</artifactId><version>3.3.2</version…

Mysql 单表使用索引注意事项(避免失效)

Mysql 单表使用索引 1.尽量建全索引 查询的字段按照顺序在索引中都可以匹配到&#xff01; SQL中查询字段的顺序&#xff0c;跟使用索引中字段的顺序是有关系的。但是在不影响SQL执行结果的前提下&#xff0c;给你自动地优化。没有顺序限制了 2. 最佳左前缀法则 查询字段与…

ES系列--es进阶

一、系统架构 一个运行中的 Elasticsearch 实例称为一个节点&#xff0c;而集群是由一个或者多个拥有相同 cluster.name 配置的节点组成&#xff0c; 它们共同承担数据和负载的压力。当有节点加入集群中或者 从集群中移除节点时&#xff0c;集群将会重新平均分布所有的数据。 …

uniapp离线引入阿里巴巴图标

阿里巴巴图标地址 1.添加图标到购物车 2.点击购物车进入项目 3.下载到本地 4.解压后文件目录 5.放入项目目录中(比如说我经常放在common或者static下icon中) 6.在main.ts或者main.js中引入&#xff08;注意路径&#xff0c;用相对的也行&#xff09; import /static/iconfon…