Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Oct 31, 2023
1 parent e26c8f3 commit 122db97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adiabat/clima_adiabat_general.f90
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ subroutine make_profile(T_surf, P_i_surf, &
if (allocated(err)) return

if (any(z < 0.0_dp)) then
err = '"make_profile" yielded negative altitudes.'
err = '"make_profile" yielded negative altitudes. '// &
'This may be caused by the lack of a hydrostatic solution to the entered atmosphere.'
return
endif

Expand Down

0 comments on commit 122db97

Please sign in to comment.