From 4d62b8acf85af2608ff3e85d9a4d041f8900957c Mon Sep 17 00:00:00 2001 From: Helen Kershaw Date: Tue, 24 Dec 2024 13:51:45 -0500 Subject: [PATCH] fix: message if using RTPS inflation, QCEFF options ignored for posterior inflation Note in qceff docs about RTPS fixes #748 --- assimilation_code/modules/assimilation/filter_mod.f90 | 6 ++++++ guide/qceff_probit.rst | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/assimilation_code/modules/assimilation/filter_mod.f90 b/assimilation_code/modules/assimilation/filter_mod.f90 index 710091f33c..a107add915 100644 --- a/assimilation_code/modules/assimilation/filter_mod.f90 +++ b/assimilation_code/modules/assimilation/filter_mod.f90 @@ -438,6 +438,12 @@ subroutine filter_main() inf_damping(POSTERIOR_INF), ' will be used' call error_handler(E_MSG,'filter_main:', msgstring) endif + if (do_rtps_inflate(post_inflate)) then + write(msgstring, *) 'Posterior inflation is RTPS, QCEFF ', & + 'inflation options will be ignored for posterior inflation' + call error_handler(E_MSG,'filter_main:', msgstring) + endif + endif call trace_message('After initializing inflation') diff --git a/guide/qceff_probit.rst b/guide/qceff_probit.rst index d1d8bea4ef..299dd58778 100644 --- a/guide/qceff_probit.rst +++ b/guide/qceff_probit.rst @@ -48,6 +48,11 @@ options as columns of the qceff_table: * lower_bound (default -888888) * upper_bound (default -888888) + .. note:: + + If using RTPS inflation, the probit distribution information is ignored for posterior + inflation. + * Observation increment information