jbusecke / xMIP

Analysis ready CMIP6 data in python the easy way with pangeo tools.
https://cmip6-preprocessing.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
193 stars 41 forks source link

match_metrics for metrics that have different dimensions than the data #355

Open jbusecke opened 1 month ago

jbusecke commented 1 month ago

I just ran into an example where I want to match SSH (zos) to a depth metric (thkcello).

This code will error out, but should it?

I think that it should be possible to match a higher dimensional metric with dataset as long as the dimensions that are on both datasets are of the same lenght?