dtcenter / METplus

Python scripting infrastructure for MET tools.
https://metplus.readthedocs.io
Apache License 2.0
97 stars 37 forks source link

Feature #2299 / #2310 Remove deprecated MET config env vars and TCMPRPlotter #2347

Closed georgemccabe closed 1 year ago

georgemccabe commented 1 year ago

Change Summary

Other Changes

Pull Request Testing

Ensured all tests pass

I think so

Pull Request Checklist

See the METplus Workflow for details.

jprestop commented 1 year ago

HI @georgemccabe. It sounds like you expected no differences, but the short_range:2-6 tests failed due to the following differences. Are they acceptable differences?

**************************************************
Summary:

ERROR: Some differences were found
Text diff
A:/data/truth/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V_dmap.txt
B:/data/output/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V_dmap.txt

Text diff
A:/data/truth/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_010000L_20190521_010000V_dmap.txt
B:/data/output/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_010000L_20190521_010000V_dmap.txt

Text diff
A:/data/truth/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_010000L_20190521_010000V.stat
B:/data/output/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_010000L_20190521_010000V.stat

Text diff
A:/data/truth/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V.stat
B:/data/output/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V.stat

Finished comparing directories
**************************************************
georgemccabe commented 1 year ago

@jprestop, thanks for pointing that out. That is weird, because the diff results were different when I tested before the PR so I changed the use case to produce the results that are showing diffs now. FYI, there is an expandable tab above the diff summary that you can click to see the full diff results or you can just search for ERROR in the log file (search bar is above the log window, don't use the browser search). Below is one of the diffs. I'll push a change to the use case conf to prevent this diff.

COMPARING short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V_dmap.txt file_A: /data/truth/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V_dmap.txt file_B: /data/output/short_range/GridStat_fcstFV3_obsGOES_BrightnessTempDmap/short_range/brightness_temperature/grid_stat/grid_stat_FV3_core_lsm1_020000L_20190521_020000V_dmap.txt

Using default rounding precision 6 Comparing text files Comparing stat files ERROR: Stat line differs A: V12.0.0 WRF NA 020000 20190521_020000 20190521_020000 000000 20190521_020000 20190521_020000 SBTA1613_topofatmosphere K top_of_atmosphere channel_13_brightness_temperature NA , ANALYS FULL NEAREST 1 <=235 <=235 NA NA DMAP 1701276 149369 151257 0.98752 60.47303 251.28669 8.00318 4.40839 4.40839 8.00318 6.20578 0.70706 0.7464 0.70706 0.7464 0.72673 4.12716 2.32976 2.32976 4.12716 3.22846 5853.38045 0.86142 1447170014088 B: V12.0.0 FCST NA 020000 20190521_020000 20190521_020000 000000 20190521_020000 20190521_020000 SBTA1613_topofatmosphere K top_of_atmosphere channel_13_brightness_temperature NA , OBS FULL NEAREST 1 <=235 <=235 NA NA DMAP 1701276 149369 151257 0.98752 60.47303 251.28669 8.00318 4.40839 4.40839 8.00318 6.20578 0.70706 0.7464 0.70706 0.7464 0.72673 4.12716 2.32976 2.32976 4.12716 3.22846 5853.38045 0.86142 1447170014088

Diff in MODEL: A: WRF B: FCST Diff in OBTYPE: A: ANALYS B: OBS

georgemccabe commented 1 year ago

@jprestop, on second though, WRF is not a good value to have here because the forecast data is not WRF. I think we can accept these diffs and update the truth data instead. What do you think?