Skip to content

Commit

Permalink
remove unused obs_mask arg for vis.plot_prediction
Browse files Browse the repository at this point in the history
  • Loading branch information
leifdenby committed Oct 1, 2024
1 parent 2bbe666 commit b41ed2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion neural_lam/models/ar_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ def plot_examples(self, batch, n_examples, prediction=None):
vis.plot_prediction(
pred=pred_t[:, var_i],
target=target_t[:, var_i],
obs_mask=self.interior_mask[:, 0],
datastore=self.datastore,
title=f"{var_name} ({var_unit}), "
f"t={t_i} ({self._datastore.step_length * t_i} h)",
Expand Down
1 change: 0 additions & 1 deletion neural_lam/vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def plot_error_map(errors, datastore: BaseCartesianDatastore, title=None):
def plot_prediction(
pred,
target,
obs_mask,
datastore: BaseCartesianDatastore,
title=None,
vrange=None,
Expand Down

0 comments on commit b41ed2f

Please sign in to comment.