Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Remove excess metadata from variables #201

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/anemoi/training/diagnostics/mlflow/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ def _clean_params(params: dict[str, Any]) -> dict[str, Any]:
"diagnostics",
"metadata.config",
"metadata.dataset.variables_metadata",
"metadata.dataset.specific.forward.forward.attrs.variables_metadata",
]
keys_to_remove = [key for key in params if any(key.startswith(prefix) for prefix in prefixes_to_remove)]
for key in keys_to_remove:
Expand Down
Loading