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

Add averages with time dimension removed #236

Merged
merged 25 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
56fa075
Add `mean()` to `TemporalAccessor` class
tomvothecoder May 10, 2022
1ed1906
Add support for additional frequencies
tomvothecoder May 10, 2022
6f8ad3e
Update docstrings
tomvothecoder May 11, 2022
360e370
Refactor `_validate_weights()` to optimize performance
tomvothecoder May 12, 2022
4a55ae8
Rename `TemporalAccessor` methods for consistency
tomvothecoder May 12, 2022
f5c4883
Rename methods, attributes, and variables
tomvothecoder May 12, 2022
79efc1c
Update `api.rst` methods list
tomvothecoder May 12, 2022
360ef93
Apply suggestions from code review
tomvothecoder May 12, 2022
cd309f9
Fix docstrings from PR review commit
tomvothecoder May 12, 2022
eeb249a
Update comment
tomvothecoder May 12, 2022
8f59e0c
Update names of methods, comments, and docstrings
tomvothecoder May 12, 2022
ff55341
Update method names, docstrings, and comments
tomvothecoder May 13, 2022
d3714be
Update docstrings
tomvothecoder May 16, 2022
cb8479b
Update `Test_CenterTimes` to `TestCenterTimes`
tomvothecoder May 16, 2022
e6d7b1a
Remove redundant tests for private methods
tomvothecoder May 16, 2022
5e8f7ab
Update TestAverage and TestGroupAverage fixtures
tomvothecoder May 16, 2022
13d34d9
Rename test methods and update `average` docstring
tomvothecoder May 17, 2022
c957760
Add `season_config` to `average()`
tomvothecoder May 17, 2022
131ff69
Revert operation string update in test
tomvothecoder May 17, 2022
d8b60ac
Fix failing test
tomvothecoder May 17, 2022
1cffe6d
Add drop_dims in `TestAverage` tests
tomvothecoder May 17, 2022
da2cf9e
Update docstrings for "JFD"
tomvothecoder May 17, 2022
f69df41
Add `_infer_freq()` for inferring time freq
tomvothecoder May 19, 2022
8447736
Revert accidental code change
tomvothecoder May 19, 2022
2d94c2c
Final review comments
tomvothecoder May 23, 2022
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: 2 additions & 1 deletion .vscode/xcdat.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
}
],
"settings": {
"autoDocstring.docstringFormat": "numpy"
"autoDocstring.docstringFormat": "numpy",
"editor.formatOnSave": true
}
}
1 change: 1 addition & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Methods
Dataset.bounds.add_missing_bounds
Dataset.spatial.average
Dataset.temporal.average
Dataset.temporal.group_average
Dataset.temporal.climatology
Dataset.temporal.departures
Dataset.temporal.center_times
Expand Down
Loading