loadMantaNc: Load MANTA NetCDF File

View source: R/loadMantaNc.R

loadMantaNcR Documentation

Load MANTA NetCDF File

Description

Reads in hybrid millidecade data from a MANTA NetCDF output file and formats it into the dataframe format required for use in other PAMscapes functions

Usage

loadMantaNc(x, keepQuals = c(1), keepEffort = TRUE)

Arguments

x

path to .nc file

keepQuals

quality flag values to keep. Accepts vector of integers from (1, 2, 3, 4) corresponding to flag labels "Good", "Not evaluated/Unknown", "Compromised/Questionable", and "Unusable/Bad". HMD levels for points with data quality flags outside of keepQuals will be marked as NA.

keepEffort

if TRUE or FALSE, a logical flag whether or not to keep the effort information with the outputs (number of seconds per minute). If a numeric value, then any minutes with an effort value less than keepEffort will be removed (e.g. 50 will remove minutes with less than 50 seconds of effort)

Value

a dataframe with first column UTC and other columns named HMD_Frequency

Author(s)

Taiki Sakai taiki.sakai@noaa.gov

Examples

# no sample NetCDF provided (too large)

manta <- loadMantaNc('MANTA.nc')



PAMscapes documentation built on April 4, 2025, 2:17 a.m.