Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Estimate CTM parameters based on temperature-salinity profile area #44

Merged
merged 4 commits into from
Apr 10, 2022

Conversation

sean-rohan-NOAA
Copy link
Collaborator

Estimate optimal CTM parameters by minimizing the area between upcast and downcast temperature-salinity profiles.

ctm_adjust_tsarea: Applies conductivity cell thermal mass correction to conductivity estimates and calculates salinity based on updated CTM parameters. Returns either a data.frame containing adjusted conductivity and salinity or an objective function value that is used for minimization. When both upcast and downcast data are available, the objective value is the area between temperature and salinity curves. When only an upcast or downcast is available, the objective is the path distance of the salinity profile.

run_ctm_adjust_tsarea: wrapper function to estimate CTM parameters using ctm_adjust_tsarea.

Closes #43

@sean-rohan-NOAA sean-rohan-NOAA linked an issue Apr 10, 2022 that may be closed by this pull request
@sean-rohan-NOAA sean-rohan-NOAA merged commit dc98ddd into main Apr 10, 2022
@sean-rohan-NOAA sean-rohan-NOAA deleted the 43-ts-profile-ctm branch April 10, 2022 21:02
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.

TS Profile CTM
1 participant