Skip to content

afsc-gap-products/gapctd

Repository files navigation

R-CMD-check

gapctd R Package

This package contains functions to process CTD data that are collected during Alaska Fisheries Science Center bottom trawl surveys using trawl-mounted SBE 19plus V2 SeaCAT Profiler CTDs. Data processing methods are described in a NOAA Technical Memorandum (Rohan et al., 2023) The package includes functions to:

  • Convert hexadecimal (.hex) files from select SBE CTDs to .cnv.
  • Use select SBE Data Processing modules for data processing.
  • Implement optimization methods from Rohan et al. (2023)
  • Inspect and flag CTD data using R's plot interface.
  • Prepare data products in NetCDF (.nc), plain-text (.csv), and R data (.rds) formats.

Functions in this package extensively leverage functionality from the oce R package for Oceanographic Analysis.

Installation

This package is not hosted on CRAN and should be installed through GitHub. To install this package:

library(remotes)
install_github("afsc-gap-products/gapctd")

Documentation and usage

Data product access

CTD data collected by the NOAA/AFSC/RACE Groundfish Assessment Program are archived with the National Centers for Environmental Information (NCEI). Visit the data product links below to access download links and data product metadata from NCEI.

References

Rohan, S. K., Charriere, N. E., Riggle, B., O’Leary, C. A., and Raring, N. W. 2023. A flexible approach for processing data collected using trawl-mounted CTDs during Alaska bottom-trawl surveys. U.S. Dep. Commer., NOAA Tech. Memo. NMFS-AFSC-475, 43 p. https://doi.org/10.25923/8ape-q461

NOAA README

This repository is a scientific product and is not official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an ‘as is’ basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.

NOAA License

Software code created by U.S. Government employees is not subject to copyright in the United States (17 U.S.C. §105). The United States/Department of Commerce reserve all rights to seek and obtain copyright protection in countries other than the United States for Software authored in its entirety by the Department of Commerce. To this end, the Department of Commerce hereby grants to Recipient a royalty-free, nonexclusive license to use, copy, and create derivative works of the Software outside of the United States.
NOAA Fisheries
U.S. Department of Commerce | National Oceanographic and Atmospheric Administration | NOAA Fisheries