Skip to content

Commit

Permalink
Fixes #443. Fix for CFMIP cases.
Browse files Browse the repository at this point in the history
As all three SCM cases have positive `ZTH` values, it makes sense
their `ZTP` would be equal to it (one lit column).
  • Loading branch information
mathomp4 committed Jun 23, 2020
1 parent 5f73fe9 commit 022307d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Removed

## [2.2.4] - 2020-06-23

### Fixed

- Fix to `sun.H` to allow CFMIP SCM cases to run

## [2.2.3] - 2020-06-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_policy (SET CMP0054 NEW)

project (
MAPL
VERSION 2.2.3
VERSION 2.2.4
LANGUAGES Fortran CXX C) # Note - CXX is required for ESMF

if (EXISTS ${CMAKE_CURRENT_LIST_DIR}/ESMA_cmake)
Expand Down
6 changes: 3 additions & 3 deletions base/sun.H
Original file line number Diff line number Diff line change
Expand Up @@ -309,17 +309,17 @@
case(10)
SLR = 0.3278
ZTH = 0.6087247
_ASSERT(.not.present(ZTHP),'ZTHP not implemented for TIME_ == 10')
ZTP = ZTH

case(11)
SLR = 0.3449
ZTH = 0.5962
_ASSERT(.not.present(ZTHP),'ZTHP not implemented for TIME_ == 11')
ZTP = ZTH

case(12)
SLR = 0.3461
ZTH = 0.5884
_ASSERT(.not.present(ZTHP),'ZTHP not implemented for TIME_ == 12')
ZTP = ZTH

end select

Expand Down

0 comments on commit 022307d

Please sign in to comment.