Skip to content

Commit 138f087

Browse files
committed
Merging r281:290 into release-4.1 branch.
1 parent 883ef69 commit 138f087

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

source/ice_forcing.F90

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,7 @@ subroutine rct_data
17901790
!
17911791
! EOP
17921792
!
1793+
#ifdef ncdf
17931794
!local parameters
17941795

17951796
character (char_len_long) :: &
@@ -1824,14 +1825,14 @@ subroutine rct_data
18241825
Tair_data_p ! air temperature (K) for interpolation
18251826

18261827
real (kind=dbl_kind), parameter :: & ! coefficients for Hyland-Wexler Qa
1827-
ps1 = 0.58002206d4_dbl_kind, & ! (K)
1828-
ps2 = 0.13914993d1_dbl_kind, & !
1829-
ps3 = 0.48640239d-1_dbl_kind, & ! (K^-1)
1830-
ps4 = 0.41764768d-4_dbl_kind, & ! (K^-2)
1831-
ps5 = 0.14452093d-7_dbl_kind, & ! (K^-3)
1832-
ps6 = 0.65459673d1_dbl_kind, & !
1828+
ps1 = 0.58002206e4_dbl_kind, & ! (K)
1829+
ps2 = 1.3914993_dbl_kind, & !
1830+
ps3 = 0.48640239e-1_dbl_kind, & ! (K^-1)
1831+
ps4 = 0.41764768e-4_dbl_kind, & ! (K^-2)
1832+
ps5 = 0.14452093e-7_dbl_kind, & ! (K^-3)
1833+
ps6 = 6.5459673_dbl_kind, & !
18331834
ws1 = 621.97_dbl_kind, & ! for saturation mixing ratio
1834-
Pair = 1020_dbl_kind ! Sea level pressure (hPa)
1835+
Pair = 1020._dbl_kind ! Sea level pressure (hPa)
18351836

18361837
! for interpolation of hourly data
18371838
integer (kind=int_kind) :: &
@@ -1930,7 +1931,7 @@ subroutine rct_data
19301931
frain(:,:,:) = c0 ! this is available in hourlymet_rh file
19311932

19321933
enddo ! nblocks
1933-
1934+
#endif
19341935
end subroutine rct_data
19351936

19361937
!=======================================================================

source/ice_itd.F90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,10 @@ subroutine cleanup_itd (nx_block, ny_block, &
17131713
istop = 0
17141714
jstop = 0
17151715

1716+
dfresh(:,:) = c0
1717+
dfsalt(:,:) = c0
1718+
dfhocn(:,:) = c0
1719+
17161720
!-----------------------------------------------------------------
17171721
! Compute total ice area.
17181722
!-----------------------------------------------------------------

0 commit comments

Comments
 (0)