E3SM-Project/e3sm_diags

[Bug]: Incorrect variables being written to netCDF in `cosp_histogram_driver.py`

Closed this issue · 0 comments

What happened?

I'm trying to compare the results of spatial averaging on main against my branch in #748, but ran into this issue.

The domain variables are being written to netCDF rather than the domain mean variables.

plot(
parameter.current_set,
mv2_domain_mean,
mv1_domain_mean,
diff,
{},
parameter,
)
utils.general.save_ncfiles(
parameter.current_set,
mv1_domain,
mv2_domain,
diff,
parameter,
)

What did you expect to happen? Are there are possible answers you came across?

The domain mean variables should be written out to netCDF.

Minimal Complete Verifiable Example (MVCE)

No response

Relevant log output

No response

Anything else we need to know?

No response

Environment

main branch and latest e3sm_diags version