Skip to content

Commit

Permalink
Krige: bugfix for renamed attribute temporal
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Jun 13, 2023
1 parent c672237 commit b62550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gstools/krige/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def set_condition(
self.normalizer.fit(self.cond_val - self.cond_trend)
if fit_variogram: # fitting model to empirical variogram of data
# normalize field
if self.model.latlon and self.model.time:
if self.model.latlon and self.model.temporal:
msg = "Krige: can't fit variogram for spatio-temporal latlon data."
raise ValueError(msg)
field = self.normalizer.normalize(self.cond_val - self.cond_trend)
Expand Down

0 comments on commit b62550c

Please sign in to comment.