Skip to content

Fix rho units in two docstrings#179

Merged
efiring merged 1 commit intoTEOS-10:mainfrom
efiring:rho_units
Sep 14, 2024
Merged

Fix rho units in two docstrings#179
efiring merged 1 commit intoTEOS-10:mainfrom
efiring:rho_units

Conversation

@efiring
Copy link
Member

@efiring efiring commented Sep 14, 2024

Closes #178.

From the Matlab version we inherit incorrect units in the docstring return values for rho, in two functions. It is fixed here by adding one more substitution to the list in tools/fix_wrapped_ufunc_typos.py. Some day, all of those fixes might be applied to the Matlab version from which we get the docstrings, but until then, our current fixup mechanism is adequate.

@efiring efiring changed the title Fix rho units in two docstrings. Closes #178. Fix rho units in two docstrings Sep 14, 2024
@efiring efiring merged commit d6df30f into TEOS-10:main Sep 14, 2024
@efiring efiring deleted the rho_units branch September 14, 2024 19:09
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.

units for gsw.density.rho?

1 participant