diff --git a/cf/aggregate.py b/cf/aggregate.py index 2d53d58d69..c5207e5427 100644 --- a/cf/aggregate.py +++ b/cf/aggregate.py @@ -511,7 +511,7 @@ def __init__( "cf_role": None, "hasdata": dim_coord.has_data(), "hasbounds": hasbounds, - "coordrefs": self.find_coordrefs(axis), + "coordrefs": self.find_coordrefs(dim_coord_key), "cellsize": cellsize, "spacing": spacing, }