< Master index Index for utilities >

Index for utilities

Matlab files in this directory:

 ComputeMatrixRx1_nodesComputes rx1 matrix as in ComputeMatrixRx1_V2.m downloaded from
 ST_DstarCalculate non-dimensional grain size D*
 ST_d2phiConvert sediment diameter (m) to phi
 ST_erateCalculate erosion rate in kg/(m^2-s)
 ST_exampleExample usage of Sediment Toolbox
 ST_phi2dConvert sediment grain size from phi to d (m)
 ST_summaryPrint summary for stats of particle diameter d (m)
 ST_taucrCalculate critical shear stress in Pascals (equivalent to N/m^2)
 ST_wentworthReport wentworth class of a particular grain size phi
 ST_wsetCalculate settling velocity of particle diameter d (m) in m/s
 SW_DensitySW_Density Density of sea water
 SW_KviscosityCalculates the kinemtic viscosity [m^2/s] from the dynamic viscosity and
 SW_ViscositySW_Viscosity Dynamic viscosity of seawater
 Times2DatetimeTIMES2DATETIME Converts the 'Times' variable from a FVCOM output file to
 Times2MatlabTIMES2MATLAB Converts the 'Times' variable from a FVCOM output file to
 calc_radCalculating instantaneous irradiance from cloud cover.
 calc_scoord%n=18;iesub=63;jesub=36;
 catstructCATSTRUCT Concatenate or merge structures with different fieldnames
 centroidx and y must be non-scalar vectors of equal sizes defining a polygonal
 check_wsetCalculate settling velocity of particle diameter d (m) in m/s
 concat_by_structA function to concatenate data contained within a structure.
 connectivityCONNECTIVITY: Assemble connectivity data for a triangular mesh.
 deg2utm-------------------------------------------------------------------------
 densatpdensatp.m by: Edward T Peltzer, MBARI
 depth2pressurePressure Computes pressure given the depth at some latitude
 distance_along_BCCalculates the distance from coast along the open boundary nodes
 distance_to_coastCalculates the distance from the coast in all mesh nodes
 find_boundary_elementsFind the elements which fall along the boundary.
 find_relaxation_boundaryFind the elements which fall along the boundary for a nested
 fix_inside_boundaryFix unstructured grid points inside the given boundary.
 get_BADC_dataChild function to do the actual downloading from the BADC site via FTP.
 get_NCEP_yearExtract the year from a give NCEP file name (either 'uwnd.sig995.YYYY.nc'
 get_polcoms_fixed_vars
 get_polcoms_timeseriesv1ts_controlfile='/users/modellers/rito/Models/MEDINA/tseries.MEDI29'
 get_runsGET_RUNS Finds runs of continuous change in some value beyond some length
 get_runs_testFigure out a way to identify runs longer than some specified length for
 ginput2GINPUT2 Graphical input from mouse with zoom, pan, plot and scaling.
 greg2julianThis function converts the Gregorian dates to Julian dates.
 greg2mjulianmjulianday = greg2mjulian(yyyy,mm,dd,HH,MM,SS)
 grid2fvcomInterpolate regularly gridded surface forcing data onto a given FVCOM
 grid_vert_interpChild function to interpolate a given 3D array (x by y by sigma) values
 gridvecsclear all; close all;
 inboxdetermine if points lie in a box
 inkmlbbfname = 'Wet_Skagit_BB.kml';
 interpolate_near_coastwe should be using the law of the wall here s
 interpolate_polcoms_timeseries_zet% Testing for parallel matlab toolbox
 isintriangledetermine if point (x0,y0) is in triangle defined by nodes (xt(3),yt(3))
 julian2gregThis function converts the Julian dates to Gregorian dates.
 lanczosfilterLANCZOSFILTER Filters a time series via Lanczos method (cosine filter).
 lat_to_mdy = lat_to_m(dlat,alat)
 lon_to_mdx = lon_to_m(dlon, alat)
 m_ll2llM_ll2LL Converts LON,LAT to long,lat coordinates using the current projection
 m_to_lat
 m_to_lon
 make_logoMake the toolbox logo. Adapted from:
 merge_bathymetryBlend two sources of bathymetry
 mjul2matlabMJUL2MATLAB Convert a Modified Julian date to a Matlab Serial Date
 mjul2strConvert a modified Julian day to a Matlab datestr style string
 mjul2str2Convert a modified Julian day to a Matlab datestr style string
 mjulian2gregConvert Modified Julian dates to Gregorian dates.
 naut_2_cartconvert wind from nautical (speed,direction) to Cartesian (u,v)
 pl64low pass filter (33 hr)
 plot_fvcom_fieldPlot an FVCOM field. This is somewhat similar to plot_field.m but is for
 pp2ncChild function to call the convsh program to convert the obscure pp
 pp2nc_subsetChild function to call the convsh program to convert the PP format to a
 pressure2depthDepth Computes depth given the pressure at some latitude
 qair2rhConvert specific humitidy to relative humidity.
 quiverwcolorbarMelissa Day 5/24/2013
 read_FVCOM_river_filefunction [Riv]=read_river_file(river_root,Mobj)
 read_fvcom_meshRead fvcom mesh file into Matlab mesh object
 read_kmlREAD_KML reads a Google Earth kml file into Matlab
 read_netCDF_FVCOMFunction to extract data from a Netcdf file output from FVCOM.
 read_netcdf_vars
 read_netcdf_vars_xy
 read_polcoms_paramsfunction to read polcoms parameters
 read_scoord_paramsfunction to read hc, cc, theta and bb from scoord_params.dat file
 readdirRead working directory with no arguments. Output depends on the function call
 readzetUBVBprogram to read POLCOMS output bin files dailymean
 restrict_spatial_indicesEliminates the FVCOM nodes and elements in the lists mask_nodes and
 runmeanRUNMEAN - Very fast running mean (aka moving average) filter
 show_sigmaplot a sigma distribution along a user-selected line
 sigma_genGenerate a generalised sigma coordinate distribution.
 sigma_geoGenerate a geometric sigma coordinate distribution.
 sigma_tanhGenerate a tanh sigma coordinate distribution.
 surroundersReturn the IDs of the nodes surrounding node number `n'.
 transect_nodes_screenfunction to select and output index of nodes along a defined transect
 tri_from_bndrytesselate a triangular mesh using "triangle" from a single, unclosed boundary
 turbine_area_sigmaCalculate the fraction of the rotor swept area is occupying each sigma layer
 utm2deg-------------------------------------------------------------------------
 wave_fricwave friction using Soulsby page 80
 wgs2utm-------------------------------------------------------------------------
 write_SMS_2dmOutput an SMS 2dm ASCII file from the triangulation given by tri, x and
 write_SMS_cstExport a set of points to a CST file which can be imported into SMS.
 zero_to_nan

Dependency Graph


Generated on Wed 20-Feb-2019 16:06:00 by m2html © 2005