Skip to content

Commit 1ed6b68

Browse files
committed
Update: black
1 parent 095b445 commit 1ed6b68

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

wqf/val/tdr.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,12 @@ def chlorophyll_mean_and_std():
109109
vmin=0.1,
110110
vmax=100.0,
111111
).clear()
112-
dev = da.sqrt(0.5 * da.square(
113-
xr.where(trn < chl_q_hi, trn, np.nan).diff(DID_TIM)).mean(
114-
DID_TIM))
112+
dev = da.sqrt(
113+
0.5
114+
* da.square(xr.where(trn < chl_q_hi, trn, np.nan).diff(DID_TIM)).mean(
115+
DID_TIM
116+
)
117+
)
115118
ScenePlot().plot(
116119
dev,
117120
title="Observations 2016 - 2020",
@@ -122,9 +125,12 @@ def chlorophyll_mean_and_std():
122125
vmin=0.1,
123126
vmax=100.0,
124127
).clear()
125-
dev = da.sqrt(0.5 * da.square(
126-
xr.where(val < chl_q_hi, val, np.nan).diff(DID_TIM)).mean(
127-
DID_TIM))
128+
dev = da.sqrt(
129+
0.5
130+
* da.square(xr.where(val < chl_q_hi, val, np.nan).diff(DID_TIM)).mean(
131+
DID_TIM
132+
)
133+
)
128134
ScenePlot().plot(
129135
dev,
130136
title="Observations 2020",

0 commit comments

Comments
 (0)