Skip to content

Commit

Permalink
Update temporal .average and .departures docstrings (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder authored Jan 23, 2023
1 parent c5db7b2 commit 35e1f5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xcdat/temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def average(self, data_var: str, weighted: bool = True, keep_weights: bool = Fal
Get weighted averages for a monthly time series data variable:
>>> ds_month = ds.temporal.average("ts", freq="month")
>>> ds_month = ds.temporal.average("ts")
>>> ds_month.ts
"""
self._set_data_var_attrs(data_var)
Expand Down Expand Up @@ -514,7 +514,6 @@ def departures(
days (if present) are dropped if the CF calendar type is
``"gregorian"``, ``"proleptic_gregorian"``, or ``"standard"``
weighted : bool, optional
Calculate averages using weights, by default True.
Expand Down

0 comments on commit 35e1f5a

Please sign in to comment.