Closed yadongxuEPA closed 6 months ago
I also tested this issue with the example CAMx file "camx.example.grd01" came with the VERDI builds, found the same problem.
Furthermore, I found that this issue has been long-existing (including VERDI_2.0_20210311 builds).
Please note that the color map did display the right color after selecting "maximum_8hour_mean" Stats. However, the "probe" function could not display the correct value when clicking on a specific grid cell.
A temporal solution for this user is to get the grid cell values from the exported shapefiles (instead of using 'probe' function on the color map) after applying "maximum_8hour_mean" Stats. But we still need to resolve the issue of incorrect "probed" values.
Testing using VERDI_2.1.5_mac_20240124.tar.gz
./verdi.command -f $cwd/../CAMx.SIP_WF4_1_33kn2023OSATnoctrlv1.20170713.avrg.grd02.nc -s "O3[2]" -subDomain 40 60 60 80 -g tile
When I use the GUI and select
Stats> maximum_8hr_mean
Select Controls > Probe
I get the following error, and no values appear in the lower left corner of the GUI window.
2024.01.25 17:09:55.620 [AWT-EventQueue-0] ERROR anl.verdi.plot.gui.FastTilePlot - Invalid Range Exception in FastTilePlot.Probe
ucar.ma2.InvalidRangeException: first (-55) must be >= 0
at ucar.ma2.Range.
The probe now is looking for a value of (11,5) from the subdomain versus (1,1,51,64) from the larger domain, and VERDI throws the following error:
If I don't use the -subDomain option, but instead zoom into the same area from the GUI, then probing works.
./verdi.command -f $cwd/../CAMx.SIP_WF4_1_33kn2023OSATnoctrlv1.20170713.avrg.grd02.nc -s "O3[2]" -g tile
When I use the GUI and select
Stats> maximum_8hr_mean
Select Controls > Probe
Then it works, the correct value is available in the plot.
Re-tested VERDI_2.1.5_linux64_20240124.tar.gz on Atmos, the probed grid cell values were still shifted toward +1 north-eastward as previously described. I don't think we planned to resolve this issue in VERDI 2.1.5. We can discuss the details later.
In my testing, using VERDI 2.1.5 on atmos interactively, in probe mode, clicking on a grid cell results in the coordinates and value of the grid cell shifted by 1 north and east (diagonally). The data value is consistent with the coordinate displayed -- it just isn't the grid cell the user clicked on.
Re-tested VERDI_2.1.5_linux64_20240221.tar.gz on Atmos, found that the issue has resolved. The values were displayed correctly for the probed grid cells (with or without using the stats).
Also tried from the command line then use probe the grid cells, it also worked.
Describe the bug This issue was first reported on CMAS forum by a user under this link https://forum.cmascenter.org/t/bizarre-calculation-of-md8a-in-verdi/4186
To Reproduce Steps to reproduce the behavior:
Expected behavior VERDI can display the calculated maximum daily 8 hour averages (MD8A) correctly for CAMx output file.
Screenshots If applicable, add screenshots to help explain your problem. The screenshot below showed that there is a mismatch between the color in the grid cell (50,64) and the probed value at the lower left corner. the color map showed that the grid cell's value is between 0.048-0.057, but the probed value is 0.006