Skip to content

Commit b5358f1

Browse files
authored
Merge pull request #180 from brews/tas_validation_max
Increase max allowed tasmin, tasmax in services.validate to 377 K for UKESM1-0-LL
2 parents cefd4fc + a171082 commit b5358f1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Fixed
99
- Move in-memory data loading where it is needed for 360-days calendar conversion in clean-cmip6 (PR #179, @emileten)
10+
### Changed
11+
- Increase max allowed tasmin, tasmax in services.validate to 377 K for UKESM1-0-LL. (PR #180, @brews)
1012

1113
## [0.16.2] - 2022-02-15
1214
### Fixed

dodola/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,8 +774,10 @@ def _test_temp_range(ds, var):
774774
"""
775775
Ensure temperature values are in a valid range
776776
"""
777+
# This high 377 K temperature range is to allow UKESM1-0-LL runs, which
778+
# apparently run very hot.
777779
assert (ds[var].min() > 130) and (
778-
ds[var].max() < 360
780+
ds[var].max() < 377
779781
), "{} values are invalid".format(var)
780782

781783

0 commit comments

Comments
 (0)