Known Issues and Fixes for METv2.0

All Recommended Updates (Last Updated 12/23/2009)

Retrieve all of the recommended updates for METv2.0 in a tarfile:
  • Download the tarfile METv2.0_patches_20091223.tar.gz
  • Copy it into the top-level METv2.0 directory.
  • Uncompress and untar the file. Please note that the new version of the files in the tarball will overwrite the original version of those files. Any changes you may have made will be lost.
  • Rebuild MET, being sure perform a make clean first.

Summary of Recommended Updates

  • 12/23/2009:
    Please replace "METv2.0/lib/vx_cal/time_strings.cc" with the contents of this version: time_strings.cc
  • 08/05/2009:
    Please replace "METv2.0/lib/vx_cal/time_strings.cc" with the contents of this version: time_strings.cc
    Please replace "METv2.0/lib/vx_met_util/met_stats.cc" with the contents of this version: met_stats.cc
    Please replace "METv2.0/lib/vx_met_util/compute_ci.cc" with the contents of this version: compute_ci.cc
    Please replace "METv2.0/apps/grid_stat/grid_stat.cc" with the contents of this version: grid_stat.cc
    Please replace "METv2.0/lib/vx_met_util/apply_mask.cc" with the contents of this version: apply_mask.cc
  • 07/01/2009: Please replace "METv2.0/lib/vx_util/string_fxns.cc" with the contents of this version: string_fxns.cc
  • 05/27/2009: Users compiling BUFRLIB with the GNU gfortran compiler should replace "BUFRLIB/nvnwin.f" with the contents of this version: nvnwin.f
  • 05/07/2009: Please replace "METv2.0/lib/vx_met_util/met_stats.cc" with the contents of this version: met_stats.cc
  • 05/05/2009: Please replace "METv2.0/grid_stat/grid_stat_conf_info.cc" with the contents of this version: grid_stat_conf_info.cc
  • 04/29/2009: Please replace "METv2.0/lib/vx_met_util/read_grib.cc" with the contents of this version: read_grib.cc
  • 04/21/2009: Please replace "METv2.0/src/point_stat/point_stat.cc" with the contents of this version: point_stat.cc
  • 04/16/2009: Please replace "METv2.0/doc/MET_Users_Guide.pdf" with the contents of this version: MET_Users_Guide.pdf

External Libraries

Problems building GSL-1.12 with PGI
Posted 07/29/2009

Problem: GSL-1.12 doesn't build correctly with the PGI compilers.
Solution: A bug report has been submitted to the GSL development team. In the meantime, PGI users should build GSL-1.11 which is also compatible with MET.

Documentation

Updates to the MET Users Guide
Posted 04/16/2009

Problem: The MET Users Guide contains errors in some of the equations in Appendix C and and lacks a description of the wind direction output of the Stat-Analysis tool.
Solution: The MET Users Guide has been edited with these changes and included in the METv2.0 tar file. The revised version has also been posted to MET Documentation page or may be retrieved directly here: MET_Users_Guide.pdf

Point-Stat Tool

Bug when setting the OBS_VAR output column.
Posted 04/21/2009

Problem: The contents of the OBS_VAR output column is not being reset correctly for the UGRD and VGRD variables after computing VL1L2 vector partial sums.
Solution: The fix is updating the point_stat.cc source file. Please replace the file "METv2.0/src/point_stat/point_stat.cc" with the contents of point_stat.cc and rebuild MET.

Grid-Stat Tool

Bug when computing vector partial sums (VL1L2 lines)
Posted 05/05/2009

Problem: The fcst_wind_thresh list of threshold is not being parsed from the configuration file correctly, resulting in the computation of no VL1L2 lines.
Solution: The fix is updating the grid_stat_conf_info.cc source file. Please replace the file "METv2.0/src/grid_stat/grid_stat_conf_info.cc" with the contents of grid_stat_conf_info.cc and rebuild MET.

