CSV to CDT #1787
CSV to CDT
#1787
|
Hi. I have a data set with temperature, density, salinity, pressure and depth. I have my data in a cvs sheet and I would like to know how can I convert all my set into a CTD object for analyzing |
Answered by
richardsc
Mar 1, 2021
Replies: 1 comment 1 reply
|
Hi @laiajulianamu, I recommend you read the documentation for the https://dankelley.github.io/oce/reference/as.ctd.html which should accomplish what you need. Depending on how many fields (data and metadata) you need to add, you might also want to look at the Cheers, |
1 reply
Answer selected by
dankelley
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @laiajulianamu,
I recommend you read the documentation for the
as.ctd()function, e.g.https://dankelley.github.io/oce/reference/as.ctd.html
which should accomplish what you need. Depending on how many fields (data and metadata) you need to add, you might also want to look at the
oceSetMetadata()andoceSetData()functions for adding additional fields.Cheers,
Clark