You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
zonal_mean() and azimuthal_mean() drop the coordinates associated with other dimensions #1295
importuxarrayasuxuxds=ux.open_dataset('/glade/p/cesmdata/inputdata/share/scripgrids/ne120np4_pentagons_100310.nc', '/glade/work/jpan/azim_test_data.nc')
zm=uxds['PS'].zonal_mean()
print(uxds['PS'].time.dt.days_in_month)
print(zm.time)
print(zm.time.dt.days_in_month) #results in an error because there is no time coordinate array
Activity
erogluorhan commentedon Jun 13, 2025
@rajeeja @philipc2 any chance either of you could have a look into this soon?
erogluorhan commentedon Feb 26, 2026
@jpan84 This is now fixed; feel free to pull from main and test it or wait for our next release
rajeeja commentedon Mar 26, 2026
@erogluorhan conservative zonal_mean() path not yet preserving non-face coords like #1460 - we should fix that also.
erogluorhan commentedon Mar 26, 2026
Great catch; I don't know how I missed that. Opened #1471