From 122db9733dd93baa37b270fe9b5440d00ceb63f5 Mon Sep 17 00:00:00 2001 From: Nick Wogan Date: Tue, 31 Oct 2023 08:59:29 -0700 Subject: [PATCH] better error message --- src/adiabat/clima_adiabat_general.f90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/adiabat/clima_adiabat_general.f90 b/src/adiabat/clima_adiabat_general.f90 index fde38d1..4da98c5 100644 --- a/src/adiabat/clima_adiabat_general.f90 +++ b/src/adiabat/clima_adiabat_general.f90 @@ -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