Skip to content

Commit b502702

Browse files
committed
Fix spelling errors
1 parent 7fb8e20 commit b502702

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

gsw/_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def masked_array_support(f):
3030
If a where keyword argument is present, it will be used instead of the
3131
masked derived value.
3232
33-
All args/kwargs are then passed directly to the wrapped fuction
33+
All args/kwargs are then passed directly to the wrapped function
3434
"""
3535

3636
@wraps(f)

gsw/_wrapped_ufuncs.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ def enthalpy_first_derivatives(SA, CT, p):
16241624
(1) h_SA, the derivative with respect to Absolute Salinity at
16251625
constant CT and p, and
16261626
(2) h_CT, derivative with respect to CT at constant SA and p.
1627-
Note that h_P is specific volume (1/rho) it can be caclulated by calling
1627+
Note that h_P is specific volume (1/rho) it can be calculated by calling
16281628
gsw_specvol(SA,CT,p).
16291629
16301630
Parameters
@@ -1692,7 +1692,7 @@ def enthalpy_first_derivatives_CT_exact(SA, CT, p):
16921692
(1) h_SA, the derivative with respect to Absolute Salinity at
16931693
constant CT and p, and
16941694
(2) h_CT, derivative with respect to CT at constant SA and p.
1695-
Note that h_P is specific volume, v, it can be calulated by calling
1695+
Note that h_P is specific volume, v, it can be calculated by calling
16961696
gsw_specvol_CT_exact(SA,CT,p).
16971697
16981698
Parameters
@@ -2333,7 +2333,7 @@ def frazil_properties(SA_bulk, h_bulk, p):
23332333
"""
23342334
Calculates the mass fraction of ice (mass of ice divided by mass of ice
23352335
plus seawater), w_Ih_final, which results from given values of the bulk
2336-
Absolute Salinity, SA_bulk, bulk enthalpy, h_bulk, occuring at pressure
2336+
Absolute Salinity, SA_bulk, bulk enthalpy, h_bulk, occurring at pressure
23372337
p. The final values of Absolute Salinity, SA_final, and Conservative
23382338
Temperature, CT_final, of the interstitial seawater phase are also
23392339
returned. This code assumes that there is no dissolved air in the
@@ -2415,11 +2415,11 @@ def frazil_properties_potential(SA_bulk, h_pot_bulk, p):
24152415
Calculates the mass fraction of ice (mass of ice divided by mass of ice
24162416
plus seawater), w_Ih_eq, which results from given values of the bulk
24172417
Absolute Salinity, SA_bulk, bulk potential enthalpy, h_pot_bulk,
2418-
occuring at pressure p. The final equilibrium values of Absolute
2418+
occurring at pressure p. The final equilibrium values of Absolute
24192419
Salinity, SA_eq, and Conservative Temperature, CT_eq, of the
24202420
interstitial seawater phase are also returned. This code assumes that
24212421
there is no dissolved air in the seawater (that is, saturation_fraction
2422-
is assumed to be zero thoughout the code).
2422+
is assumed to be zero throughout the code).
24232423
24242424
Parameters
24252425
----------
@@ -2493,11 +2493,11 @@ def frazil_properties_potential_poly(SA_bulk, h_pot_bulk, p):
24932493
Calculates the mass fraction of ice (mass of ice divided by mass of ice
24942494
plus seawater), w_Ih_eq, which results from given values of the bulk
24952495
Absolute Salinity, SA_bulk, bulk potential enthalpy, h_pot_bulk,
2496-
occuring at pressure p. The final equilibrium values of Absolute
2496+
occurring at pressure p. The final equilibrium values of Absolute
24972497
Salinity, SA_eq, and Conservative Temperature, CT_eq, of the
24982498
interstitial seawater phase are also returned. This code assumes that
24992499
there is no dissolved air in the seawater (that is, saturation_fraction
2500-
is assumed to be zero thoughout the code).
2500+
is assumed to be zero throughout the code).
25012501
25022502
Parameters
25032503
----------
@@ -2824,7 +2824,7 @@ def gibbs_ice(nt, np, t, p):
28242824
def gibbs_ice_part_t(t, p):
28252825
"""
28262826
part of the the first temperature derivative of Gibbs energy of ice
2827-
that is the outout is gibbs_ice(1,0,t,p) + S0
2827+
that is the output is gibbs_ice(1,0,t,p) + S0
28282828
28292829
Parameters
28302830
----------
@@ -2860,7 +2860,7 @@ def gibbs_ice_part_t(t, p):
28602860
def gibbs_ice_pt0(pt0):
28612861
"""
28622862
part of the the first temperature derivative of Gibbs energy of ice
2863-
that is the outout is "gibbs_ice(1,0,pt0,0) + s0"
2863+
that is the output is "gibbs_ice(1,0,pt0,0) + s0"
28642864
28652865
Parameters
28662866
----------
@@ -3987,10 +3987,10 @@ def melting_seaice_into_seawater(SA, CT, p, w_seaice, SA_seaice, t_seaice):
39873987
-------
39883988
SA_final : array-like, g/kg
39893989
Absolute Salinity of the mixture of the melted sea ice
3990-
(or ice) and the orignal seawater
3990+
(or ice) and the original seawater
39913991
CT_final : array-like, deg C
39923992
Conservative Temperature of the mixture of the melted
3993-
sea ice (or ice) and the orignal seawater
3993+
sea ice (or ice) and the original seawater
39943994
39953995
39963996
Notes
@@ -4836,7 +4836,7 @@ def pt_from_CT(SA, CT):
48364836
Calculates potential temperature (with a reference sea pressure of
48374837
zero dbar) from Conservative Temperature. This function uses 1.5
48384838
iterations through a modified Newton-Raphson (N-R) iterative solution
4839-
proceedure, starting from a rational-function-based initial condition
4839+
procedure, starting from a rational-function-based initial condition
48404840
for both pt and dCT_dpt.
48414841
48424842
Parameters
@@ -5177,7 +5177,7 @@ def rho(SA, CT, p):
51775177

