Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update temporal .average and .departures docstrings #407

Merged
merged 1 commit into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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