-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathContents.m
529 lines (528 loc) · 44.9 KB
/
Contents.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
% Mbaysalt Toolbox
% Version 2.5 (R2024b) 2024-12-09
% =================================================================================================================
% Version 0.1 (R2023b) 2023-03-01 (Created by Christmas, Dovelet, Qidi Ma)
% Version 1.0 (R2023b) 2023-10-18 (Fixed by Christmas)
% Version 2.0 (R2023b) 2023-11-22 (Fixed by Christmas) ---> Release: <https://github.com/ChristmasZCY/Mbaysalt/releases/tag/release-v2.0>
% Version 2.1 (R2023b) 2023-12-27 (Modified by Christmas)
% Version 2.2 (R2023b) 2024-01-31 (Modified by Christmas) ---> Release: <https://github.com/ChristmasZCY/Mbaysalt/releases/tag/release-v2.2>
% Version 2.3 (R2024a) 2024-04-04 (Modified by Christmas) ---> Release: <https://github.com/ChristmasZCY/Mbaysalt/releases/tag/release-v2.3>
% Version 2.4 (R2024a) 2024-07-26 (Modified by Christmas) ---> Release: <https://github.com/ChristmasZCY/Mbaysalt/releases/tag/release-v2.4>
% Version 2.5 (R2024b) 2024-12-09 (Modified by Christmas) ---> Release: <https://github.com/ChristmasZCY/Mbaysalt/releases/tag/v2.5>
%
% This toolbox is used to postpocess model data and draw pictures.
% The model data is from FVCOM, NEMURO, ERSEM, WAVE WATCH III, WRF, MITgcm and so on.
% Data annotation is written by Christmas Z. and other baysalt members.
%
% =================================================================================================================
%
% Toolbox contents
%
% install.sh - Install the toolbox
% Contents.m - This file
% ST_Mbaysalt.m - Set toolbox path
% Mainpath.m - Set main path for toolbox (not recommend)
% README.md - README file
% README_zh.md - README file in Chinese
% functionSignatures.json - Function signatures for toolbox
%
%
% Infunctions - Internal functions for toolbox
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% c_load_model.m - Load model data
% clm.m - Clear clc clf close all
% closefile.m - Close all opened files
% del_filesep.m - Delete the last filesep from a path
% del_quotation.m - Delete quotation from a string
% grep.m - Grep something from a file (not recommend)
% input_yn.m - Check input yes or no
% is_number.m - Check if a string is a number with regexp
% json_load.m - Load json file with matlab builtin function or jsonlab
% json_to_struct.m - Convert json to struct
% KeyValue2Struct.m - Convert key-value to struct
% limit_var.m - Limit the variable in a range
% listStr_to_cell.m - Convert list str to cell
% ll.m - Simulated ll command in linux
% makedirs.m - Check and make directories
% Mncload.m - Read netcdf, the same as ncload
% nr.m - Read netcdf, the same as ncread
% osprint.m - YYYY-MM-DD HH:MM:SS --> string
% osprint2.m - YYYY-MM-DD HH:MM:SS --> INFO: string
% read_conf.m - Read config file from Configfiles
% readlink.m - Simulation of unix command "readlink"
% replace_para.m - Replace parameters in a string or struct
% rmfiles.m - Delete files or directories
% set_proxy.m - Set proxy by system command
% calc_validation.m - Calculate the validation of the model
% calc_casfco2.m - Calculate the casfco2, thr windSpeed SST SSS, teached by Lijun Song
% calc_contour_area.m - Calculate the area of the contour
% calc_nearest_node.m - Calculate the nearest node and distance from FVCOM grid
% cutout_xy.m - Cutout small region from a large region
% zoom_ploygon.m - Zoom the polygon
% calc_timeStepWW3.m - Calculate WW3 time step
% calc_timeStepFVCOM.m - Calculate FVCOM time step
% calc_typhoonMove.m - Calculate the typhoon move
% calc_geodistance.m - Calculate the geodistance between arrays of lon/lat
% calc_geodistance_readme.mlx - README for Calculate the geodistance between arrays of lon/lat
% calc_typhoon_overlayWind.m - Overlay wind by Model windSpeed and Grid windSpeed (such as Holland and ERA5)
% calc_typhoon_overlayWind_readme.mlx - README for Overlay wind by Model windSpeed and Grid windSpeed (such as Holland and ERA5)
% calc_typhoon_windHolland.m - Calculate the wind by Holland model
% calc_typhoon_windHolland_readme.mlx - README for ACalculate the wind by Holland model
% calc_typhoon_adjust_winddir.m - Adjust the wind direction at typhoon
% calc_typhoon_adjust_winddir_readme.mlx - README for Adjust the wind direction at typhoon
% len.m - As length
% calc_uv2sd - Calculate velocity to speed and direction
% calc_sd2uv - Calculate speed and direction to vector velocity
% calc_waveSpeed.m - Calculate wave speed and length
% lodadata.m - Load data from a file
% create_timeRange.m - Create datetime type time-Range
% getHome.m - Get home path
% convert_avi2mp4.m - Convert avi to mp4
% convert_png2mp4.m - Convert pngs to mp4
% ln.m - Simulate the ln command in linux
% isaequal.m - Approximate equality A, B(not support NaN)
% figcopy.m - Copy the figure to the clipboard
% checkOS.m - Check the system OS
% genNaNlegend.m - Generate NaN legend
% makedepends.m - Make depends for a function
% parfor_pgb.m - parfor progress bar
% m_mesh.m - Draw mesh at m_map
% plot_markerTY.m - Plot marker for typhoon
% calc_tri_area.m - Calculate triangle area by length of side
% read_nml_fvcom.m - Read FVCOM NML file
% write_nml_fvcom.m - Write FVCOM NML file
% FVCOMTOOLS.m - FVCOM tools functions
%
%
% Prefunctions - Prefunctions for drawing pictures
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% interp_colormap.m - Interpolate colormap || By Jiaqi Dou
% make_colormap.m - Make colormap for drawing
% make_typhoon_warningline.m - Make typhoon warning line
% region_cutout.m - Cutout region from a matrix
% select_proj_s_ll.m - Select projection/lat/lon
%
%
% Mapfunctions - Functions for dealing with map
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% ecef_distance.m - Calculate cartesian ECEF offset between geodetic coordinates
% geo_ecef.m - Transform geocentric Earth-centered Earth-fixed coordinates to geodetic or reverse
% geo_xy.m - Convert lat/lon to x/y or x/y to lat/lon
% ll_to_ll_180.m - Convert lat/lon to lat/lon -180-180
% ll_to_ll_360.m - Convert lat/lon to lat/lon 0-360
% ll_to_ll.m - Convert lat/lon to lat/lon 0-360/-180-180, auto select
%
%
% Picfunctions - Functions for drawing pictures
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% Pic_draw_wind.m - Draw wind vector picture
% Pic_draw_wind_10m - Draw wind velocity at 10m picture
% Pic_draw_precipitation.m - Draw precipitation picture
% Pic_draw_swh.m - Draw significant wave height picture
% Pic_draw_mwp.m - Draw mean wave period picture
% Pic_draw_current.m - Draw current vector picture daily/hourly
% Pic_draw_slp.m - Draw sea level pressure picture
%
%
% Post_fvcom - Functions for handling FVCOM triangle data
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% make_mask_depth_data.m - Make mask to mask the data which is deeper than the grid depth(for 'mask_depth_data.m')
% mask_depth_data.m - mask the data with the Standard_depth_mask(from the function of "make_mask_depth_data.m")
% mask2data.m - mask the data with the mask(from the function of "mask_maskmat,m")
% Postprocess_fvcom.m - Read and postprocess fvcom triangle data, contains daily/hourly
% standard_filename.m - Standard filename from variable matrix
% time_to_TIME.m - To get TIME from time
%
%
% Post_ww3 - Functions for handling ww3 data
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% erosion_coast_cal_id.m - Calculate the erosion of the coast id
% erosion_coast_via_id.m - Erosion of the coast via id
%
%
% Post_tpxo - Functions for handling tpxo data
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% preuvh2.m - Predict the tidal current velocity or elevation at a given time
% ABANDON
% functionSignatures.json - Function signatures for this folder
% get_tpxo_filepath.m - Get the tpxo filepath json file
% make_tide_from_tpxo.m - Make tide current u/v/h from TPXO9-atlas, and write to nc file.
% make_tpxo_fixed_coordinate.m - Fixed the coordinate of TPX09_atlas to lon_u, lat_u
% preuvh.m - Predict the tide u/v/h with tpxo and t_tide
% tpxo_file.json - Json file for tpxo file path
% tpxo.conf - Config file for tpxo
% uvhap.m - Calculate the u/v of the tidal harmonic analysis
%
%
% Post_wrf2fvcom - Functions for handling wrf2fvcom data
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% Postprocess_wrf2fvcom_domain.m - Read and postprocess wrf2fvcom data to standard format
% make_domain_ll.m - Read and make grid from wrf2fvcom domain file
%
%
% Post_mitgcm - Functions for handling mitgcm data
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% Postprocess_MITgcm.m - Read and postprocess mitgcm data to standard format
%
%
% Gridfunctions - Functions for model grid
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% gshhsb2cst.m - Convert GSHHS binary to cst, producingOriginalFormat() by Siqi Li
% read_2dm_to_website.m - Read 2dm mesh to website format for www.iocean.cn
% read_gebco_to_sms.m - Read gebco bathymetry to sms format
% read_GMT_to_cst.m - Transform GMT/ACSII Coastline data imported by GEODAS to SMS's cst format
% read_mike_mesh.m - Read MIKE21 mesh file
% read_msh.m - Read msh file for WW3
% read_sms_grd.m - Read sms grd file
% read_vtk.m - Read vtk file
% write_mike_mesh.m - Write MIKE21 mesh file
% write_msh.m - Write msh file for ww3
% write_sms_grd.m - Write sms grd file
% write_vtk.m - Write vtk file
% gshhs2.m - Fixed gshhs only for [-180 195], gshhs2 for [-540 540]
% convert_shp2cst.m - Convert shapefile to cst file, contains merging polygons
% convert_dat22dm.m - Convert FVCOM dat to 2dm
% merge_cst.m - Merge cst files --> convert_shp2cst.m
% merge_polygon.m - Merge polygons --> convert_shp2cst.m
%
%
% Readfunctions - Functions for reading data
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% ncread_llt_v.m - Read netcdf file contains lat/lon/time, several variables
% ncread_lltd_v.m - Read netcdf file contains lat/lon/time/depth, several variables
% read_ncfile_lldtv.m - Read netcdf file contains lat/lon/time/depth/variable
%
%
% Ncfunctions - Functions for netcdf
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% create_nc.m - Create NETCDF file as input
% nc_var_exist.m - Check if the variable exists in the nc file
% nc_attrName_exist.m - Check if a netcdf file has a str at Attribute Name
% nc_attrValue_exist.m - Check if a netcdf file has a str at Attribute Value
% isNetcdfFile.m - Check if a file is a netcdf file
% +netcdf_fvcom - Packages of functions for handling FVCOM netcdf file
% wrnc_adt.m - Write adt netcdf file
% wrnc_casfco2_ersem.m - Write casfco2 netcdf file from ERSEM
% wrnc_chlo_ersem.m - Write chlorophyll netcdf file from ERSEM
% wrnc_current.m - Write current netcdf file at standard level or sigma level
% wrnc_ice.m - Write ice netcdf file
% wrnc_no3_ersem.m - Write nitrate netcdf file from ERSEM
% wrnc_pco2_ersem.m - Write pCO2 netcdf file from ERSEM
% wrnc_ph_ersem.m - Write pH netcdf file from ERSEM
% wrnc_pp_nemuro.m - Write phytoplankton netcdf file from NEMURO
% wrnc_salt.m - Write sea salinity netcdf file at standard level or sigma level
% wrnc_sand_nemuro.m - Write sand netcdf file from NEMURO
% wrnc_temp.m - Write sea temperature netcdf file at standard level or sigma level
% wrnc_zp_nemuro.m - Write zooplankton netcdf file from NEMURO
% write_nesting_mexcef.m - Write nesting netcdf file with mexcef
% +netcdf_nemuro - Packages of functions for handling NEMURO netcdf file
% wrnc_chlorophyll.m - Write numuro chlorophyll netcdf file
% wrnc_no3.m - Write numuro NO3 netcdf file
% wrnc_phytoplankton.m - Write numuro phytoplankton netcdf file
% wrnc_sand.m - Write numuro sand netcdf file
% wrnc_zooplankton.m - Write numuro zooplankton netcdf file
% +netcdf_tpxo - Packages of functions for handling TPXO netcdf file
% wrnc_tpxo.m - Write tpxo netcdf file
% +netcdf_wrf - Packages of functions for handling WRF netcdf file
% wrnc_t2m.m - Write WRF t2m netcdf file
% wrnc_wind10m.m - Write WRF wind10m netcdf file
% +netcdf_ww3 - Packages of functions for handling WW3 netcdf file
% wrnc_wave.m - Write wave netcdf file
%
%
% Mimetifunctions - Functions to mimic other languages commands
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% copernicusmarine.m - Copernicus Marine data download(mimic copernicusmarine)
% gitc.m - Git command(mimic git)
% touch.m - Touch command(mimic touch)
%
% Inputfiles - Input files for toolbox
% -----------------------------------------------------------------------------------------------------------------
% color_precipitation.mat - Color matrix for precipitation
%
%
% Savefiles - Save files for toolbox
% -----------------------------------------------------------------------------------------------------------------
% None
%
%
% Configurefiles - Config files for toolbox
% -----------------------------------------------------------------------------------------------------------------
% INSTALL.json - Config file for INSTALL Mbaysalt_toolbox
% Pic_draw.conf - Config file for Picfunctions
% Post_fvcom.conf - Config file for Post_fvcom/Postprocess_fvcom
% Post_mitgcm.conf - Config file for Post_mitgcm/Postprocess_mitgcm
% Post_wrf2fvcom.conf - Config file for Post_wrf2fvcom/Postprocess_wrf2fvcom_domain
%
%
% Examples - Examples for toolbox
% -----------------------------------------------------------------------------------------------------------------
% Example_check_depth.m - Example for check depth
% Example_draw_ersem.m - Example for draw ersem
% Example_draw_gfvcom_UHSLC_comparison.m - Example for draw gfvcom UHSLC comparison
% Example_draw_hist_cloud.m - Example for draw histogram and cloud
% Example_draw_plot_bar.m - Example for draw bar and plot
% Example_draw_sst_ssh_sss.m - Example for draw sst ssh sss
% Example_draw_tide.m - Example for draw tide
% Example_draw_TMD.m - Example for draw TMD tide
% Example_draw_tsuvz.m - Example for draw tsuvz(fvcom)
% Example_draw_uv_avg.m - Example for draw uv 0-300m avg
% Example_draw_uv_Luwang.m - Example for draw uv, teached by Luwang
% Example_erosion - Example for erosion coast cal id
% Example_extract_cst_from_fgrid.m - Example for extract cst from fgrid
% Example_matFVCOM_interp_ESMF.m - Example for matFVCOM interp ESMF
% Example_matFVCOM_interp_MATLAB.m - Example for matFVCOM interp MATLAB
% Example_matFVCOM.m - Example for matFVCOM
% Example_read_kml_xml.m - Example for read kml xml (Uncompleted)
% Example_read_nc_lldtv.m - Example for read nc lldtv
% Example_tidal_analysis.m - Example for tidal analysis
% Example_TMD.m - Example for TMD toolbox
% Example_WindRose.m - Example for WindRose toolbox
% Example_scaterdensity_Wcx.m - Example for scatterdensity by Wcx
% Example_read_draw_christmas.m - Example for read and draw by Christmas
% Example_filter.m - Example for filter
% Example_smooth.m - Example for smooth
% Example_nctoolbox.m - Example for nctoolbox
% Example_export_fig.m - Example for export_fig
% Example_ellipse.m - Example for ellipse
% Example_inpolygons.m - Example for inpolygons
% Example_loaddata.m - Example for loaddata
% Example_taylordiag.m - Example for taylordiag
% Example_calculateV.m - Example for calculate volume
% Example_kriging.m - Example for kriging
% Example_draw_planet.m - Example for draw planet
% Example_cdt.m - Example for cdt
% Example_adjust_res.m - Example for adjust lonlat-resolution
% Example_seawater.m - Example for seawater toolbox
% Example_draw_inu.m - Example for draw inu
% Example_py.m - Example for matlab-python code
% Post_fvcom_scs.conf - Example for Post_fvcom/Postprocess_fvcom
% Post_gfvcom_v2.conf - Example for Post_fvcom/Postprocess_fvcom
% Post_gersem_v2.conf - Example for Post_fvcom/Postprocess_fvcom
% Post_nemuro.conf - Example for Post_fvcom/Postprocess_fvcom
% Post_Wenzhou.conf - Example for Post_fvcom/Postprocess_fvcom
% Post_Wenzhou_ww3.conf - Example for Post_ww3
% Post_WZtide3.conf - Example for Post_fvcom/Postprocess_fvcom
% Post_bbw.conf - Example for Post_fvcom/Postprocess_fvcom
% stations.xml - Example of xml file
% example.vtk - Example of vtk file
% FVCOM_DEFAULT.nml - Example of FVCOM nml file
% Example_draw_global.m - Example for draw global
%
%
% Matesetfunctions - Functions for Mateset
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% Mateset.m - Mateset class
% @Mdatetime - MATLAB datetime class
% @Mgrid - MATLAB grid class
% @Mdraw - MATLAB draw class
% +Mateset:
% get_Dimensions_from_nc.m - Get dimensions from nc file
% get_Variables_from_nc.m - Get variables from nc file
%
%
% Callcodes - Call functions codes
% -----------------------------------------------------------------------------------------------------------------
% functionSignatures.json - Function signatures for this folder
% WRFforcing2gcm.m - Convert WRF forcing to gcm forcing
% create_obc_from_MITgcmllc540.m - Create open boundary conditions from MITgcmllc540
% Map2Gray/ - download maptiles and transform to graytiles
% gzh2html/ - Convert gongzhonghao to html
% FVCOM_NSCS/ - FVCOM NSCS toolbox
% FVCOM_Bohai/ - FVCOM Bohai toolbox
% FVCOM_WZinu3/ - FVCOM WZinu3 toolbox
% FVCOM_WZtide3/ - FVCOM WZtide3 toolbox
% FVCOM_WZAJinu/ - FVCOM WZAJinu toolbox
% FVCOM_ECS_2d_v2/ - FVCOM ECS 2d v2 toolbox
%
%
% Docs - Documents and Manuals for toolbox
% -----------------------------------------------------------------------------------------------------------------
% Collect_dataset.html - Collect dataset
% Communication.md - Communication
% OceanMesh2D.md - OceanMesh2D
% Nctoolbox.zh.pdf - Nctoolbox中文说明
% README_TMD.pdf - TMD说明
% Communication_with_lsq.md - Communication with lsq
% Holland_deduce.pdf - Holland deduce PDF
% MATLAB气象海洋简单粗暴教程.pdf
% Matlab读取气象海洋数据教程.pdf
% M_map中文说明.pdf
% M_map翻译和示例官方中文版.pdf
% t_tide中文版说明.pdf
% t_tide软件包使用说明plus.md
% Climate Data Toolbox中文说明.pdf
% OceanMesh2D__User_Guide_20200912.pdf
% MATLAB、ArcGIS、SPSS和Excel在地学中的实践应用(Version6.0)-2020-04-27.pdf
% pics/ - Pictures for docs
%
%
% Exfunctions - External functions for toolbox
% -----------------------------------------------------------------------------------------------------------------
% %% Github
% matFVCOM (optional) - FVCOM toolbox || https://github.com/SiqiLiOcean/matFVCOM
% matFigure (optional) - Figure toolbox || https://github.com/SiqiLiOcean/matFigure
% matNC (optional) - NetCDF toolbox || https://github.com/SiqiLiOcean/matNC
% matWRF (optional) - WRF toolbox || https://github.com/SiqiLiOcean/matWRF
% HYCOM2FVCOM (optional) - Run fvcom with HYCOM data || https://github.com/SiqiLiOcean/HYCOM2FVCOM
% WRF2FVCOM (optional) - Run fvcom with WRF data || https://github.com/SiqiLiOcean/WRF2FVCOM
% OceanData (optional) - Compare with famous ocean data || https://github.com/SiqiLiOcean/OceanData
% FVCOM_NML (optional) - FVCOM NML || https://github.com/SiqiLiOcean/FVCOM_NML
% Course (optional) - Course || https://github.com/SiqiLiOcean/Course
% nctoolbox (optional) - NCTOOLBOX || https://github.com/nctoolbox/nctoolbox | http://nctoolbox.github.io/nctoolbox/
% CDT (optional) - Climate Data Toolbox || https://github.com/chadagreene/CDT
% vtkToolbox (optional) - VTK toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/94993-vtktoolbox
% TMDToolbox_v2_5 (optional) - Tidal Model Driver || https://github.com/EarthAndSpaceResearch/TMD_Matlab_Toolbox_v2.5 | https://www.mathworks.com/matlabcentral/fileexchange/75599-tide-model-driver-tmd-version-2-5-toolbox-for-matlab
% TMDToolbox_v3_0 (optional) - Tidal Model Driver || https://github.com/chadagreene/Tide-Model-Driver | https://www.mathworks.com/matlabcentral/fileexchange/133417-tide-model-driver-tmd-version-3-0
% kmz2struct (optional) - kmz2struct toolbox || https://github.com/njellingson/kmz2struct
% inpolygons-pkg (optional) - inpolygons-pkg toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/7187-inpolygons
% JSONLab (optional) - JSONLab toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/33381-jsonlab | https://github.com/fangq/jsonlab | https://iso2mesh.sourceforge.net/cgi-bin/index.cgi?jsonlab
% OceanMesh2D (optional) - OceanMesh2D toolbox || https://github.com/CHLNDDEV/OceanMesh2D.git
% ann_wrapper (optional) - ann_wrapper toolbox || https://github.com/shaibagon/ann_wrapper.git
% ZoomPlot (optional) - ZoomPlot toolbox || https://github.com/iqiukp/ZoomPlot-MATLAB
% htool (optional) - htool bash script || https://github.com/SiqiLiOcean/htool
% export_fig (optional) - export_fig toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/23629-export_fig/
% plot_google_map (optional) - plot_google_map toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/27627-zoharby-plot_google_map || https://github.com/zoharby/plot_google_map
% genpath2 - genpath2 toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/72791-genpath2
% irfu-matlab (optional) - irfu-matlab toolbox || https://github.com/irfu/irfu-matlab
% WW3-tools (optional) - WW3-tools toolbox || https://github.com/NOAA-EMC/WW3-tools
% funcsign (optional) - funcsign toolbox || https://gitee.com/iam002/funcsign.git
% kml-toolbox (optional) - kml-toolbox toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/34694-kml-toolbox
% MATLAB-PLOT-CHEAT-SHEET (optional) - MATLAB-PLOT-CHEAT-SHEET toolbox || https://github.com/slandarer/MATLAB-PLOT-CHEAT-SHEET
% matlabPlotCheatsheet (optional) - matlabPlotCheatsheet toolbox || https://github.com/peijin94/matlabPlotCheatsheet
% visualization-cheat-sheet (optional) - visualization-cheat-sheet toolbox || https://github.com/mathworks/visualization-cheat-sheet
% googleearthtoolbox (optional) - googleearthtoolbox toolbox || https://github.com/sverhoeven/googleearthtoolbox
% mitgcm_toolbox (optional) - mitgcm_toolbox || https://github.com/seamanticscience/mitgcm_toolbox
% ParforProgMon (optional) - Progress monitor for matlab parfor || https://github.com/fsaxen/ParforProgMon || https://ww2.mathworks.cn/matlabcentral/fileexchange/71436-parfor-progress-monitor-progress-bar-v4?s_tid=srchtitle
% ocean_data_tools (optional) - ocean_data_tools toolbox || https://github.com/lnferris/ocean_data_tools
% gcmfaces (optional) - gcmfaces toolbox || https://github.com/MITgcm/gcmfaces
% RPSstuff (optional) - RPSstuff toolbox || https://github.com/rsignell-usgs/RPSstuff
% kriging (optional) - kriging toolbox || https://github.com/wschwanghart/kriging || https://ww2.mathworks.cn/matlabcentral/fileexchange/29025-ordinary-kriging
% variogramfit (optional) - variogramfit toolbox || https://github.com/wschwanghart/variogramfit || https://ww2.mathworks.cn/matlabcentral/fileexchange/25948-variogramfit
% topotoolbox (optional) - TopoToolbox || https://github.com/wschwanghart/topotoolbox
% MESH2D (optional) - MESH2D toolbox || https://github.com/dengwirda/mesh2d
% ipi4d (optional) - ipi4d toolbox || https://github.com/mariosgeo/ipi4d
% inpoly (optional) - A fast 'point(s)-in-polygon' test || https://github.com/dengwirda/inpoly
% FVCOMToolbox_v2 (optional) - fvcom-toolbox-new || https://gitea.iocean.cn/Christmas/FVCOMToolbox_v2
% matlab-schemer (optional) - matlab-schemer || https://github.com/scottclowe/matlab-schemer
% freezeColors (optional) - freezeColors || https://github.com/jiversen/freezeColors
% yaml (optional) - yaml parser || https://github.com/MartinKoch123/yaml
%
% %% Download
% m_map (optional) - m_map toolbox(v1.4o) || https://www.eoas.ubc.ca/~rich/map.html && https://www.eoas.ubc.ca/~rich/mapug.html
% t_tide (optional) - T_Tide Harmonic Analysis Toolbox(v1.5beta) || https://www.eoas.ubc.ca/~rich/#T_Tide
% gshhs (optional) - GSHHS || https://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html
% etopo1 (optional) - ETOPO1 || https://www.ngdc.noaa.gov/mgg/global/global.html
% ETOPO1_Bed_g_gmt4 (optional) - ETOPO1_Bed_g_gmt4.grd || https://www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/data/bedrock/grid_registered/netcdf/ETOPO1_Bed_g_gmt4.grd.gz
% ETOPO1_Ice_g_gmt4 (optional) - ETOPO1_Ice_g_gmt4.grd || https://www.ngdc.noaa.gov/mgg/global/relief/ETOPO1/data/ice_surface/grid_registered/netcdf/ETOPO1_Ice_g_gmt4.grd.gz
% seawater (optional) - seawater toolbox || https://www.cmar.csiro.au/datacentre/ext_docs/seawater.html
% GSW Oceanographic Toolbox (optional) - GSW Oceanographic Toolbox || http://www.teos-10.org/software.htm
% WindRose (optional) - WindRose toolbox || https://dpereira.asempyme.com/windrose/
% mexcdf (optional) - mexcdf toolbox || https://mexcdf.sourceforge.net/index.php | https://sourceforge.net/p/mexcdf/svn/HEAD/tree/
% DHIMIKE (optional) - DHIMIKE toolbox || https://github.com/DHI/DHI-MATLAB-Toolbox/
% dace (optional) - dace toolbox || https://www.omicron.dk/dace.html
% Mesh2d (optional) - Mesh2d toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/25555-mesh2d-delaunay-based-unstructured-mesh-generation
%
% %% builtin
% cprintf (optional) - Color printf || https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatted-colored-text-in-the-command-window
% INI (optional) - INI toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/55766-ini
% struct2ini (optional) - struct2ini toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/22079-struct2ini
% inifile (optional) - INFILE toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/2976-inifile
% iniconfig (optional) - INI Config toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/24992-ini-config
% MITgcmTools (optional) - MITgcm matlab toolbox || https://github.com/MITgcm/MITgcm/tree/master/utils/matlab
% LanczosFilter (optional) - LanczosFilter || https://ww2.mathworks.cn/matlabcentral/fileexchange/14041-lanczosfilter-m
% ellipse (optional) - ellipse || https://ww2.mathworks.cn/matlabcentral/fileexchange/289-ellipse-m
% genpath_exclude (optional) - genpath_exclude || https://ww2.mathworks.cn/matlabcentral/fileexchange/22209-genpath_exclude
% taylordiagram (optional) - taylordiagram || https://ww2.mathworks.cn/matlabcentral/fileexchange/20559-taylor-diagram
% guillaumemaze (optional) - guillaumemaze || http://code.google.com/p/guillaumemaze/
% perfectPolarPlot (optional) - perfectPolarPlot || https://ww2.mathworks.cn/matlabcentral/fileexchange/73967-perfect-polar-plots
% LIRSC (optional) - LIRSC || https://ww2.mathworks.cn/matlabcentral/fileexchange/71491-largest-inscribed-rectangle-square-or-circle
% IDW (optional) - Inverse Distance Weight toolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/24477-inverse-distance-weight
% KrigingToolbox (optional) - KrigingToolbox || https://ww2.mathworks.cn/matlabcentral/fileexchange/59960-krigingtoolbox
% utm2deg (optional) - utm2deg || https://www.mathworks.com/matlabcentral/fileexchange/10914-utm2deg
% Spiral diagram (optional) - Spiral diagram || https://www.mathworks.com/matlabcentral/fileexchange/164966-spiral-diagram
% plotyyy (optional) - plotyyy || https://ww2.mathworks.cn/matlabcentral/fileexchange/1017-plotyyy
% New Desktop for MATLAB (Beta)(optional) - New Desktop for MATLAB (Beta) || https://www.mathworks.com/matlabcentral/fileexchange/119593-new-desktop-for-matlab-beta
% parfor_progress (optional) - Progress monitor with parfor || https://ww2.mathworks.cn/matlabcentral/fileexchange/32101-progress-monitor-progress-bar-that-works-with-parfor?s_tid=srchtitle
% parfor_progressbar (optional) - parfor_progressbar || https://ww2.mathworks.cn/matlabcentral/fileexchange/53773-parfor_progressbar
%
% Supplement Files
% matFVCOM - Supplement files for matFVCOM toolbox
% Contents.m - Contents for toolbox
% functionSignatures.json - Function signatures for toolbox
% esmf_write_structured_grid.m - Write structured grid to ESMF format
% f_2d_coast.m - Draw the FVCOM grid coastline
% f_2d_mask_boundary.m - Mask the region out of the FVCOM grid boundary
% f_2d_mesh.m - Draw 2d fvcom mesh
% f_load_grid.m - Generate all the information of FVCOM grid
% initial.m - Reinitial figure
% kml_w_mesh.m - Draw FVCOM mesh in KML
% minmax.m - Find the minimum and maximum of the data
% obs_merge_location.m - Merge the obs struct according to (lon,lat)
% set_path.m - Set the path for the matFVCOM package
% w_2d_boundary.m - Draw WRF mesh boundary
% w_load_grid.m - Load the WRF grid from WRF output
% write_met_forcing_fvcom.m - Write meteorological forcing for FVCOM
% add_restart_inundation_cells.m - Add restart inundation cells
% add_restart_el_eqi.m - Add restart el_eqi
% write_2dm.m - Write 2dm file
% f_calc_resolution.m - Calculate the resolution of the grid
% write_brf_dy.m - Write bottom roughness file
%
% matWRF - Extend matWRF toolbox
% functionSignatures.json - Function signatures for toolbox
% calc_rh2.m - Calculate relative humidity from temperature and dew point at 2m
%
% matFigure
% Contents.m - Contents for toolbox
% functionSignatures.json - Function signatures for toolbox
% cm_disp.m - Display colormap
% cm/cmp_b2r.mat - Colormap for b2r
% cm/nclColormap - Colormap for ncl document
%
% Otherpkgs
% Otherpkgs - Show other packages
% Otherpkgs.m - Show other packages
% scatplot.m - Scatter plot with colorbar || https://ww2.mathworks.cn/matlabcentral/fileexchange/8577-scatplot
% tpxo_atlas2local.m (fixed) - Convert TPXO9-atlas to local || https://www.tpxo.net/global/tpxo9-atlas
% scatterOOR.m - Scatter out of range || https://mp.weixin.qq.com/s/B9Yv8LCLpb1fOw9Wz1MmMA
%
%
% Py - Python scripts for toolbox
% -----------------------------------------------------------------------------------------------------------------
% Postprocess_fvcom.py - Postprocess fvcom triangle data, contains daily/hourly
% gluemncbig.py - Glue mnc files to big mnc file
%
%
% Hidden - Hidden folder
% -----------------------------------------------------------------------------------------------------------------
% ./Htmls
% ./References
% ./Data
% ./Docs
%
%
% =================================================================================================================
%
%
% Author : Christmas, Dovelet, Qidi Ma
% Organization : Ocean University of China, Qingdao, China; Qingdao Ekman Technology Co., Ltd
% Email : [email protected]
% Website : https://www.iocean.cn (visualization)
% https://data.iocean.cn (database)
% https://github.com/ChristmasZCY/Mbaysalt (github)
% https://gitea.iocean.cn/Christmas/Mbaysalt (gitea)