51785178
def rho_alpha_beta(SA, CT, p):
51795179
"""
5180-
Calculates in-situ density, the appropiate thermal expansion coefficient
5180+
Calculates in-situ density, the appropriate thermal expansion coefficient
51815181
and the appropriate saline contraction coefficient of seawater from
51825182
Absolute Salinity and Conservative Temperature. This function uses the
51835183
computationally-efficient expression for specific volume in terms of
@@ -5363,7 +5363,7 @@ def rho_ice(t, p):
53635363
"""
53645364
Calculates in-situ density of ice from in-situ temperature and pressure.
53655365
Note that the output, rho_ice, is density, not density anomaly; that
5366-
is, 1000 kg/m^3 is not subracted from it.
5366+
is, 1000 kg/m^3 is not subtracted from it.
53675367
53685368
Parameters
53695369
----------
@@ -5548,7 +5548,7 @@ def rho_t_exact(SA, t, p):
55485548
"""
55495549
Calculates in-situ density of seawater from Absolute Salinity and
55505550
in-situ temperature. Note that the output, rho, is density,
5551-
not density anomaly; that is, 1000 kg/m^3 is not subracted from it.
5551+
not density anomaly; that is, 1000 kg/m^3 is not subtracted from it.
55525552
55535553
Parameters
55545554
----------
@@ -6815,7 +6815,7 @@ def specvol(SA, CT, p):
68156815

68166816
def specvol_alpha_beta(SA, CT, p):
68176817
"""
6818-
Calculates specific volume, the appropiate thermal expansion coefficient
6818+
Calculates specific volume, the appropriate thermal expansion coefficient
68196819
and the appropriate saline contraction coefficient of seawater from
68206820
Absolute Salinity and Conservative Temperature. This function uses the
68216821
computationally-efficient expression for specific volume in terms of
@@ -6879,9 +6879,9 @@ def specvol_anom_standard(SA, CT, p):
68796879
Calculates specific volume anomaly from Absolute Salinity, Conservative
68806880
Temperature and pressure. It uses the computationally-efficient
68816881
expression for specific volume as a function of SA, CT and p (Roquet
6882-
et al., 2015). The reference value to which the anomally is calculated
6882+
et al., 2015). The reference value to which the anomaly is calculated
68836883
has an Absolute Salinity of SSO and Conservative Temperature equal to
6884-
0 degress C.
6884+
0 degrees C.
68856885
68866886
Parameters
68876887
----------
@@ -7720,7 +7720,7 @@ def t_freezing_first_derivatives(SA, p, saturation_fraction):
77207720

77217721
def t_freezing_first_derivatives_poly(SA, p, saturation_fraction):
77227722
"""
7723-
Calculates the frist derivatives of the in-situ temperature at which
7723+
Calculates the first derivatives of the in-situ temperature at which
77247724
seawater freezes with respect to Absolute Salinity SA and pressure P (in
77257725
Pa). These expressions come from differentiating the expression that
77267726
defines the freezing temperature, namely the equality between the

0 commit comments

Comments
 (0)