From 35e1f5a49b39a8ddbc7334b2b5e8817b79679df7 Mon Sep 17 00:00:00 2001 From: Tom Vo Date: Mon, 23 Jan 2023 15:09:37 -0800 Subject: [PATCH] Update temporal `.average` and `.departures` docstrings (#407) --- xcdat/temporal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xcdat/temporal.py b/xcdat/temporal.py index a02cf48b..7d06bcd8 100644 --- a/xcdat/temporal.py +++ b/xcdat/temporal.py @@ -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) @@ -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.