Skip to content

Commit bb206e2

Browse files
committed
updating name of stretched var for consistency
1 parent 02842f7 commit bb206e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pydomcfg/domzgr/zco.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,17 +218,17 @@ def _zco_z3(self) -> Tuple[DataArray, ...]:
218218
if self._is_uniform:
219219
# Uniform zco grid
220220
su = -sigma
221-
s1 = DataArray((0.0))
221+
ss = DataArray((0.0))
222222
a1 = a3 = 0.0
223223
a2 = self._pphmax
224224
else:
225225
# Stretched zco grid
226226
su = -sigma_p1
227-
s1 = self._stretch_zco(-sigma)
227+
ss = self._stretch_zco(-sigma)
228228
a1 = self._ppsur
229229
a2 = self._ppa0 * (self._jpk - 1.0)
230230
a3 = self._ppa1 * self._ppacr
231-
z3 = self._compute_z3(su, s1, a1, a2, a3)
231+
z3 = self._compute_z3(su, ss, a1, a2, a3)
232232

233233
if self._ldbletanh:
234234
# Add double tanh term

0 commit comments

Comments
 (0)