Skip to content

Implement UxDataArray zonal and mean methods on UxDataset #1801

Closed

Description

@Sevans711

Sub-issue of #1734 to track: should implement the following methods on UxDataset:

  • zonal_mean (and its alias, zonal_average)
  • zonal_anomaly
  • azimuthal_mean (and its alias, azimuthal_average)
  • weighted_mean

As the first sub-issue of 1734, a solution here should also include a re-usable helper function, something like _apply_across_data_vars, which takes a method name as input and handles the logic described in 1734, of "loop through the data_vars and apply this method to each of them, and handle the bookkeeping appropriately to return a dataset result."

Sidenote: "topological_mean" exists too, but it makes more sense to me to include that with a sub-issue that groups together all the UxDataArray.topological_... methods, instead of including it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

new feature

Type

No type

Fields

Priority

Medium

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions