U.S. Geological Survey Data Series 74, Version 3.0
Long-Term Oceanographic Observations in Massachusetts Bay, 1989-2006
The plots and statistical analyses in this report were produced using MATLAB software, created by Mathworks (www.mathworks.com). Plots were converted to tagged PDF format using Adobe (www.adobe.com) Acrobat. This code was designed to run on MATLAB R2008a with NetCDF installed. See Montgomery and others (2008) for information on how to install NetCDF. These programs are available from the source forge web site. Although these MATLAB M-files have been used by the USGS, no warranty, expressed or implied, is made by the USGS or the United States Government as to the accuracy and functioning of the program and related program material, nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith. Note that in general the plotting commands require the desired output directory (“plotDirectory”), the MATLAB data file containing the concatenated time series at each site (“concatData”), and (or) the folder containing the Excel files delineating which files are included in the concatenation series (“concatFolder”). Some programs also require a list of the years (“theYears”) and (or) the site (“A” or “B”) for which data should be plotted. See individual file comments for more details. m-files listed below (zipped folder) adcp_contour: Creates the contour plots of the
ADCP data from all depths. (See Time-Series Plots.) adcp_contour_rotated: Creates the contour plots of the ADCP data from LT-B, with current split into along-shore and cross-shore components. (See Time-Series Plots.) adcp_ell_plots: Creates the plots of the principal axes
data by month for the ADCP. (See Mean Flow.) add_right_ticks: Adds a plot boundary box and ticks on the right y-axis (does not add upper x-axis ticks, as opposed to MATLAB’s “box on” command). archivedirectory_for_table: A subcall of archive_mblt. compare_ell_plots: Creates plots comparing the principal axes data for sites LT-A and LT-B. (See Mean Flow.). concatenate_files: Creates the MATLAB (.mat) file containing concatenated time-series of data for LT-A and LT-B. (See Digital Data Files and Concatenated Data.) data_available_table: Creates tables of the data available. (See Overview of Data Set.) mblt_windstress: Calculates the wind stress
from NOAA Buoy 44013
wind speed data. mixed_plot_b: Creates a plot of significant wave height, sediment-trapping rate, and current speed from LT-B. (See Time-Series Plots.). monthly_stats: Calculates the monthly statistics
of meteorological and oceanographic observations. (See Statistics.) monthly_stats_sed: Calculates the monthly statistics of sediment-trapping rate. (See Statistics.) rotate_current: Rotates current data to give components along a specified direction. tstrap_avg_plot: Creates a plot of the sediment-trapping rate for the time-series sediment traps at LT-A and LT-B, averaged over each deployment. (See Time-Series Plots.) tstrap_bottle_plot: Creates a plot of the sediment-trapping rate for the time-series sediment traps at LT-A and LT-B, depicting each bottle individually. (See Time-Series Plots.) tstrap_preserve_plot: Creates a plot comparing the sediment-trapping rate for the time-series sediment traps at LT-A, comparing results for time periods when two sediments of traps were used with different chemical preservatives. (See Time-Series Plots.) tube_trap: Creates plots of the trapping rate from the tube sediment traps by year. (See Time-Series Plots.) tube_trap_year: Creates plots of the trapping rate from the tube sediment traps from all years. (See Time-Series Plots.) uvtospdir: Converts U and V components of a vector to speed and direction measured counterclockwise from east. usgs_plot: Formats the subplots of a plot for any given year to match USGS visual standards. |