From c61a87e6f7d174dc2c399e8a1204247b14da99b3 Mon Sep 17 00:00:00 2001 From: David Almeida Date: Thu, 12 Sep 2024 09:19:11 +0200 Subject: [PATCH] Remove warning of missing model mapping --- nomenclature/processor/region.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nomenclature/processor/region.py b/nomenclature/processor/region.py index a8888a22..3f07bee5 100644 --- a/nomenclature/processor/region.py +++ b/nomenclature/processor/region.py @@ -551,7 +551,9 @@ def apply(self, df: IamDataFrame) -> IamDataFrame: # if no mapping is defined the data frame is returned unchanged if model not in self.mappings: - logger.info(f"No model mapping found for model '{model}'") + logger.info( + f"Skipping region aggregation for model '{model}' (no region processing mapping)" + ) processed_dfs.append(model_df) # otherwise we first rename, then aggregate