Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fvcom-toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
FVCOM
fvcom-toolbox
Commits
9192160b
Commit
9192160b
authored
Mar 19, 2015
by
Pierre Cazenave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the documentation following the new release.
parent
0ed5eb78
Changes
239
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
239 changed files
with
8908 additions
and
3374 deletions
+8908
-3374
doc/fvcom_postproc/README.html
doc/fvcom_postproc/README.html
+1
-1
doc/fvcom_postproc/example_surface_plot.html
doc/fvcom_postproc/example_surface_plot.html
+1
-1
doc/fvcom_postproc/graph.html
doc/fvcom_postproc/graph.html
+2
-2
doc/fvcom_postproc/graph.map
doc/fvcom_postproc/graph.map
+1
-1
doc/fvcom_postproc/graph.png
doc/fvcom_postproc/graph.png
+0
-0
doc/fvcom_postproc/index.html
doc/fvcom_postproc/index.html
+1
-1
doc/fvcom_prepro/README.html
doc/fvcom_prepro/README.html
+1
-1
doc/fvcom_prepro/add_coriolis.html
doc/fvcom_prepro/add_coriolis.html
+1
-1
doc/fvcom_prepro/add_obc_nodes_graphic.html
doc/fvcom_prepro/add_obc_nodes_graphic.html
+1
-1
doc/fvcom_prepro/add_obc_nodes_list.html
doc/fvcom_prepro/add_obc_nodes_list.html
+70
-65
doc/fvcom_prepro/add_river_nodes_graphic.html
doc/fvcom_prepro/add_river_nodes_graphic.html
+1
-1
doc/fvcom_prepro/add_river_nodes_list.html
doc/fvcom_prepro/add_river_nodes_list.html
+1
-1
doc/fvcom_prepro/add_sigma_forDT.html
doc/fvcom_prepro/add_sigma_forDT.html
+1
-1
doc/fvcom_prepro/add_sponge_nodes.html
doc/fvcom_prepro/add_sponge_nodes.html
+1
-1
doc/fvcom_prepro/add_sponge_nodes_list.html
doc/fvcom_prepro/add_sponge_nodes_list.html
+1
-1
doc/fvcom_prepro/add_stations_list.html
doc/fvcom_prepro/add_stations_list.html
+121
-91
doc/fvcom_prepro/add_var_FVCOM_river.html
doc/fvcom_prepro/add_var_FVCOM_river.html
+1
-1
doc/fvcom_prepro/calc_sponge_radius.html
doc/fvcom_prepro/calc_sponge_radius.html
+1
-1
doc/fvcom_prepro/create_HD_nest_bdy_TYPE3.html
doc/fvcom_prepro/create_HD_nest_bdy_TYPE3.html
+409
-0
doc/fvcom_prepro/create_nesting_nodes.html
doc/fvcom_prepro/create_nesting_nodes.html
+207
-0
doc/fvcom_prepro/elems2nodes.html
doc/fvcom_prepro/elems2nodes.html
+1
-1
doc/fvcom_prepro/estimate_ts.html
doc/fvcom_prepro/estimate_ts.html
+1
-1
doc/fvcom_prepro/example.html
doc/fvcom_prepro/example.html
+1
-1
doc/fvcom_prepro/example2.html
doc/fvcom_prepro/example2.html
+1
-1
doc/fvcom_prepro/example_FVCOM_river.html
doc/fvcom_prepro/example_FVCOM_river.html
+1
-1
doc/fvcom_prepro/example_FVCOM_tsobc.html
doc/fvcom_prepro/example_FVCOM_tsobc.html
+1
-1
doc/fvcom_prepro/example_FVCOM_wind_ts.html
doc/fvcom_prepro/example_FVCOM_wind_ts.html
+1
-1
doc/fvcom_prepro/example_FVCOM_wind_ts_speed.html
doc/fvcom_prepro/example_FVCOM_wind_ts_speed.html
+1
-1
doc/fvcom_prepro/example_init_lag.html
doc/fvcom_prepro/example_init_lag.html
+1
-1
doc/fvcom_prepro/example_my_project.html
doc/fvcom_prepro/example_my_project.html
+1
-1
doc/fvcom_prepro/extract_mesoscale.html
doc/fvcom_prepro/extract_mesoscale.html
+1
-1
doc/fvcom_prepro/find_nearest_pt.html
doc/fvcom_prepro/find_nearest_pt.html
+76
-61
doc/fvcom_prepro/gen_semistructured_mesh.html
doc/fvcom_prepro/gen_semistructured_mesh.html
+1
-1
doc/fvcom_prepro/gen_unstructured_mesh.html
doc/fvcom_prepro/gen_unstructured_mesh.html
+1
-1
doc/fvcom_prepro/generate_mjd.html
doc/fvcom_prepro/generate_mjd.html
+1
-1
doc/fvcom_prepro/get_AMM.html
doc/fvcom_prepro/get_AMM.html
+1
-1
doc/fvcom_prepro/get_EA_river_climatology.html
doc/fvcom_prepro/get_EA_river_climatology.html
+126
-126
doc/fvcom_prepro/get_EHYPE_rivers.html
doc/fvcom_prepro/get_EHYPE_rivers.html
+1
-1
doc/fvcom_prepro/get_FVCOM_rivers.html
doc/fvcom_prepro/get_FVCOM_rivers.html
+1
-1
doc/fvcom_prepro/get_HD_OBC.html
doc/fvcom_prepro/get_HD_OBC.html
+122
-0
doc/fvcom_prepro/get_HD_nesting_nodes.html
doc/fvcom_prepro/get_HD_nesting_nodes.html
+124
-0
doc/fvcom_prepro/get_HYCOM_forcing.html
doc/fvcom_prepro/get_HYCOM_forcing.html
+1
-1
doc/fvcom_prepro/get_HYCOM_tsobc.html
doc/fvcom_prepro/get_HYCOM_tsobc.html
+1
-1
doc/fvcom_prepro/get_MetUM_pp.html
doc/fvcom_prepro/get_MetUM_pp.html
+1
-1
doc/fvcom_prepro/get_NAE2_forcing.html
doc/fvcom_prepro/get_NAE2_forcing.html
+1
-1
doc/fvcom_prepro/get_NCEP_forcing.html
doc/fvcom_prepro/get_NCEP_forcing.html
+211
-201
doc/fvcom_prepro/get_POLCOMS_meanflow.html
doc/fvcom_prepro/get_POLCOMS_meanflow.html
+1
-1
doc/fvcom_prepro/get_POLCOMS_netCDF.html
doc/fvcom_prepro/get_POLCOMS_netCDF.html
+2
-2
doc/fvcom_prepro/get_POLCOMS_river_discharge.html
doc/fvcom_prepro/get_POLCOMS_river_discharge.html
+1
-1
doc/fvcom_prepro/get_POLCOMS_river_positions.html
doc/fvcom_prepro/get_POLCOMS_river_positions.html
+1
-1
doc/fvcom_prepro/get_POLCOMS_sigma.html
doc/fvcom_prepro/get_POLCOMS_sigma.html
+1
-1
doc/fvcom_prepro/get_POLCOMS_tsobc.html
doc/fvcom_prepro/get_POLCOMS_tsobc.html
+1
-1
doc/fvcom_prepro/get_POLCOMS_tsobc_NOCL.html
doc/fvcom_prepro/get_POLCOMS_tsobc_NOCL.html
+1
-1
doc/fvcom_prepro/get_POLCOMS_tsobc_gcoms.html
doc/fvcom_prepro/get_POLCOMS_tsobc_gcoms.html
+259
-220
doc/fvcom_prepro/get_POLCOMS_tsrestart_NOCL.html
doc/fvcom_prepro/get_POLCOMS_tsrestart_NOCL.html
+1
-1
doc/fvcom_prepro/get_POLPRED_spectide.html
doc/fvcom_prepro/get_POLPRED_spectide.html
+192
-184
doc/fvcom_prepro/get_cs3x.html
doc/fvcom_prepro/get_cs3x.html
+1
-1
doc/fvcom_prepro/get_zeta_xtide.html
doc/fvcom_prepro/get_zeta_xtide.html
+1
-1
doc/fvcom_prepro/graph.dot
doc/fvcom_prepro/graph.dot
+15
-2
doc/fvcom_prepro/graph.html
doc/fvcom_prepro/graph.html
+107
-98
doc/fvcom_prepro/graph.map
doc/fvcom_prepro/graph.map
+106
-97
doc/fvcom_prepro/graph.png
doc/fvcom_prepro/graph.png
+0
-0
doc/fvcom_prepro/inCell.html
doc/fvcom_prepro/inCell.html
+1
-1
doc/fvcom_prepro/index.html
doc/fvcom_prepro/index.html
+2
-2
doc/fvcom_prepro/init_lag.html
doc/fvcom_prepro/init_lag.html
+213
-0
doc/fvcom_prepro/interp_HYCOM2FVCOM.html
doc/fvcom_prepro/interp_HYCOM2FVCOM.html
+1
-1
doc/fvcom_prepro/interp_POLCOMS2FVCOM.html
doc/fvcom_prepro/interp_POLCOMS2FVCOM.html
+1
-1
doc/fvcom_prepro/make_blank_mesh.html
doc/fvcom_prepro/make_blank_mesh.html
+1
-1
doc/fvcom_prepro/my_project.html
doc/fvcom_prepro/my_project.html
+1
-1
doc/fvcom_prepro/nodes2elems.html
doc/fvcom_prepro/nodes2elems.html
+2
-2
doc/fvcom_prepro/plot_field.html
doc/fvcom_prepro/plot_field.html
+1
-1
doc/fvcom_prepro/read_ERA_wind.html
doc/fvcom_prepro/read_ERA_wind.html
+1
-1
doc/fvcom_prepro/read_MetUM_forcing.html
doc/fvcom_prepro/read_MetUM_forcing.html
+1
-1
doc/fvcom_prepro/read_NCEP_wind.html
doc/fvcom_prepro/read_NCEP_wind.html
+1
-1
doc/fvcom_prepro/read_fvcom_bath.html
doc/fvcom_prepro/read_fvcom_bath.html
+2
-2
doc/fvcom_prepro/read_fvcom_obc.html
doc/fvcom_prepro/read_fvcom_obc.html
+151
-0
doc/fvcom_prepro/read_gmsh_mesh.html
doc/fvcom_prepro/read_gmsh_mesh.html
+1
-1
doc/fvcom_prepro/read_grid_mesh.html
doc/fvcom_prepro/read_grid_mesh.html
+1
-1
doc/fvcom_prepro/read_sigma.html
doc/fvcom_prepro/read_sigma.html
+3
-3
doc/fvcom_prepro/read_sms_map.html
doc/fvcom_prepro/read_sms_map.html
+1
-1
doc/fvcom_prepro/read_sms_mesh.html
doc/fvcom_prepro/read_sms_mesh.html
+322
-314
doc/fvcom_prepro/set_elevtide.html
doc/fvcom_prepro/set_elevtide.html
+3
-3
doc/fvcom_prepro/set_elevtide_tmd.html
doc/fvcom_prepro/set_elevtide_tmd.html
+1
-1
doc/fvcom_prepro/set_spectide.html
doc/fvcom_prepro/set_spectide.html
+1
-1
doc/fvcom_prepro/setup_metrics.html
doc/fvcom_prepro/setup_metrics.html
+1
-1
doc/fvcom_prepro/smoothfield.html
doc/fvcom_prepro/smoothfield.html
+1
-1
doc/fvcom_prepro/smoothfield2.html
doc/fvcom_prepro/smoothfield2.html
+1
-1
doc/fvcom_prepro/truncfield.html
doc/fvcom_prepro/truncfield.html
+1
-1
doc/fvcom_prepro/wrf2fvcom_U10V10.html
doc/fvcom_prepro/wrf2fvcom_U10V10.html
+1
-1
doc/fvcom_prepro/write_FVCOM_bath.html
doc/fvcom_prepro/write_FVCOM_bath.html
+6
-6
doc/fvcom_prepro/write_FVCOM_bedflag.html
doc/fvcom_prepro/write_FVCOM_bedflag.html
+1
-1
doc/fvcom_prepro/write_FVCOM_cor.html
doc/fvcom_prepro/write_FVCOM_cor.html
+1
-1
doc/fvcom_prepro/write_FVCOM_elevtide.html
doc/fvcom_prepro/write_FVCOM_elevtide.html
+231
-159
doc/fvcom_prepro/write_FVCOM_forcing.html
doc/fvcom_prepro/write_FVCOM_forcing.html
+651
-594
doc/fvcom_prepro/write_FVCOM_grid.html
doc/fvcom_prepro/write_FVCOM_grid.html
+1
-1
doc/fvcom_prepro/write_FVCOM_heating.html
doc/fvcom_prepro/write_FVCOM_heating.html
+1
-1
doc/fvcom_prepro/write_FVCOM_meanflow.html
doc/fvcom_prepro/write_FVCOM_meanflow.html
+1
-1
doc/fvcom_prepro/write_FVCOM_meanflow_ascii.html
doc/fvcom_prepro/write_FVCOM_meanflow_ascii.html
+1
-1
doc/fvcom_prepro/write_FVCOM_nested_forcing.html
doc/fvcom_prepro/write_FVCOM_nested_forcing.html
+465
-0
doc/fvcom_prepro/write_FVCOM_obc.html
doc/fvcom_prepro/write_FVCOM_obc.html
+1
-1
doc/fvcom_prepro/write_FVCOM_obs_TS.html
doc/fvcom_prepro/write_FVCOM_obs_TS.html
+1
-1
doc/fvcom_prepro/write_FVCOM_probes.html
doc/fvcom_prepro/write_FVCOM_probes.html
+128
-110
doc/fvcom_prepro/write_FVCOM_restart.html
doc/fvcom_prepro/write_FVCOM_restart.html
+6
-6
doc/fvcom_prepro/write_FVCOM_river.html
doc/fvcom_prepro/write_FVCOM_river.html
+1
-1
doc/fvcom_prepro/write_FVCOM_river_ERSEM.html
doc/fvcom_prepro/write_FVCOM_river_ERSEM.html
+263
-0
doc/fvcom_prepro/write_FVCOM_river_nml.html
doc/fvcom_prepro/write_FVCOM_river_nml.html
+1
-1
doc/fvcom_prepro/write_FVCOM_spectide.html
doc/fvcom_prepro/write_FVCOM_spectide.html
+1
-1
doc/fvcom_prepro/write_FVCOM_sponge.html
doc/fvcom_prepro/write_FVCOM_sponge.html
+1
-1
doc/fvcom_prepro/write_FVCOM_stations.html
doc/fvcom_prepro/write_FVCOM_stations.html
+1
-1
doc/fvcom_prepro/write_FVCOM_tsobc.html
doc/fvcom_prepro/write_FVCOM_tsobc.html
+298
-238
doc/fvcom_prepro/write_FVCOM_tsobcERSEM.html
doc/fvcom_prepro/write_FVCOM_tsobcERSEM.html
+355
-0
doc/fvcom_prepro/write_FVCOM_wind_ts_speed.html
doc/fvcom_prepro/write_FVCOM_wind_ts_speed.html
+1
-1
doc/fvcom_prepro/write_FVCOM_z0.html
doc/fvcom_prepro/write_FVCOM_z0.html
+1
-1
doc/fvcom_prepro/write_WRF_forcing.html
doc/fvcom_prepro/write_WRF_forcing.html
+1
-1
doc/fvcom_prepro/write_dtank.html
doc/fvcom_prepro/write_dtank.html
+1
-1
doc/fvcom_prepro/write_nesting_bdy_file.html
doc/fvcom_prepro/write_nesting_bdy_file.html
+557
-0
doc/fvcom_prepro/write_river_info.html
doc/fvcom_prepro/write_river_info.html
+1
-1
doc/index.html
doc/index.html
+56
-52
doc/swan_scripts/calc_fetch.html
doc/swan_scripts/calc_fetch.html
+1
-1
doc/swan_scripts/calc_tauw.html
doc/swan_scripts/calc_tauw.html
+1
-1
doc/swan_scripts/example_fetchcalc.html
doc/swan_scripts/example_fetchcalc.html
+1
-1
doc/swan_scripts/fetch_calc.html
doc/swan_scripts/fetch_calc.html
+1
-1
doc/swan_scripts/fvcom2swan.html
doc/swan_scripts/fvcom2swan.html
+1
-1
doc/swan_scripts/get_fetch.html
doc/swan_scripts/get_fetch.html
+1
-1
doc/swan_scripts/graph.html
doc/swan_scripts/graph.html
+15
-15
doc/swan_scripts/graph.map
doc/swan_scripts/graph.map
+14
-14
doc/swan_scripts/graph.png
doc/swan_scripts/graph.png
+0
-0
doc/swan_scripts/ideal_swan_obc.html
doc/swan_scripts/ideal_swan_obc.html
+1
-1
doc/swan_scripts/ideal_swan_obc_driver_example.html
doc/swan_scripts/ideal_swan_obc_driver_example.html
+1
-1
doc/swan_scripts/index.html
doc/swan_scripts/index.html
+1
-1
doc/swan_scripts/plot_swan_mesh.html
doc/swan_scripts/plot_swan_mesh.html
+1
-1
doc/swan_scripts/plotunswan.html
doc/swan_scripts/plotunswan.html
+1
-1
doc/swan_scripts/read_specfile.html
doc/swan_scripts/read_specfile.html
+1
-1
doc/swan_scripts/show_fetch.html
doc/swan_scripts/show_fetch.html
+1
-1
doc/swan_scripts/swan2netcdf.html
doc/swan_scripts/swan2netcdf.html
+1
-1
doc/swan_scripts/ww3_to_swan_bndry.html
doc/swan_scripts/ww3_to_swan_bndry.html
+1
-1
doc/tests/utilities/graph.html
doc/tests/utilities/graph.html
+3
-3
doc/tests/utilities/graph.map
doc/tests/utilities/graph.map
+2
-2
doc/tests/utilities/graph.png
doc/tests/utilities/graph.png
+0
-0
doc/tests/utilities/index.html
doc/tests/utilities/index.html
+1
-1
doc/tests/utilities/test_get_POLCOMS_tsobc.html
doc/tests/utilities/test_get_POLCOMS_tsobc.html
+1
-1
doc/tests/utilities/test_grid2fvcom.html
doc/tests/utilities/test_grid2fvcom.html
+1
-1
doc/utilities/ST_Dstar.html
doc/utilities/ST_Dstar.html
+1
-1
doc/utilities/ST_d2phi.html
doc/utilities/ST_d2phi.html
+1
-1
doc/utilities/ST_erate.html
doc/utilities/ST_erate.html
+1
-1
doc/utilities/ST_example.html
doc/utilities/ST_example.html
+1
-1
doc/utilities/ST_phi2d.html
doc/utilities/ST_phi2d.html
+1
-1
doc/utilities/ST_summary.html
doc/utilities/ST_summary.html
+1
-1
doc/utilities/ST_taucr.html
doc/utilities/ST_taucr.html
+1
-1
doc/utilities/ST_wentworth.html
doc/utilities/ST_wentworth.html
+1
-1
doc/utilities/ST_wset.html
doc/utilities/ST_wset.html
+1
-1
doc/utilities/SW_Density.html
doc/utilities/SW_Density.html
+1
-1
doc/utilities/SW_Kviscosity.html
doc/utilities/SW_Kviscosity.html
+1
-1
doc/utilities/SW_Viscosity.html
doc/utilities/SW_Viscosity.html
+1
-1
doc/utilities/calc_rad.html
doc/utilities/calc_rad.html
+4
-3
doc/utilities/calc_scoord.html
doc/utilities/calc_scoord.html
+210
-0
doc/utilities/catstruct.html
doc/utilities/catstruct.html
+2
-2
doc/utilities/centroid.html
doc/utilities/centroid.html
+1
-1
doc/utilities/check_wset.html
doc/utilities/check_wset.html
+1
-1
doc/utilities/connectivity.html
doc/utilities/connectivity.html
+2
-2
doc/utilities/deg2utm.html
doc/utilities/deg2utm.html
+1
-1
doc/utilities/distance_to_coast.html
doc/utilities/distance_to_coast.html
+79
-0
doc/utilities/do_ph_change_plot.html
doc/utilities/do_ph_change_plot.html
+1
-1
doc/utilities/do_ph_change_points_plot.html
doc/utilities/do_ph_change_points_plot.html
+1
-1
doc/utilities/do_ph_max_change_plot.html
doc/utilities/do_ph_max_change_plot.html
+1
-1
doc/utilities/do_ph_vertical_profile.html
doc/utilities/do_ph_vertical_profile.html
+1
-1
doc/utilities/do_residual.html
doc/utilities/do_residual.html
+1
-1
doc/utilities/do_residual_plot.html
doc/utilities/do_residual_plot.html
+1
-1
doc/utilities/do_surface_plot.html
doc/utilities/do_surface_plot.html
+1
-1
doc/utilities/do_surface_plotMatlabMap.html
doc/utilities/do_surface_plotMatlabMap.html
+219
-0
doc/utilities/do_surface_plotVel.html
doc/utilities/do_surface_plotVel.html
+115
-0
doc/utilities/do_surface_plotVelMatlabMap.html
doc/utilities/do_surface_plotVelMatlabMap.html
+123
-0
doc/utilities/do_transect_plot.html
doc/utilities/do_transect_plot.html
+1
-1
doc/utilities/do_vector_plot.html
doc/utilities/do_vector_plot.html
+1
-1
doc/utilities/do_vector_plot_MatlabMap.html
doc/utilities/do_vector_plot_MatlabMap.html
+225
-0
doc/utilities/do_volume.html
doc/utilities/do_volume.html
+1
-1
doc/utilities/do_volume_change.html
doc/utilities/do_volume_change.html
+1
-1
doc/utilities/do_volume_change2.html
doc/utilities/do_volume_change2.html
+1
-1
doc/utilities/find_boundary_elements.html
doc/utilities/find_boundary_elements.html
+1
-1
doc/utilities/find_relaxation_boundary.html
doc/utilities/find_relaxation_boundary.html
+193
-0
doc/utilities/fix_inside_boundary.html
doc/utilities/fix_inside_boundary.html
+1
-1
doc/utilities/get_BADC_data.html
doc/utilities/get_BADC_data.html
+1
-1
doc/utilities/get_NCEP_year.html
doc/utilities/get_NCEP_year.html
+1
-1
doc/utilities/get_polcoms_fixed_vars.html
doc/utilities/get_polcoms_fixed_vars.html
+115
-0
doc/utilities/get_polcoms_timeseriesv1.html
doc/utilities/get_polcoms_timeseriesv1.html
+155
-0
doc/utilities/get_runs.html
doc/utilities/get_runs.html
+1
-1
doc/utilities/get_runs_test.html
doc/utilities/get_runs_test.html
+1
-1
doc/utilities/ginput2.html
doc/utilities/ginput2.html
+1
-1
doc/utilities/graph.dot
doc/utilities/graph.dot
+23
-16
doc/utilities/graph.html
doc/utilities/graph.html
+80
-75
doc/utilities/graph.map
doc/utilities/graph.map
+79
-74
doc/utilities/graph.png
doc/utilities/graph.png
+0
-0
doc/utilities/greg2julian.html
doc/utilities/greg2julian.html
+1
-1
doc/utilities/greg2mjulian.html
doc/utilities/greg2mjulian.html
+1
-1
doc/utilities/grid2fvcom.html
doc/utilities/grid2fvcom.html
+1
-1
doc/utilities/grid_vert_interp.html
doc/utilities/grid_vert_interp.html
+1
-1
doc/utilities/gridvecs.html
doc/utilities/gridvecs.html
+1
-1
doc/utilities/inbox.html
doc/utilities/inbox.html
+1
-1
doc/utilities/index.html
doc/utilities/index.html
+2
-2
doc/utilities/inkmlbb.html
doc/utilities/inkmlbb.html
+1
-1
doc/utilities/interpolate_near_coast.html
doc/utilities/interpolate_near_coast.html
+86
-0
doc/utilities/interpolate_polcoms_timeseries_zet.html
doc/utilities/interpolate_polcoms_timeseries_zet.html
+115
-0
doc/utilities/isintriangle.html
doc/utilities/isintriangle.html
+1
-1
doc/utilities/julian2greg.html
doc/utilities/julian2greg.html
+1
-1
doc/utilities/lat_to_m.html
doc/utilities/lat_to_m.html
+1
-1
doc/utilities/lon_to_m.html
doc/utilities/lon_to_m.html
+1
-1
doc/utilities/m_ll2ll.html
doc/utilities/m_ll2ll.html
+1
-1
doc/utilities/m_to_lat.html
doc/utilities/m_to_lat.html
+1
-1
doc/utilities/m_to_lon.html
doc/utilities/m_to_lon.html
+1
-1
doc/utilities/mjul2str.html
doc/utilities/mjul2str.html
+1
-1
doc/utilities/mjul2str2.html
doc/utilities/mjul2str2.html
+1
-1
doc/utilities/mjulian2greg.html
doc/utilities/mjulian2greg.html
+1
-1
doc/utilities/naut_2_cart.html
doc/utilities/naut_2_cart.html
+1
-1
doc/utilities/pl64.html
doc/utilities/pl64.html
+1
-1
doc/utilities/plot_fvcom_field.html
doc/utilities/plot_fvcom_field.html
+1
-1
doc/utilities/pp2nc.html
doc/utilities/pp2nc.html
+1
-1
doc/utilities/pp2nc_subset.html
doc/utilities/pp2nc_subset.html
+1
-1
doc/utilities/read_fvcom_mesh.html
doc/utilities/read_fvcom_mesh.html
+1
-1
doc/utilities/read_kml.html
doc/utilities/read_kml.html
+1
-1
doc/utilities/read_netCDF_FVCOM.html
doc/utilities/read_netCDF_FVCOM.html
+631
-353
doc/utilities/read_netcdf_vars.html
doc/utilities/read_netcdf_vars.html
+1
-1
doc/utilities/read_polcoms_params.html
doc/utilities/read_polcoms_params.html
+63
-0
doc/utilities/read_scoord_params.html
doc/utilities/read_scoord_params.html
+59
-0
doc/utilities/readdir.html
doc/utilities/readdir.html
+1
-1
doc/utilities/readzetUBVB.html
doc/utilities/readzetUBVB.html
+136
-0
doc/utilities/runmean.html
doc/utilities/runmean.html
+1
-1
doc/utilities/show_sigma.html
doc/utilities/show_sigma.html
+1
-1
doc/utilities/sigma_gen.html
doc/utilities/sigma_gen.html
+1
-1
doc/utilities/sigma_geo.html
doc/utilities/sigma_geo.html
+1
-1
doc/utilities/sigma_tanh.html
doc/utilities/sigma_tanh.html
+1
-1
doc/utilities/surrounders.html
doc/utilities/surrounders.html
+122
-0
doc/utilities/transect_nodes_screen.html
doc/utilities/transect_nodes_screen.html
+1
-1
doc/utilities/tri_from_bndry.html
doc/utilities/tri_from_bndry.html
+1
-1
doc/utilities/utm2deg.html
doc/utilities/utm2deg.html
+1
-1
doc/utilities/wave_fric.html
doc/utilities/wave_fric.html
+1
-1
doc/utilities/wgs2utm.html
doc/utilities/wgs2utm.html
+2
-2
doc/utilities/write_SMS_2dm.html
doc/utilities/write_SMS_2dm.html
+1
-1
doc/utilities/write_SMS_cst.html
doc/utilities/write_SMS_cst.html
+1
-1
doc/utilities/zero_to_nan.html
doc/utilities/zero_to_nan.html
+1
-1
No files found.
doc/fvcom_postproc/README.html
View file @
9192160b
...
...
@@ -59,6 +59,6 @@ This function is called by:
0007
<span
class=
"comment"
>
% Revision history
</span>
0008
<span
class=
"comment"
>
%
</span>
0009
<span
class=
"comment"
>
%==============================================================================
</span></pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_postproc/example_surface_plot.html
View file @
9192160b
...
...
@@ -184,6 +184,6 @@ This function is called by:
0120
<span
class=
"comment"
>
% vector plots requires correct lat and lon for u and v positions: FVCOM.xc
</span>
0121
<span
class=
"comment"
>
% and FVCOM.yc. Remember to extract them
</span>
0122 PLotoutV=do_vector_plot(plotOPTS,FVCOM)
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_postproc/graph.html
View file @
9192160b
...
...
@@ -19,11 +19,11 @@
<center>
<img
src=
"graph.png"
usemap=
"#mainmap"
alt=
"Dependency Graph for fvcom_postproc"
border=
"2"
style=
"color:#000;"
>
<map
name=
"mainmap"
>
<area
shape=
"poly"
id=
"node1"
href=
"README.html"
title=
"README"
alt=
""
coords=
"13
3,29,130,22,121,15,107,10,89,7,69,5,50,7,32,10,17,15,8,22,5,29,8,37,17
,43,32,49,50,52,69,53,89,52,107,49,121,43,130,37"
>
<area
shape=
"poly"
id=
"node1"
href=
"README.html"
title=
"README"
alt=
""
coords=
"13
4,29,130,22,121,15,107,10,89,7,69,5,50,7,32,10,18,15,8,22,5,29,8,37,18
,43,32,49,50,52,69,53,89,52,107,49,121,43,130,37"
>
<area
shape=
"poly"
id=
"node2"
href=
"example_surface_plot.html"
title=
"example_surface_plot"
alt=
""
coords=
"395,29,389,22,372,15,346,10,313,7,276,5,239,7,206,10,180,15,163,22,157,29,163,37,180,43,206,49,239,52,276,53,313,52,346,49,372,43,389,37"
>
</map>
</center>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:01
by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:52
by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_postproc/graph.map
View file @
9192160b
<area shape="poly" id="node1" href="README.html" title="README" alt="" coords="13
3,29,130,22,121,15,107,10,89,7,69,5,50,7,32,10,17,15,8,22,5,29,8,37,17
,43,32,49,50,52,69,53,89,52,107,49,121,43,130,37">
<area shape="poly" id="node1" href="README.html" title="README" alt="" coords="13
4,29,130,22,121,15,107,10,89,7,69,5,50,7,32,10,18,15,8,22,5,29,8,37,18
,43,32,49,50,52,69,53,89,52,107,49,121,43,130,37">
<area shape="poly" id="node2" href="example_surface_plot.html" title="example_surface_plot" alt="" coords="395,29,389,22,372,15,346,10,313,7,276,5,239,7,206,10,180,15,163,22,157,29,163,37,180,43,206,49,239,52,276,53,313,52,346,49,372,43,389,37">
doc/fvcom_postproc/graph.png
View replaced file @
0ed5eb78
View file @
9192160b
8.02 KB
|
W:
|
H:
9.36 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/fvcom_postproc/index.html
View file @
9192160b
...
...
@@ -29,6 +29,6 @@
<ul
style=
"list-style-image:url(../simulinkicon.gif)"
>
<li>
View the
<a
href=
"graph.html"
>
Graph
</a>
.
</li>
</ul>
<hr><address>
Generated on T
ue 29-Jul-2014 15:10:59
by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:50
by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/README.html
View file @
9192160b
...
...
@@ -73,6 +73,6 @@ This function is called by:
0014
<span
class=
"comment"
>
% Revision history
</span>
0015
<span
class=
"comment"
>
%
</span>
0016
<span
class=
"comment"
>
%==============================================================================
</span></pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_coriolis.html
View file @
9192160b
...
...
@@ -144,6 +144,6 @@ This function is called by:
0074
0075
0076
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_obc_nodes_graphic.html
View file @
9192160b
...
...
@@ -160,6 +160,6 @@ This function is called by:
0088 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0089
<span
class=
"keyword"
>
end
</span>
;
0090
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_obc_nodes_list.html
View file @
9192160b
...
...
@@ -27,7 +27,7 @@
<div
class=
"box"
><strong>
function [Mobj] = add_obc_nodes_list(Mobj,Nlist,ObcName,ObcType,plotFig)
</strong></div>
<h2><a
name=
"_description"
></a>
DESCRIPTION
<a
href=
"#_top"
><img
alt=
"^"
border=
"0"
src=
"../up.png"
></a></h2>
<div
class=
"fragment"
><pre
class=
"comment"
>
Add a set of obc nodes comprising a single obc boundary to Mesh structure
<div
class=
"fragment"
><pre
class=
"comment"
>
Add a set of obc nodes comprising a single obc boundary to Mesh structure
Using a list of nodes
[Mobj] = add_obc_nodes_list(Mobj,Nlist,ObcName,ObcType)
...
...
@@ -48,7 +48,7 @@
EXAMPLE USAGE
Mobj = add_obc_nodes_list(Mobj,Nlist,'OpenOcean')
Author(s):
Author(s):
Geoff Cowles (University of Massachusetts Dartmouth)
Pierre Cazenave (Plymouth Marine Laboratory)
Karen Amoudry (National Oceanography Centre, Liverpool)
...
...
@@ -58,7 +58,8 @@
2013-01-02 KJA bug fix: amended usage of 'unique' in line 53 to
prevent it from sorting the values it returns. Amended by Pierre to
support pre-2012 versions of MATLAB whilst giving the same result.
2015-02-23 Output number of nodes if the verbose flag is set.
==========================================================================
</pre></div>
<!-- crossreference -->
...
...
@@ -74,7 +75,7 @@ This function is called by:
<h2><a
name=
"_source"
></a>
SOURCE CODE
<a
href=
"#_top"
><img
alt=
"^"
border=
"0"
src=
"../up.png"
></a></h2>
<div
class=
"fragment"
><pre>
0001
<a
name=
"_sub0"
href=
"#_subfunctions"
class=
"code"
>
function [Mobj] = add_obc_nodes_list(Mobj,Nlist,ObcName,ObcType,plotFig)
</a>
<div
class=
"fragment"
><pre>
0001
<a
name=
"_sub0"
href=
"#_subfunctions"
class=
"code"
>
function [Mobj] = add_obc_nodes_list(Mobj,Nlist,ObcName,ObcType,plotFig)
</a>
0002
0003
<span
class=
"comment"
>
% Add a set of obc nodes comprising a single obc boundary to Mesh structure
</span>
0004
<span
class=
"comment"
>
% Using a list of nodes
</span>
...
...
@@ -107,68 +108,72 @@ This function is called by:
0031
<span
class=
"comment"
>
% 2013-01-02 KJA bug fix: amended usage of 'unique' in line 53 to
</span>
0032
<span
class=
"comment"
>
% prevent it from sorting the values it returns. Amended by Pierre to
</span>
0033
<span
class=
"comment"
>
% support pre-2012 versions of MATLAB whilst giving the same result.
</span>
0034
<span
class=
"comment"
>
%
</span>
0035
<span
class=
"comment"
>
%
==========================================================================
</span>
0036
subname =
<span
class=
"string"
>
'add_obc_nodes'
</span>
;
0037
<span
class=
"keyword"
>
global
</span>
ftbverbose
0038
<span
class=
"keyword"
>
if
</span>
(ftbverbose)
0039
fprintf(
<span
class=
"string"
>
'\n'
</span>
)
0040
fprintf([
<span
class=
"string"
>
'begin : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0041
<span
class=
"keyword"
>
end
</span>
0042
0043
<span
class=
"comment"
>
% Do we want a figure showing how we're getting along?
</span>
0044
<span
class=
"
keyword"
>
if
</span>
nargin == 4
0045
plotFig = 0;
0046
<span
class=
"keyword"
>
end
</span>
0047
0048
<span
class=
"comment"
>
%--------------------------------------------------------------------------
</span>
0049
<span
class=
"comment"
>
%
Get a unique list and make sure they are in the range of node numbers
</span>
0050
<span
class=
"comment"
>
%
--------------------------------------------------------------------------
</span>
0051
<span
class=
"comment"
>
%
Make this works in versions of MATLAB older than 2012a (newer versions
</span>
0052
<span
class=
"comment"
>
%
can just use unique(A, 'stable'), but checking versions is a pain).
</span>
0053
[~, Nidx] = unique(Nlist);
0054
Nlist = Nlist(sort(Nidx)
);
0055
0056
<span
class=
"keyword"
>
if
</span>
max(Nlist)
>
Mobj.nVerts
0057
fprintf(
<span
class=
"string"
>
'your open boundary node number exceed the total number of nodes in the domain\n'
</span>
);
0058
error(
<span
class=
"string"
>
'stopping...'
</span>
)
0059
<span
class=
"keyword"
>
end
</span>
0060
0061
<span
class=
"comment"
>
%--------------------------------------------------------------------------
</span>
0062
<span
class=
"comment"
>
%
Plot the mesh
</span>
0063
<span
class=
"comment"
>
%
--------------------------------------------------------------------------
</span>
0064
<span
class=
"
keyword"
>
if
</span>
plotFig == 1
0065
<span
class=
"keyword"
>
if
</span>
strcmpi(Mobj.nativeCoords(1:3),
<span
class=
"string"
>
'car'
</span>
)
0066
x = Mobj.x;
0067
y = Mobj.y
;
0068
<span
class=
"keyword"
>
else
</span>
0069
x = Mobj.lon;
0070
y = Mobj.lat
;
0071
<span
class=
"keyword"
>
end
</span>
0072
0073
figure
0074
patch(
<span
class=
"string"
>
'Vertices'
</span>
,[x,y],
<span
class=
"string"
>
'Faces'
</span>
,Mobj.tri,
<span
class=
"keyword"
>
...
</span>
0075
<span
class=
"string"
>
'Cdata'
</span>
,Mobj.h,
<span
class=
"string"
>
'edgecolor'
</span>
,
<span
class=
"string"
>
'k'
</span>
,
<span
class=
"string"
>
'facecolor'
</span>
,
<span
class=
"string"
>
'interp'
</span>
);
0076
hold on;
0077
whos Nlist
0078
plot(x(Nlist),y(Nlist),
<span
class=
"string"
>
'ro'
</span>
);
0079
axis(
<span
class=
"string"
>
'equal'
</span>
,
<span
class=
"string"
>
'tight'
</span>
)
0080
title(
<span
class=
"string"
>
'open boundary nodes'
</span>
);
0081
<span
class=
"keyword"
>
end
</span>
0082
0083
<span
class=
"comment"
>
% add to mesh object
</span>
0084
npts = numel(Nlist);
0085
Mobj.nObs = Mobj.nObs + 1
;
0086 Mobj.nOb
cNodes(Mobj.nObs) = npts;
0087 Mobj.
obc_nodes(Mobj.nObs,1:npts) = Nlist
;
0088 Mobj.obc_n
ame{Mobj.nObs} = ObcName
;
0089 Mobj.obc_
type(Mobj.nObs) = ObcTyp
e;
0090
0034
<span
class=
"comment"
>
%
2015-02-23 Output number of nodes if the verbose flag is set.
</span>
0035
<span
class=
"comment"
>
%
</span>
0036
<span
class=
"comment"
>
%==========================================================================
</span>
0037
subname =
<span
class=
"string"
>
'add_obc_nodes_list'
</span>
;
0038
0039
<span
class=
"keyword"
>
global
</span>
ftbverbose
0040
<span
class=
"keyword"
>
if
</span>
ftbverbose
0041
fprintf(
<span
class=
"string"
>
'\nbegin : %s\n'
</span>
, subname)
0042
<span
class=
"keyword"
>
end
</span>
0043
0044
<span
class=
"
comment"
>
% Do we want a figure showing how we're getting along?
</span>
0045
<span
class=
"keyword"
>
if
</span>
nargin == 4
0046
plotFig = 0;
0047
<span
class=
"keyword"
>
end
</span>
0048
0049
<span
class=
"comment"
>
%
--------------------------------------------------------------------------
</span>
0050
<span
class=
"comment"
>
%
Get a unique list and make sure they are in the range of node numbers
</span>
0051
<span
class=
"comment"
>
%
--------------------------------------------------------------------------
</span>
0052
<span
class=
"comment"
>
%
Make this works in versions of MATLAB older than 2012a (newer versions
</span>
0053
<span
class=
"comment"
>
% can just use unique(A, 'stable'), but checking versions is a pain).
</span>
0054
[~, Nidx] = unique(Nlist
);
0055
Nlist = Nlist(sort(Nidx));
0056
0057
<span
class=
"keyword"
>
if
</span>
max(Nlist)
>
Mobj.nVerts
0058
fprintf(
<span
class=
"string"
>
'Your open boundary node number exceed the total number of nodes in the domain\n'
</span>
);
0059
error(
<span
class=
"string"
>
'stopping...'
</span>
)
0060
<span
class=
"keyword"
>
end
</span>
0061
0062
<span
class=
"comment"
>
%
--------------------------------------------------------------------------
</span>
0063
<span
class=
"comment"
>
%
Plot the mesh
</span>
0064
<span
class=
"
comment"
>
%--------------------------------------------------------------------------
</span>
0065
<span
class=
"keyword"
>
if
</span>
plotFig == 1
0066
<span
class=
"keyword"
>
if
</span>
strcmpi(Mobj.nativeCoords(1:3),
<span
class=
"string"
>
'car'
</span>
)
0067
x = Mobj.x
;
0068
y = Mobj.y;
0069
<span
class=
"keyword"
>
else
</span>
0070
x = Mobj.lon
;
0071
y = Mobj.lat;
0072
<span
class=
"keyword"
>
end
</span>
0073
0074
figure
0075
patch(
<span
class=
"string"
>
'Vertices'
</span>
, [x, y] ,
<span
class=
"string"
>
'Faces'
</span>
, Mobj.tri,
<span
class=
"keyword"
>
...
</span>
0076
<span
class=
"string"
>
'Cdata'
</span>
, Mobj.h,
<span
class=
"string"
>
'edgecolor'
</span>
,
<span
class=
"string"
>
'k'
</span>
,
<span
class=
"string"
>
'facecolor'
</span>
,
<span
class=
"string"
>
'interp'
</span>
)
0077
hold on
0078
whos Nlist
0079
plot(x(Nlist), y(Nlist),
<span
class=
"string"
>
'ro'
</span>
);
0080
axis(
<span
class=
"string"
>
'equal'
</span>
,
<span
class=
"string"
>
'tight'
</span>
)
0081
title(
<span
class=
"string"
>
'open boundary nodes'
</span>
);
0082
<span
class=
"keyword"
>
end
</span>
0083
0084
<span
class=
"comment"
>
% add to mesh object
</span>
0085
npts = numel(Nlist)
;
0086 Mobj.nOb
s = Mobj.nObs + 1;
0087 Mobj.
nObcNodes(Mobj.nObs) = npts
;
0088 Mobj.obc_n
odes(Mobj.nObs,1:npts) = Nlist
;
0089 Mobj.obc_
name{Mobj.nObs} = ObcNam
e;
0090
Mobj.obc_type(Mobj.nObs) = ObcType;
0091
0092
<span
class=
"keyword"
>
if
</span>
(ftbverbose)
0093
fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
]
)
0092
<span
class=
"keyword"
>
if
</span>
ftbverbose
0093
fprintf(
<span
class=
"string"
>
'found %d open boundary nodes'
</span>
, npts
)
0094
<span
class=
"keyword"
>
end
</span>
0095
</pre></div>
<hr><address>
Generated on Tue 29-Jul-2014 15:11:16 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
0095
0096
<span
class=
"keyword"
>
if
</span>
ftbverbose
0097 fprintf(
<span
class=
"string"
>
'\nend : %s\n'
</span>
, subname)
0098
<span
class=
"keyword"
>
end
</span>
0099
</pre></div>
<hr><address>
Generated on Thu 19-Mar-2015 12:20:56 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_river_nodes_graphic.html
View file @
9192160b
...
...
@@ -166,6 +166,6 @@ This function is called by:
0094 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0095
<span
class=
"keyword"
>
end
</span>
;
0096
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_river_nodes_list.html
View file @
9192160b
...
...
@@ -175,6 +175,6 @@ This function is called by:
0096 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0097
<span
class=
"keyword"
>
end
</span>
0098
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_sigma_forDT.html
View file @
9192160b
...
...
@@ -91,6 +91,6 @@ This function is called by:
0045 nc = close(nc);
0046
0047
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_sponge_nodes.html
View file @
9192160b
...
...
@@ -157,6 +157,6 @@ This function is called by:
0085
0086 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0087
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_sponge_nodes_list.html
View file @
9192160b
...
...
@@ -169,6 +169,6 @@ This function is called by:
0094 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0095
<span
class=
"keyword"
>
end
</span>
0096
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/add_stations_list.html
View file @
9192160b
This diff is collapsed.
Click to expand it.
doc/fvcom_prepro/add_var_FVCOM_river.html
View file @
9192160b
...
...
@@ -172,6 +172,6 @@ This function is called by:
0098 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0099
<span
class=
"keyword"
>
end
</span>
;
0100
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/calc_sponge_radius.html
View file @
9192160b
...
...
@@ -170,6 +170,6 @@ This function is called by:
0094 fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
])
0095
<span
class=
"keyword"
>
end
</span>
0096
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/create_HD_nest_bdy_TYPE3.html
0 → 100644
View file @
9192160b
This diff is collapsed.
Click to expand it.
doc/fvcom_prepro/create_nesting_nodes.html
0 → 100644
View file @
9192160b
This diff is collapsed.
Click to expand it.
doc/fvcom_prepro/elems2nodes.html
View file @
9192160b
...
...
@@ -123,6 +123,6 @@ This function is called by:
0057
0058
<span
class=
"comment"
>
%fprintf(['end : ' subname '\n'])
</span>
0059
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/estimate_ts.html
View file @
9192160b
...
...
@@ -171,6 +171,6 @@ This function is called by:
0101 c = 2 * atan2(sqrt(a), sqrt(1-a));
0102 km = R * c;
<span
class=
"comment"
>
% distance in metres
</span>
0103
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example.html
View file @
9192160b
...
...
@@ -185,6 +185,6 @@ This function is called by:
0118
<a
href=
"write_FVCOM_cor.html"
class=
"code"
title=
"function write_FVCOM_cor(Mobj,filename)"
>
write_FVCOM_cor
</a>
(Mobj,
<span
class=
"string"
>
'tst_cor.dat'
</span>
)
0119
0120
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example2.html
View file @
9192160b
...
...
@@ -107,6 +107,6 @@ This function is called by:
0040
<span
class=
"comment"
>
% dump bathymetry
</span>
0041
<a
href=
"write_FVCOM_bath.html"
class=
"code"
title=
"function write_FVCOM_bath(Mobj,filename)"
>
write_FVCOM_bath
</a>
(Mobj,
<span
class=
"string"
>
'skg4.3_dep_smoothed.dat'
</span>
)
0042
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example_FVCOM_river.html
View file @
9192160b
...
...
@@ -123,6 +123,6 @@ This function is called by:
0062 VarUnits =
<span
class=
"string"
>
'kgm^-3'
</span>
;
0063 VarData = .333*sedload;
0064
<a
href=
"add_var_FVCOM_river.html"
class=
"code"
title=
"function add_var_FVCOM_river(RiverFile,VarName,VarLongName,VarUnits,VarData)"
>
add_var_FVCOM_river
</a>
(RiverFile,VarName,VarLongName,VarUnits,VarData)
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example_FVCOM_tsobc.html
View file @
9192160b
...
...
@@ -276,6 +276,6 @@ This function is called by:
0206 netcdf.close(nc);
0207
0208
<span
class=
"keyword"
>
if
</span>
(ftbverbose); fprintf([
<span
class=
"string"
>
'end : '
</span>
subname
<span
class=
"string"
>
'\n'
</span>
]);
<span
class=
"keyword"
>
end
</span>
;
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example_FVCOM_wind_ts.html
View file @
9192160b
...
...
@@ -182,6 +182,6 @@ This function is called by:
0114
0115
0116
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example_FVCOM_wind_ts_speed.html
View file @
9192160b
...
...
@@ -171,6 +171,6 @@ This function is called by:
0103
0104
0105
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example_init_lag.html
View file @
9192160b
...
...
@@ -154,6 +154,6 @@ This function is called by:
0110 nc{
<span
class=
"string"
>
'mark'
</span>
}(:) = 0;
0111 nc{
<span
class=
"string"
>
'pathlength'
</span>
}(:) = 0.0;
0112 close(nc);
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/example_my_project.html
View file @
9192160b
...
...
@@ -135,6 +135,6 @@ This function is called by:
0091 out_north = lat;
0092
<span
class=
"keyword"
>
end
</span>
;
0093
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/extract_mesoscale.html
View file @
9192160b
...
...
@@ -138,6 +138,6 @@ This function is called by:
0069
<span
class=
"comment"
>
% end
</span>
0070
0071
</pre></div>
<hr><address>
Generated on T
ue 29-Jul-2014 15:11:1
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
<hr><address>
Generated on T
hu 19-Mar-2015 12:20:5
6 by
<strong><a
href=
"http://www.artefact.tk/software/matlab/m2html/"
title=
"Matlab Documentation in HTML"
>
m2html
</a></strong>
©
2005
</address>
</body>
</html>
\ No newline at end of file
doc/fvcom_prepro/find_nearest_pt.html
View file @
9192160b
...
...
@@ -35,11 +35,14 @@
Find nearest point to (xloc,yloc) in the domain of Mobj
using native coordinates of Mobj
INPUT:
INPUT:
xloc = x location of point (in native Mobj coordinates)
yloc = y location of point (in native Mobj coordinates)
Mobj = Mesh object
Mobj = Mesh object with the following fields:
- nativeCoords = grid type (cartesian or spherical)
- x, y and/or lon, lat = coordinates (dependent on
nativeCoords).
OUTPUT:
Point = index of nearest vertex in the mesh
Distance = Distance from x,y to Point in Mobj native coordinates
...
...
@@ -49,9 +52,12 @@
Author(s):
Geoff Cowles (University of Massachusetts Dartmouth)
Pierre Cazenave (Plymouth Marine Laboratory)
Revision history
2015-01-14 Tidy up the code a bit and add extra information to the
help.
==============================================================================
</pre></div>
<!-- crossreference -->
...
...
@@ -68,66 +74,75 @@ This function is called by:
<h2><a
name=
"_source"
></a>
SOURCE CODE
<a
href=
"#_top"
><img
alt=
"^"
border=
"0"
src=
"../up.png"
></a></h2>
<div
class=
"fragment"
><pre>
0001
<a
name=
"_sub0"
href=
"#_subfunctions"
class=
"code"
>
function [Point,Distance] = find_nearest_pt(xloc,yloc,Mobj)
</a>
0002
0003
<span
class=
"comment"
>
%
Find nearest point in Mesh structure to (x,y)
</span>
0004
<span
class=
"comment"
>
%
</span>
0005
<span
class=
"comment"
>
%
function [Point,Distance] = find_nearest_pt(xloc,yloc,Mobj)
</span>
0006
<span
class=
"comment"
>
%
</span>
0007
<span
class=
"comment"
>
%
DESCRIPTION:
</span>
0008
<span
class=
"comment"
>
%
Find nearest point to (xloc,yloc) in the domain
of Mobj
</span>
0009
<span
class=
"comment"
>
%
using native coordinates of Mobj
</span>
0010
<span
class=
"comment"
>
%
</span>
0011
<span
class=
"comment"
>
%
INPUT:
</span>
0012
<span
class=
"comment"
>
%
xloc = x
location of point (in native Mobj coordinates)
</span>
0013
<span
class=
"comment"
>
%
yloc = y location of point (in native Mobj coordinates)
</span>
0014
<span
class=
"comment"
>
%
Mobj = Mesh object
</span>
0015
<span
class=
"comment"
>
%
</span>
0016
<span
class=
"comment"
>
%
OUTPUT:
</span>
0017
<span
class=
"comment"
>
%
Point = index of nearest vertex in the mesh
</span>
0018
<span
class=
"comment"
>
%
Distance = Distance from x,y to Point in Mobj native coordinates
</span>
0019
<span
class=
"comment"
>
%
</span>
0020
<span
class=
"comment"
>
%
EXAMPLE USAGE
</span>
0021
<span
class=
"comment"
>
%
[Point,Distance] = find_nearest_point(50.1,100.2,Mobj)
</span>
0022
<span
class=
"comment"
>
%
</span>
0023
<span
class=
"comment"
>
%
Author(s):
</span>
0024
<span
class=
"comment"
>
%
Geoff Cowles (University of Massachusetts Dartmouth)
</span>
0025
<span
class=
"comment"
>
%
</span>
0026
<span
class=
"comment"
>
%
Revision history
</span>
0027
<span
class=
"comment"
>
%
</span>
0028
<span
class=
"comment"
>
%
==============================================================================
</span>
0029
0030
subname =
<span
class=
"string"
>
'find_nearest_pt'
</span>
;
0031
<span
class=
"comment"
>
%
fprintf('\n')
</span>
0032
<span
class=
"comment"
>
%
fprintf(['begin : ' subname '\n'])
</span>
0033
0034
<span
class=
"comment"
>
%------------------------------------------------------------------------------
</span>
0035
<span
class=
"comment"
>
%
Parse input arguments
</span>
0036
<span
class=
"comment"
>
%------------------------------------------------------------------------------
</span>
0037
<span
class=
"
keyword"
>
if
</span>
(exist(
<span
class=
"string"
>
'xloc'
</span>
)*exist(
<span
class=
"string"
>
'yloc'
</span>
)*exist(
<span
class=
"string"
>
'Mobj'
</span>
) == 0)
0038
error(
<span
class=
"string"
>
'arguments to find_nearest_pt are missing'
</span>
)
0039
<span
class=
"
keyword"
>
end
</span>
;
0002
<span
class=
"comment"
>
% Find nearest point in Mesh structure to (x,y)
</span>
0003
<span
class=
"comment"
>
%
</span>
0004
<span
class=
"comment"
>
%
function [Point,Distance] = find_nearest_pt(xloc,yloc,Mobj)
</span>
0005
<span
class=
"comment"
>
%
</span>
0006
<span
class=
"comment"
>
%
DESCRIPTION:
</span>
0007
<span
class=
"comment"
>
%
Find nearest point to (xloc,yloc) in the domain of Mobj
</span>
0008
<span
class=
"comment"
>
%
using native coordinates
of Mobj
</span>
0009
<span
class=
"comment"
>
%
</span>
0010
<span
class=
"comment"
>
%
INPUT:
</span>
0011
<span
class=
"comment"
>
%
xloc = x location of point (in native Mobj coordinates)
</span>
0012
<span
class=
"comment"
>
%
yloc = y
location of point (in native Mobj coordinates)
</span>
0013
<span
class=
"comment"
>
%
Mobj = Mesh object with the following fields:
</span>
0014
<span
class=
"comment"
>
%
- nativeCoords = grid type (cartesian or spherical)
</span>
0015
<span
class=
"comment"
>
%
- x, y and/or lon, lat = coordinates (dependent on
</span>
0016
<span
class=
"comment"
>
%
nativeCoords).
</span>
0017
<span
class=
"comment"
>
%
</span>
0018
<span
class=
"comment"
>
%
OUTPUT:
</span>
0019
<span
class=
"comment"
>
%
Point = index of nearest vertex in the mesh
</span>
0020
<span
class=
"comment"
>
%
Distance = Distance from x,y to Point in Mobj native coordinates
</span>
0021
<span
class=
"comment"
>
%
</span>
0022
<span
class=
"comment"
>
%
EXAMPLE USAGE
</span>
0023
<span
class=
"comment"
>
%
[Point,Distance] = find_nearest_point(50.1,100.2,Mobj)
</span>
0024
<span
class=
"comment"
>
%
</span>
0025
<span
class=
"comment"
>
%
Author(s):
</span>
0026
<span
class=
"comment"
>
%
Geoff Cowles (University of Massachusetts Dartmouth)
</span>
0027
<span
class=
"comment"
>
%
Pierre Cazenave (Plymouth Marine Laboratory)
</span>
0028
<span
class=
"comment"
>
%
</span>
0029
<span
class=
"comment"
>
% Revision history
</span>
0030
<span
class=
"comment"
>
% 2015-01-14 Tidy up the code a bit and add extra information to the
</span>
0031
<span
class=
"comment"
>
%
help.
</span>
0032
<span
class=
"comment"
>
%
</span>
0033
<span
class=
"comment"
>
%==============================================================================
</span>
0034
0035
<span
class=
"comment"
>
%
global ftbverbose
</span>
0036
subname =
<span
class=
"string"
>
'find_nearest_pt'
</span>
;
0037
<span
class=
"
comment"
>
% if ftbverbose
</span>
0038
<span
class=
"comment"
>
% fprintf('\nbegin : %s\n', subname)
</span>
0039
<span
class=
"
comment"
>
% end
</span>
0040
0041
<span
class=
"comment"
>
%------------------------------------------------------------------------------
</span>
0042
<span
class=
"comment"
>
%
Set native coordinate
s
</span>
0042
<span
class=
"comment"
>
%
Parse input argument
s
</span>
0043
<span
class=
"comment"
>
%------------------------------------------------------------------------------
</span>
0044
<span
class=
"keyword"
>
if
</span>
(lower(Mobj.nativeCoords(1:3)) ==
<span
class=
"string"
>
'c
ar'
</span>
)
0045
x = Mobj.x;
0046
y = Mobj.y;
0047
<span
class=
"keyword"
>
else
</span>
0048
x = Mobj.lon;
0049
y = Mobj.lat;
0050
<span
class=
"
keyword"
>
end
</span>
;
0051
0052
<span
class=
"comment"
>
%------------------------------------------------------------------------------
</span>
0053
<span
class=
"comment"
>
% Find the nearest point
</span>
0054
<span
class=
"
comment"
>
%------------------------------------------------------------------------------
</span>
0055
radvec = sqrt( (xloc-x).^2 + (yloc-y).^2)
;
0056
[Distance,Point] = min(radvec)
;
0057
0058
0059
<span
class=
"
comment"
>
%fprintf(['end : ' subname '\n'])
</span>
0044
<span
class=
"keyword"
>
if
</span>
~exist(
<span
class=
"string"
>
'xloc'
</span>
,
<span
class=
"string"
>
'var'
</span>
) || ~exist(
<span
class=
"string"
>
'yloc'
</span>
,
<span
class=
"string"
>
'var'
</span>
) || ~exist(
<span
class=
"string"
>
'Mobj'
</span>
,
<span
class=
"string"
>
'v
ar'
</span>
)
0045
error(
<span
class=
"string"
>
'arguments to %s are missing'
</span>
, subname)
0046
<span
class=
"keyword"
>