From 8d156c2a9311d3652748a343176f93f6d1756d85 Mon Sep 17 00:00:00 2001 From: tomvothecoder Date: Tue, 12 Nov 2024 12:37:17 -0800 Subject: [PATCH] Add todo comments --- xcdat/temporal.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xcdat/temporal.py b/xcdat/temporal.py index 810e1c63..821cef18 100644 --- a/xcdat/temporal.py +++ b/xcdat/temporal.py @@ -335,7 +335,6 @@ def group_average( representing a custom season. * Month strings must be in the three letter format (e.g., 'Jan') - * Each month must be included once in a custom season * Order of the months in each custom season does not matter * Custom seasons can vary in length @@ -529,7 +528,6 @@ def climatology( representing a custom season. * Month strings must be in the three letter format (e.g., 'Jan') - * Each month must be included once in a custom season * Order of the months in each custom season does not matter * Custom seasons can vary in length @@ -739,7 +737,6 @@ def departures( representing a custom season. * Month strings must be in the three letter format (e.g., 'Jan') - * Each month must be included once in a custom season * Order of the months in each custom season does not matter * Custom seasons can vary in length @@ -1381,6 +1378,11 @@ def _drop_incomplete_seasons(self, ds: xr.Dataset) -> xr.Dataset: pd.DataFrame A DataFrame of seasonal datetime components with only complete seasons. + + Notes + ----- + TODO: Refactor this method to use pure Xarray/NumPy operations, rather + than Pandas. """ # Transform the time coords into a DataFrame of seasonal datetime # components based on the grouping mode.