dtcenter / METdataio

https://metdataio.readthedocs.io/en/latest/index.html
Apache License 2.0
5 stars 3 forks source link

Bugfix 219 performance warning #233

Closed bikegeek closed 1 year ago

bikegeek commented 1 year ago

Pull Request Testing

Where $METDATAIO is path-to/METdataio

modified the $METDATAIO/METreformat/point_stat.yaml file:

output_dir: /d1/personal/mwin/bugfix_219_performance_warning/METdataio/METreformat
output_filename: no_xml_no_warning_point_stat_reformatted.txt
met_tool: point_stat
input_data_dir: /d1/personal/mwin/RRFS_performancewarning/from_Will/metplotpy/stage_point_stat_output

Run the command:

cd $METdataio/METreformat

python write_stat_ascii.py point_stat.yaml

verify that there is no PerformanceWarning to stdout

verify that the output is identical to the output generated from the previous version, which generated the PerformanceWarning.

original output: warning_point_stat_reformatted.txt

new output without XML spec file: no_xml_no_warn_point_stat_reformatted.txt e and no more warning:

diff of two files yields no differences.

Will Mayfield also tested on 'hera' and no longer observes the PerformanceWarning

Where $METDATAIO is path-to/METdataio

Modify the point_stat.yaml file:

no_xml_no_warn_point_stat_reformatted.txt

Pull Request Checklist

See the METplus Workflow for details.