read.meds: Read MEDS data

View source: R/meds.R

read.medsR Documentation

Read MEDS data

Description

Read in data that was downloaded, which can be done by download.meds(), from Fisheries and Oceans Canada (DFO) Marine Environmental Data Section (MEDS). The function requires that the .hdr and .prf files, which are associated with the same year and month are supplied.

Usage

read.meds(hdrfile, prffile, exclusionLon = NULL, exclusionLat = NULL)

Arguments

hdrfile

a connection or a character string indicating the header , '.hdr“, file to read

prffile

a connection or a character string indicating the data, '.prf“, file to read

exclusionLon

a supplied vector of longitude coordinates to ignore, default is set to NULL, meaning keep all data.

exclusionLat

a supplied vector of latitude coordinates to ignore, default is set to NULL, meaning keep all data.

Value

a list of ctd objects


clayton33/csasMarPhys documentation built on June 8, 2025, 3:10 a.m.