Draft
Conversation
Collaborator
Author
|
Here is the output for the first 10 functions of gsw, sweet :) (of course, it will still imply some work by hand...) {'CT_first_derivatives': {'units': 'K/(g/kg)'}, 'CT_first_derivatives_wrt_t_exact': {'units': 'K/(g/kg)'}, 'CT_freezing': {'units': 'degC'}, 'CT_freezing_first_derivatives': {'units': 'K/(g/kg)'}, 'CT_freezing_first_derivatives_poly': {'units': 'K/(g/kg)'}, 'CT_freezing_poly': {'units': 'degC'}, 'CT_from_enthalpy': {'units': 'degC'}, 'CT_from_enthalpy_exact': {'units': 'degC'}, 'CT_from_entropy': {'units': 'degC'}, 'CT_from_pt': {'units': 'degC'}}
{'CT_first_derivatives': 'CT', 'CT_first_derivatives_wrt_t_exact': 'CT', 'CT_freezing': 'CT', 'CT_freezing_first_derivatives': 'CTfreezing', 'CT_freezing_first_derivatives_poly': 'CTfreezing', 'CT_freezing_poly': 'CT', 'CT_from_enthalpy': 'CT', 'CT_from_enthalpy_exact': 'CT', 'CT_from_entropy': 'CT', 'CT_from_pt': 'CT'} |
Owner
|
I think it would be OK to have these type of scripts merged into the main repo as long as they are separate from the installable distribution. Maybe a little readme saying that these were basically dev scripts used to generate other parts of the code/data, that they are not "maintained" or really meant to be used. |
Collaborator
Author
|
Ok, I'll merge (+ small doc) with the next update of the script (when I will parse the inputs units / names) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is not meant to be merged, just to keep somewhere the script I wrote to parse units and name from the matlab doc.