Skip to content

Commit

Permalink
Merge pull request #92 from rcaneill/issue82
Browse files Browse the repository at this point in the history
rm option for periodic boundaries
  • Loading branch information
rcaneill committed Feb 19, 2024
2 parents d7cc0b3 + 2fb2969 commit 4a553bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions xnemogcm/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
)


def compute_missing_metrics(
ds, all_scale_factors=all_scale_factors, time_varying=True, periodic=False
):
def compute_missing_metrics(ds, all_scale_factors=all_scale_factors, time_varying=True):
"""
Add all possible scale factors to the dataset.
Expand All @@ -33,7 +31,7 @@ def compute_missing_metrics(
If e3t_0 is not found (e.g. for nemo 3.6), it will raise a warning and use e3t_1d
(this will lead to wrong results if terrain-following coordinates are used).
May have some boundary issues.
May have some boundary issues, and only non-periodic boundaries are implemented.
Will add the metrics to the given dataset. To avoid this, use a ds.copy()
Expand Down

0 comments on commit 4a553bc

Please sign in to comment.