Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion src/dscim/menu/main_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion src/dscim/menu/simple_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down