You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!kinematic surface fluxes are specified (but may need to be converted)
2167
-
if (is_missing_value(maxval(input_force_wpthetap(:)))) then
2168
+
if (check_missing(input_force_wpthetap(:))) then
2168
2169
write(*,*) 'The global attribute surfaceForcing in '//trim(adjustl(scm_state%case_name))//'.nc indicates that the variable wpthetap should be present, but it is missing. Stopping ...'
2169
2170
error stop"The global attribute surfaceForcing indicates that the variable wpthetap should be present, but it is missing."
.not.is_missing_value(maxval(input_force_wprtp(:))))) then
2184
-
if (.not.is_missing_value(maxval(input_force_wprvp(:)))) then
2183
+
(.not.check_missing(input_force_wprvp(:)) .or. &
2184
+
.not.check_missing(input_force_wprtp(:)))) then
2185
+
if (.not.check_missing(input_force_wprvp(:))) then
2185
2186
do i=1, input_n_forcing_times
2186
2187
input_force_wpqvp(i) = input_force_wprvp(i)/&
2187
2188
(1.0+ input_force_wprvp(i))
2188
2189
end do
2189
2190
end if
2190
-
if (.not.is_missing_value(maxval(input_force_wprtp(:)))) then
2191
+
if (.not.check_missing(input_force_wprtp(:))) then
2191
2192
do i=1, input_n_forcing_times
2192
2193
input_force_wpqtp(i) = input_force_wprtp(i)/&
2193
2194
(1.0+ input_force_wprtp(i))
2194
2195
end do
2195
2196
end if
2196
2197
end if
2197
2198
2198
-
if (is_missing_value(maxval(input_force_wpqvp(:))).and.is_missing_value(maxval(input_force_wpqtp(:)))) then
2199
+
if (check_missing(input_force_wpqvp(:)) .and.check_missing(input_force_wpqtp(:))) then
2199
2200
write(*,*) 'The global attribute surfaceForcing in '//trim(adjustl(scm_state%case_name))//'.nc indicates that the variable wpqvp, wpqtp, wprvp, or wprtp should be present, but all are missing. Stopping ...'
2200
2201
error stop"The global attribute surfaceForcing indicates that the variable wpqvp, wpqtp, wprvp, or wprtp should be present, but all are missing."
2201
2202
else
2202
-
if (.not.is_missing_value(maxval(input_force_wpqvp(:)))) then!use wpqvp if available
2203
+
if (.not.check_missing(input_force_wpqvp(:))) then!use wpqvp if available
if (is_missing_value(maxval(input_force_sfc_sens_flx(:)))) then
2233
+
if (check_missing(input_force_sfc_sens_flx(:))) then
2233
2234
write(*,*) 'The global attribute surfaceForcing in '//trim(adjustl(scm_state%case_name))//'.nc indicates that the variable sfc_sens_flx should be present, but it is missing. Stopping ...'
2234
2235
error stop"The global attribute surfaceForcing in indicates that the variable sfc_sens_flx should be present, but it is missing."
if (is_missing_value(maxval(input_force_sfc_lat_flx(:)))) then
2240
+
if (check_missing(input_force_sfc_lat_flx(:))) then
2240
2241
write(*,*) 'The global attribute surfaceForcing in '//trim(adjustl(scm_state%case_name))//'.nc indicates that the variable sfc_lat_flx should be present, but it is missing. Stopping ...'
2241
2242
error stop"The global attribute surfaceForcing indicates that the variable sfc_lat_flx should be present, but it is missing."
0 commit comments