Skip to content

Commit

Permalink
Add another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed Mar 18, 2024
1 parent 4193690 commit dc87b89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pangeo_forge_recipes/aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def _combine_attrs(a1: dict, a2: dict) -> dict:
common_attrs = set(a1) & set(a2)
new_attrs = {}
for key in common_attrs:
# treat NaNs as equal in the attrs
if (
isinstance(a1[key], np.floating)
and isinstance(a2[key], np.floating)
Expand Down

0 comments on commit dc87b89

Please sign in to comment.