Most of the data processing (see Data Processing section), tidal analysis (see Tide Analysis section), and plots (see Time-Series Plots section) completed for this report were created using Matlab®
software, created by Mathworks (www.mathworks.com). Plots were converted to tagged PDF format using
Adobe (www.adobe.com) Acrobat.
DISCLAIMER: The Matlab m-files provide partial documentation of the techniques used
to create the plots in this report. The m-files are not turn-key programs and
are not supported by their creator or by U.S. Geological Survey.
This code was designed
to run on Matlab 7.1.0 SP3 with netcdf installed.
adcp_curr_ts: and
adcp_magdir_ts: Create single site plots of the time series of ADCP water flow data.
quickview_processed_waves: Creates single site plots of the time series of ADCP wave measurement data.
adv_ts: Creates single site plots of the time series of ADV water flow data.
obs_ts: Creates single site plots of the time series of OBS data.
ct_ts: Creates single site and multi-site plots of the time series of seawater properties from CT data.
met_ts: Creates plots of the time series of meteorological data from NDBC moored buoys, NOS water-level stations, and the COAMPS wind model.
pcadp_ts: Creates single-site plots of the time series of PCADP water-flow data.
pressure_ts: Creates single-site and multi-site plots of the time series of pressure measurements.
river_ts: Creates plots of the time series of river discharge data from U.S. Geological Survey streamgage stations along the Cape Fear and Pee Dee Rivers.
wind_ts: Creates plots of the time series of wind data from NOAA buoy stations, NOS water level stations, and the NCEP NAM wind model.
ttide_adcp_indiv: Performs tidal analysis on individual records of ADCP data.
t_tide: Performs harmonic analysis of a time series (called by ttide_adcp_indiv.m, ttide_adcp_comb.m, ttide_aqdp_indiv.m, ttide_aqdp_comb.m, ttide_argn_indiv.m, and ttide_argn_comb.m; Pawlowicz and others, 2002).
Additional M-files
datenum2julian - A function to convert Julian Days to Matlab datenum
values.
dolandscape: An m-file to configure a figure's properties for landscape printing.
fixpaper: An m-file to configure a figure's properties such that the printed output looks like the on-screen display.
gmax: A function to calculate the maximum value in an array, ignoring Not a Number (NaN) values.
gmean: A function to calculate the mean value in an array, ignoring NaN values.
gmin: A function to calculate the minimum value in an array, ignoring NaN values.
gregorian: A function to convert Julian days to Gregorian calendar dates.
gstd: A function to calculate the standard deviation of an array, ignoring NaN values.
hms2h: A function to convert hours, minutes, and seconds to hours.
julian: A function to convert Gregorian calendar dates to digital Julian days where the Julian days start and end at midnight.
julian2datenum: A function to convert Julian days to Matlab datenum values.
pl66tn: A function to compute the low-passed time series from a time series of oceanographic data values using the PL64 filter described in Beardsley and others (1985).
replace_fill_nan: A function to replace netcdf fill values in an array with NaN values.
s2hms - A function to convert seconds to integer hours, minutes, and seconds.
smart_interp: A function to interpolate an original time-series data-set onto a new time base.
stacklbl - A function to add y-axis labels and titles to a stack plot.
suptitle: A function to place a title above all subplots.
timeplt2: A function to generate time-series stack plots with Gregorian time labels on the x-axis.
timeplt_draw - A function to create the time-series plots.
timeplt_figure - A function to create a time-plot figure.
timeplt_obj_index - A function to determine the cell index of the current time-plot object.
value2Index: A function to find the indices of a value in a list closest to a particular hit value, and return the distance from the hit value to the closest value.
|