E3SM-Project/e3sm_diags

[Feature]: CDAT Migration Phase 2: Make `_get_metrics_by_region()` a general function

Closed this issue · 0 comments

Is your feature request related to a problem?

This change will make _get_metrics_by_region() a general function that can be used across sets.

Describe the solution you'd like

_get_metrics_by_region()

  • Move to utils/regrid.py
  • Rename to `subset_and_align_datasets()
  • Update return values and docstrings

Describe alternatives you've considered

No response

Additional context

No response