Skip to content

Commit 973a581

Browse files
Only print reinjection temp warning value to 2 decimal places to reduce unnecessary log noise
1 parent 15899b9 commit 973a581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geophires_x/SurfacePlant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def reinjection_temperature(self, model: Model, ambient_temperature: float, Tent
120120
if np.min(ReinjTemp) < Tinj:
121121
user_injection_temp = Tinj
122122
Tinj = np.min(ReinjTemp)
123-
msg = (f'Model-calculated reinjection temperature ({Tinj}) is lower than input reinjection temperature '
123+
msg = (f'Model-calculated reinjection temperature ({Tinj:2f}) is lower than input reinjection temperature '
124124
f'({user_injection_temp}); input reinjection temperature will be ignored.')
125125
model.logger.warning(msg)
126126

0 commit comments

Comments
 (0)