Bug in handling the output flag values
Posted 10/22/2009

Problem: The output_flag values were not being handled correctly for the neighborhood statistics output line types. The code was checking the value for NBRCNT when it should have been checking those for NBRCTS and NBRCTC.
Solution: The fix is updating the grid_stat.cc source file. Please replace the file "METv2.0/src/grid_stat/grid_stat.cc" with the contents of grid_stat.cc and rebuild MET.

STAT-Analysis Tool

Bug when specifying forecast lead times >= 100 hours.
Posted 12/23/2009

Problem: When specifying a forecast lead time >=100 hours for the STAT-Analysis and MODE-Analysis, the tools fail to correctly parse the values and error out.
Solution: The fix is to enhance the library code which parses the forecast lead times.
Please replace the file "METv2.0/lib/vx_cal/time_strings.cc" with the contents of time_strings.cc and rebuild MET.

STAT-Analysis tool is producing nan values.
Posted 08/05/2009, Updated 10/22/2009

Problem: A user found that for a particular set of data, the STAT-Analysis tool was writing out nan values instead of NA.
Solution: The fix is to add more error checking to the library code that computes continuous statistics.
Please replace the file "METv2.0/lib/vx_met_util/met_stats.cc" with the contents of met_stats.cc. Also replace the file "METv2.0/lib/vx_met_util/compute_ci.cc" with the contents of compute_ci.cc and rebuild MET.
Update: Additional error checking to prevent square roots of negative numbers.

MET Libraries

Bug when verifiying over the FULL domain.
Posted 08/05/2009

Problem: When verifying over the FULL domain on Lambert Conformal grids, some grid points along the boundary are unintentionally excluded due to roundoff error.
Solution: The fix is to skip the masking step altogether when verifying over the FULL domain. Please replace the file "METv2.0/lib/vx_met_util/apply_mask.cc" with the contents of apply_mask.cc and rebuild MET.

Memory leak when checking regular expressions.
Posted 07/01/2009

Problem: When checking to see if strings match regular expressions, the library routine fails to calling the free function, leading to a memory leak. This memory leak showed up when a user ran about 300,000+ observations through the ASCII2NC tool and ran out of memory.
Solution: The fix is updating the string_fxns.cc source file. Please replace the file "METv2.0/lib/vx_util/string_fxns.cc" with the contents of string_fxns.cc and rebuild MET.

Bug in BUFRLIB for the GNU gfortran compiler
Posted 05/27/2009

Problem: When compiling the external BUFRLIB library using the GNU gfortran compiler, there is a bug in one of the files that will lead to a compilation failure in MET. Users of gfortran should expect to see two warning messages when compiling BUFRLIB from the files nemock.f and stndrd.f. These warning messages cause no problems for MET. However, a third file, nvnwin.f, produces a compilation error in BUFRLIB which leads to a compilation failure in MET.
Solution: The fix is updating the BUFRLIB nvnwin.f source file. Please replace the file "BUFRLIB/nvnwin.f" with the contents of nvnwin.f, rebuild BUFRLIB, and rebuild MET.

Bug when computing continuous statistics from SL1L2 partial sums.
Posted 05/07/2009

Problem: The library code that computes continuous statistics from SL1L2 partial sums contains a bug. Specifically, the computation of the observation standard deviation and it's normal confidence limits is incorrect.
Solution: The fix is updating the met_stats.cc source file. Please replace the file "METv2.0/lib/vx_met_util/met_stats.cc" with the contents of met_stats.cc and rebuild MET.

Bug when parsing the model initialization time from GRIB files.
Posted 04/29/2009

Problem: The library code that parses the model initialization time from GRIB files incorrectly assumes all years to be in the 21st centurty rather than using the century information for the GRIB record.
Solution: The fix is updating the read_grib.cc source file. Please replace the file "METv2.0/lib/vx_met_util/read_grib.cc" with the contents of read_grib.cc and rebuild MET.