Some lat_lon plots have incorrect units #687
-
@evasinha encountered an issue with the units on some plots: https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.eva.sinha/CRP-CTRL/lat_lon/viewer/lat_lon/index.html TOTSOMC, TOTVEGC, and CPOOL have units displayed as "gC/m^2" and max/min/mean in what appears to be "gC/m^2", but contour lines in what appears to be "kgC/m^2".
So, it appears that all three of these variables should be converted to kgC/m^2 yet apparently only the contour lines actually update. @chengzhuzhang do you know why that might be the case? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@evasinha hi eva, I looked at the configuration file form your run, there is one issue with contour_levels values that I can't reproduce the run. After I corrected the non-monotonic contour-level values. I got the correct results (units + values), here. The session in .cfg file that is problematic. What I can't explain is that in my initial effort to reproduce the run with the saved command line at the bottom. The run failed with error: ValueError: Contour levels must be increasing. and no figure is generated. But Eva was able to generate figures, but with wrong units and with re-computed levels...
Here is my TOTVEGC plot and CPOOL plot. They look normal. I suspect that the e3sm diags version you have (v2.6.1) may cause part of the issue. I'm on the latest v2.8 version. To reproduce for one variable, you could find the command line at the bottom (see figure below), only need to edit the |
Beta Was this translation helpful? Give feedback.
@evasinha hi eva, I looked at the configuration file form your run, there is one issue with contour_levels values that I can't reproduce the run. After I corrected the non-monotonic contour-level values. I got the correct results (units + values), here.
The session in .cfg file that is problematic.
[#]
sets = ["lat_lon"]
case_id = "model_vs_model"
variables = ["TOTSOMC"]
seasons = ["ANN", "DJF", "MAM", "JJA", "SON"]
regions = ["global"]
test_colormap = "WhiteBlueGreenYellowRed.rgb"
reference_colormap = "WhiteBlueGreenYellowRed.rgb"
diff_colormap = "BrBG"
contour_levels = [0,2500.0,5.0,10.0,15.0,20.0,25.0,30.0,40.0,50.0,60.0,70.0,80.0,100.0]
diff_levels = [-50.0,-40.0,-30.0,-25.0,-20.0,-15…