Skip to content

Fix coords handling in zonal_mean() and azimuthal_mean()#1460

Merged
erogluorhan merged 16 commits intomainfrom
fix_zonal_coords
Feb 26, 2026
Merged

Fix coords handling in zonal_mean() and azimuthal_mean()#1460
erogluorhan merged 16 commits intomainfrom
fix_zonal_coords

Conversation

@erogluorhan
Copy link
Member

@erogluorhan erogluorhan commented Feb 25, 2026

Closes #1295

Overview

In current UXarray, only the resulting coord (i.e. either "latitudes" or "radii_deg" in zonal or azimuthal mean, respectively) was being injected into the output. With this PR, all of the coords, e.g. "time", from the source data is being incorporated into the output.

PR Checklist

General

  • An issue is linked created and linked
  • Add appropriate labels
  • Filled out Overview

@erogluorhan erogluorhan merged commit 4279e41 into main Feb 26, 2026
12 of 13 checks passed
@erogluorhan erogluorhan deleted the fix_zonal_coords branch February 26, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zonal_mean() and azimuthal_mean() drop the coordinates associated with other dimensions

2 participants