diff --git a/CHANGELOG.md b/CHANGELOG.md index f423b116..e8f38761 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- +### Changed +- Quiet unused(?), common, logging messages to terminal. ([PR #14](https://github.com/ClimateImpactLab/dscim/pull/14), [@brews](https://github.com/brews)) ## [0.1.0] - 2022-08-30 - Initial release. diff --git a/src/dscim/menu/main_recipe.py b/src/dscim/menu/main_recipe.py index 2987357d..f6458a6c 100644 --- a/src/dscim/menu/main_recipe.py +++ b/src/dscim/menu/main_recipe.py @@ -823,7 +823,7 @@ def global_consumption(self): # rff simulation means that GDP already exists out to 2300 if 2300 in self.gdp.year: - self.logger.info("Global consumption found up to 2300.") + self.logger.debug("Global consumption found up to 2300.") global_cons = self.gdp.sum("region").rename("global_consumption") else: diff --git a/src/dscim/menu/simple_storage.py b/src/dscim/menu/simple_storage.py index 8c580a83..a0f03f33 100644 --- a/src/dscim/menu/simple_storage.py +++ b/src/dscim/menu/simple_storage.py @@ -352,7 +352,7 @@ def cut(self, xr_array, end_year=2099): if key in xr_array.coords } - self.logger.info(f"Subsetting on {valid_keys} keys.") + self.logger.debug(f"Subsetting on {valid_keys} keys.") xr_data = xr_array.sel(valid_keys).sel( year=slice(self.climate.pulse_year - 2, end_year)