Quantile-Conserving Ensemble Filter Framework
The Quantile-Conserving Ensemble Filter Framework (QCEFF) tools are available in DART as of version v11. The DART development team (dart@ucar.edu) would be happy to hear about your experiences and is eager to build scientific collaborations using these new capabilities.
The QCEFF options are set using a qceff table given as a namelist option to &algorithm_info_nml.
&algorithm_info_nml qceff_table_filename = 'qceff_table.csv'
QCEFF options
QCEFF options are per quantity. For a given quantity, you specify the following options as columns of the qceff_table:
Observation error information
Provides information about boundedness constraints that control the likelihood distribution associated with an observed variable when using perfect_model_obs to generate noisy observations.
bounded_below (default .false.)
bounded_above (default .false.)
lower_bound
upper_bound
Probit distribution information
Used in the computation of the probit transform. The values needed are the bounds and the distribution type. These can be different for all three cases (inflation, state, and extended_state priors)
distribution (one of Available distributions)
bounded_below (default .false.)
bounded_above (default .false.)
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
filter_kind (one of Available filter kinds)
bounded_below (default .false.)
bounded_above (default .false.)
lower_bound (default -888888)
upper_bound (default -888888)
Creating a qceff table
The table has two headers, row 1 and 2. The first row is the version number. The second row describes the QCEFF options corresponding to each column of the table. These two headers must be present in your qceff table. The truncated table below shows the table headers, and an example quantity QTY_TRACER_CONCENTRATION for the first 5 columns of the table. There is a complete table with all 25 columns in Google Sheets. You can copy and edit this table as needed.
To add a quantity, add a row to the table. For any quantity not listed in the table, the Default values values will be used for all 25 options. You only have to add rows for quantities that use non-default values for any of the input options. Ensure that there are no empty rows in between the quantities listed in the spreadsheet. Save your spreadsheet as a .csv file.
To run filter or perfect_model_obs, put the .csv file in the directory where you are running. Edit input.nml to set the algorithm_info_nml option qceff_table_filename, for example:
&algorithm_info_nml qceff_table_filename = 'qceff_table.csv'
QCF table version: 1 |
||||
|---|---|---|---|---|
QTY |
bounded_below |
bounded_above |
lower_bound |
upper_bound |
QTY_TRACER_CONCENTRATION |
.true. |
.false. |
0 |
-888888 |
Available filter kinds
EAKF (default)
ENKF
UNBOUNDED_RHF
GAMMA_FILTER
BOUNDED_NORMAL_RHF
KDE_FILTER
Available distributions
NORMAL_DISTRIBUTION (default)
BOUNDED_NORMAL_RH_DISTRIBUTION
GAMMA_DISTRIBUTION (with a lower bound at 0)
BETA_DISTRIBUTION (bound between 0 and 1)
LOG_NORMAL_DISTRIBUTION
UNIFORM_DISTRIBUTION
KDE_DISTRIBUTION
Warning
If GAMMA_DISTRIBUTION or BETA_DISTRIBUTION is selected for a quantity, the bounds in the QCEFF table are ignored and the standard bounds for the distribution are used.
Note
KDE_DISTRIBUTION and KDE_FILTER use Gauss-Legendre quadrature to evaluate cumulative distribution functions. The computational cost can be reduced by reducing the order of the quadrature from 9 to 7 or 5. This is accomplished by adding an optional namelist, named kde_nml, to input.nml. In this namelist set quadrature_order = 5 or 7.
Default values
If a quantity is not in the qceff table, the following default values are used:
filter_kind (default EAKF)
dist_type (default NORMAL_DISTRIBUTION)
bounded_below (default .false.)
bounded_above (default .false.)
lower_bound (default -888888)
upper_bound (default -888888)
Note
-888888 is a missing value in DART.
Examining a QCEFF table
The python tool display-qceff-table can be used to display the contents of a qceff table in a more easily readable format.
Note
If you have not already done so, you will need to install the DART Python tools to use display-qceff-table.
See DART Python tools for more information.
To display the contents of a qceff table, for example “neg_qceff_table.csv”,
display-qceff-table neg_qceff_table.csv
Which will produce output like this:
File: neg_qceff_table.csv Version: QCEFF table version: 1 ========================================================================================================================================================== QUANTITY OBS_ERROR PROBIT_INFL PROBIT_STATE PROBIT_EXT FILTER_KIND ------------------------------- --------------- ------------------------ ------------------------ ------------------------ ------------------------ QTY_STATE_VARIABLE (-inf,inf) BNRH (-inf,inf) BNRH (-inf,inf) BNRH (-inf,inf) BOUNDED_NORMAL_RHF (-inf,inf) QTY_TRACER_CONCENTRATION (-inf,0] BNRH (-inf,0] BNRH (-inf,0] BNRH (-inf,0] BOUNDED_NORMAL_RHF (-inf,0] QTY_TRACER_SOURCE (-inf,0] BNRH (-inf,0] BNRH (-inf,0] BNRH (-inf,0] BOUNDED_NORMAL_RHF (-inf,0] ==========================================================================================================================================================
To view the help message for this tool, run:
display-qceff-table --help