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

more bugfixes #56

Merged
merged 1 commit into from Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion HISTORY.rst
Expand Up @@ -16,7 +16,7 @@ Breaking changes

Internal changes
^^^^^^^^^^^^^^^^
* Small bugfixes in aggregate.py (:pull:`55`).
* Small bugfixes in aggregate.py (:pull:`55`, :pull:`56`).

v0.3.0 (2022-08-23)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion xscen/aggregate.py
Expand Up @@ -336,7 +336,7 @@ def spatial_mean(
# Prepare the History field
new_history = (
f"[{datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')}] "
f"xarray.mean(dim={spatial_dims}) - xarray v{xr.__version__}"
f"xarray.mean(dim={kwargs['dim']}) - xarray v{xr.__version__}"
)

# This calls .interp() to a pair of coordinates
Expand Down