Skip to content

Commit

Permalink
Revert "Try warn instead of ignore errstate"
Browse files Browse the repository at this point in the history
This reverts commit a66170f.
  • Loading branch information
softwareengineerprogrammer committed Oct 4, 2023
1 parent a66170f commit bc72ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geophires_x/AGSOutputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def PrintOutputs(self, model: Model):
import scipy
# Need to do some interpolating to get the arrays to be the right size for output
# FIXME WIP (errstate may or may not be appropriate)
with np.errstate(all='warn'):
with np.errstate(all='ignore'):
if len(model.wellbores.PumpingPower.value) != len(model.wellbores.ProducedTemperature.value):
f = scipy.interpolate.interp1d(np.arange(0, len(model.wellbores.PumpingPower.value)),
model.wellbores.PumpingPower.value, fill_value="extrapolate")
Expand Down

0 comments on commit bc72ec0

Please sign in to comment.