Skip to content

Add pressure names for SBE .cnv files#81

Merged
ocefpaf merged 4 commits intopyoceans:masterfrom
vonopr:cnv_pressure
May 28, 2020
Merged

Add pressure names for SBE .cnv files#81
ocefpaf merged 4 commits intopyoceans:masterfrom
vonopr:cnv_pressure

Conversation

@vonopr
Copy link
Copy Markdown

@vonopr vonopr commented May 27, 2020

Added support for following pressure names: prM, prE, pr50M, pr50M1, prSM.

Closes #80

@vonopr
Copy link
Copy Markdown
Author

vonopr commented May 27, 2020

Travis-ci failed to build my merge. Log shows that problem is not related to the new commit. It is due to recent changes in matplotlib.

@vonopr vonopr marked this pull request as draft May 27, 2020 14:11
Copy link
Copy Markdown
Author

@vonopr vonopr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding artifacts of the previous commit were cleaned.

@vonopr vonopr marked this pull request as ready for review May 27, 2020 14:22
Comment thread ctd/read.py Outdated
key_set = False
prkeys = ["prDM", "prdM", "pr"]
prkeys = [
"prM ", "prE", "prDM", "pr50M", "pr50M1", "prSM", "prdM", "pr"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment on the top mentioned that these are the valid names for the seabird CNV format. If you have a link for that info please add that too.

Comment thread ctd/read.py
Comment thread ctd/read.py Outdated


def from_cnv(fname):
def from_cnv(fname, prname=None):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the prname?

@ocefpaf ocefpaf force-pushed the cnv_pressure branch 2 times, most recently from cd8ffff to 13a1f45 Compare May 28, 2020 18:47
@ocefpaf ocefpaf merged commit 1eb9b22 into pyoceans:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SBE pressure names

2 participants