Skip to content

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

Open
erogluorhan wants to merge 15 commits intomainfrom
fix_zonal_coords
Open

Fix coords handling in zonal_mean() and azimuthal_mean()#1460
erogluorhan wants to merge 15 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

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