Skip to content

Commit e233717

Browse files
authored
Merge pull request #783 from davidhassell/aggregate-fix-1
Correct finding coordrefs in `cf.aggregate`
2 parents 2d183c8 + 200ab3e commit e233717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf/aggregate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def __init__(
511511
"cf_role": None,
512512
"hasdata": dim_coord.has_data(),
513513
"hasbounds": hasbounds,
514-
"coordrefs": self.find_coordrefs(axis),
514+
"coordrefs": self.find_coordrefs(dim_coord_key),
515515
"cellsize": cellsize,
516516
"spacing": spacing,
517517
}

0 commit comments

Comments
 (0)