Skip to content

Commit 2e85efb

Browse files
committed
fields.rhoref is already added to the stats by fields.
1 parent 257d52d commit 2e85efb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/thermo_dry.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,11 +662,11 @@ void Thermo_dry<TF>::create_stats(Stats<TF>& stats)
662662
if (stats.get_switch())
663663
{
664664
bs_stats = bs;
665+
665666
// Add base state profiles to statistics
666-
stats.add_fixed_prof("rhoref", "Full level basic state density", "kg m-3", "z", group_name, fields.rhoref );
667-
stats.add_fixed_prof("rhorefh", "Half level basic state density", "kg m-3", "zh", group_name, fields.rhorefh);
668667
stats.add_fixed_prof("thref", "Full level basic state potential temperature", "K", "z" , group_name, bs_stats.thref);
669668
stats.add_fixed_prof("threfh", "Half level basic state potential temperature", "K", "zh", group_name, bs_stats.thref);
669+
670670
if (bs_stats.swbasestate == Basestate_type::anelastic)
671671
{
672672
stats.add_fixed_prof("phydro", "Full level hydrostatic pressure", "Pa", "z" , group_name, bs_stats.pref );

0 commit comments

Comments
 (0)