Skip to content

Commit fad7417

Browse files
committed
black + minor comment
1 parent 216c30f commit fad7417

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

gsw_xarray/_attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@
659659
),
660660
"rho_first_derivatives_wrt_enthalpy": (
661661
{
662-
"units": "(kg/m^3)(g/kg)^-1", # To verify, it seems that the matlab doc is uncorrect
662+
"units": "(kg/m^3)(g/kg)^-1", # matlab doc is uncorrect
663663
},
664664
{
665665
"units": "(kg/m^3)(J/kg)^-1",
@@ -687,7 +687,7 @@
687687
),
688688
"rho_second_derivatives_wrt_enthalpy": (
689689
{
690-
"units": "(kg/m^3)(g/kg)^-2", # To verify, it seems that the matlab doc is uncorrect
690+
"units": "(kg/m^3)(g/kg)^-2", # matlab doc is uncorrect
691691
},
692692
{
693693
"units": "(kg/m^3)(g/kg)^-1 (J/kg)^-1",

gsw_xarray/_check_funcs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ def _rm_std_nme(d):
1010
pass
1111
return d
1212

13+
1314
def check_pot_rho_t_exact(attrs, args, kwargs):
1415
"""
1516
If the reference pressure is not 0, remove standard name.
1617
1718
Reminder of the function call:
1819
gsw.pot_rho_t_exact(SA, t, p, p_ref)
19-
20+
2021
TODO: could provide a scalar coordinate variable with standard name reference_pressure
2122
(see issue 32, https://github.com/DocOtak/gsw-xarray/issues/32)
2223
"""

gsw_xarray/_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"enthalpy_first_derivatives_CT_exact": (
6767
"h_SA",
6868
"h_CT",
69-
), # difference with matlab code that return 3 outputs
69+
),
7070
"enthalpy_ice": "enthalpy_ice",
7171
"enthalpy_second_derivatives": ("h_SA_SA", "h_SA_CT", "h_CT_CT"),
7272
"enthalpy_second_derivatives_CT_exact": ("h_SA_SA", "h_SA_CT", "h_CT_CT"),

0 commit comments

Comments
 (0)